10-18-2014, 07:53 PM
How are you using it? I made a skill that had a common event that increments Variable 1 and it works fine. What Event Variable are you using for your ammo? The code is set up for $game_variables[1] or Event Variable 1. If your ammo is a different one, you need to change it.
Otherwise, you''ll have to upload your project because it is working for me.
EDIT: here, try replacing your update_phase4_step6 with this. This is the part of the code that does common event things so it should make the Ammo count update exactly when it is changed.
Otherwise, you''ll have to upload your project because it is working for me.
EDIT: here, try replacing your update_phase4_step6 with this. This is the part of the code that does common event things so it should make the Ammo count update exactly when it is changed.
Code:
#--------------------------------------------------------------------------
# * Frame Update (main phase step 6 : refresh)
#--------------------------------------------------------------------------
def update_phase4_step6
# Clear battler being forced into action
$game_temp.forcing_battler = nil
# If common event ID is valid
if @common_event_id > 0
# Set up event
common_event = $data_common_events[@common_event_id]
$game_system.battle_interpreter.setup(common_event.list, 0)
end
@yourhud.update
# Shift to step 1
@phase4_step = 1
end