05-12-2016, 03:22 AM
That line is old_sp = @battler_sp_dmg[counter]
Now, the value of 'counter' is defaulted immediately to the value of '0', so it's not that. So it would have to be the @battler_sp_dmg array, which was defined and repeatedly reset in the set_target_battlers method just before it goes through all your targets to get their SP values.
That makes me curious if you have something that is preventing the @battler_sp_dmg array from getting the target(s) SP values.
A little bit more info may be needed... What happened in battle... what battlesystem if any... what is the air speed velocity of a pair of canaries carrying a coconut between them...?
Now, the value of 'counter' is defaulted immediately to the value of '0', so it's not that. So it would have to be the @battler_sp_dmg array, which was defined and repeatedly reset in the set_target_battlers method just before it goes through all your targets to get their SP values.
That makes me curious if you have something that is preventing the @battler_sp_dmg array from getting the target(s) SP values.
A little bit more info may be needed... What happened in battle... what battlesystem if any... what is the air speed velocity of a pair of canaries carrying a coconut between them...?