I need a simple script command (for a common event) that checks if an enemy is hit by a (specific) attack.
Any help would be appreciated.
this is what I have been trying to work with: $gameTroop.members()[$gameTemp.lastActionData(5)].result().isHit()
I do believe this is incorrect, but I can't find much other information on this. But it has been about 6 hours now and no luck.
(sorry if I posted this in the wrong area, I tried not to)
What I want is for an attack to recover a set amount of MP for the attacker when the enemy his successfully hit by the attack.
** I know I post a lot, I try and space things out as best I can but this is by far the best place to go, so have this ducky:
Any help would be appreciated.
this is what I have been trying to work with: $gameTroop.members()[$gameTemp.lastActionData(5)].result().isHit()
I do believe this is incorrect, but I can't find much other information on this. But it has been about 6 hours now and no luck.
(sorry if I posted this in the wrong area, I tried not to)
What I want is for an attack to recover a set amount of MP for the attacker when the enemy his successfully hit by the attack.
** I know I post a lot, I try and space things out as best I can but this is by far the best place to go, so have this ducky: