I'm attempting to have a "Judo Toss" attack for one of the enemies (and possibly an actor you can gain too).
What I want to do with this script is: The character using the ability gets into a defensive stance, their defence and agility increased.
After receiving/dodging the next physical enemy attack, they counter said enemy and inflict damage equal to or greater than the attack--it doesn't matter how much damage they actually do to the countering-character, it would be dependant on how much Attack Power there was in the attack (so if the enemy had high attack but low defence and hit points, they'd be pretty had-it...).
You can't make any action while in the Judo Toss state, but it only lasts for 1 (or 2) turns. The state ends when 1 (or 2) turns pass, or when you counter an enemy--whichever comes first.
I tried to do this with a common event which changes the character's state.... but I hit some snags. The main one is that I can't work out how to have the character counter their attacker specifically... even if I could, I don't know how to restrict the counter to physical attacks.
Can someone please help me make this skill?
Thanks to anyone who helps me with this. I'll give credit appropriately.
What I want to do with this script is: The character using the ability gets into a defensive stance, their defence and agility increased.
After receiving/dodging the next physical enemy attack, they counter said enemy and inflict damage equal to or greater than the attack--it doesn't matter how much damage they actually do to the countering-character, it would be dependant on how much Attack Power there was in the attack (so if the enemy had high attack but low defence and hit points, they'd be pretty had-it...).
You can't make any action while in the Judo Toss state, but it only lasts for 1 (or 2) turns. The state ends when 1 (or 2) turns pass, or when you counter an enemy--whichever comes first.
I tried to do this with a common event which changes the character's state.... but I hit some snags. The main one is that I can't work out how to have the character counter their attacker specifically... even if I could, I don't know how to restrict the counter to physical attacks.
Can someone please help me make this skill?
Thanks to anyone who helps me with this. I'll give credit appropriately.