- Joined
- Oct 13, 2015
- Messages
- 151
- Reaction score
- 38
- First Language
- English
- Primarily Uses
So I'm setting up a steal event that will steal gold from an enemy if they are humanoid.
It's done by calling a common event from a steal skill.
My initial try at this was to create a state called "IsHuman" that the enemy would cast on itself at turn 0 in combat, so any humanoid in the battle is immediately tagged.
Then in the conditional branch I have: if "enemy #1" is in state "IsHuman" then keep going with the conditional branch, if not - text output "This enemy is not humanoid"
This works perfectly, except that it obviously only works when there is only 1 enemy on the screen, and it is not directly checking if the enemy targeted by the skill has the state "IsHuman"
only that enemy #1 has that state.
So do any of you know a way to do this?
It's done by calling a common event from a steal skill.
My initial try at this was to create a state called "IsHuman" that the enemy would cast on itself at turn 0 in combat, so any humanoid in the battle is immediately tagged.
Then in the conditional branch I have: if "enemy #1" is in state "IsHuman" then keep going with the conditional branch, if not - text output "This enemy is not humanoid"
This works perfectly, except that it obviously only works when there is only 1 enemy on the screen, and it is not directly checking if the enemy targeted by the skill has the state "IsHuman"
only that enemy #1 has that state.
So do any of you know a way to do this?
