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...?

![[Image: QrnbKlx.jpg]](https://i.imgur.com/QrnbKlx.jpg)
![[Image: sGz1ErF.png]](https://i.imgur.com/sGz1ErF.png)
![[Image: liM4ikn.png]](https://i.imgur.com/liM4ikn.png)
![[Image: fdzKgZA.png]](https://i.imgur.com/fdzKgZA.png)
![[Image: sj0H81z.png]](https://i.imgur.com/sj0H81z.png)
![[Image: QL7oRau.png]](https://i.imgur.com/QL7oRau.png)
![[Image: uSqjY09.png]](https://i.imgur.com/uSqjY09.png)
![[Image: GAA3qE9.png]](https://i.imgur.com/GAA3qE9.png)
![[Image: 2Hmnx1G.png]](https://i.imgur.com/2Hmnx1G.png)
![[Image: BwtNdKw.png%5B]](https://i.imgur.com/BwtNdKw.png%5B)