So here's what I'm thinking of: I want to implement a skill called "Subjugate". This skill is an ability exclusively held by enemies in my game, which will decrease defense of the player.
Now here's the kicker: the big twist of this skill is that depending on how many enemies are in the troop the player is facing, more debuffs can be added, or the effects of already applied debuffs can be made worse.
What I had originally thought was to simply have the skill call a common event, use a script to count how many enemies are in the troop, then apply the debuff to all characters in the player's party depending on the conditions. I got through the first two steps just fine, but applying the debuff has proven difficult.
I first tried a script call to target the party, but I only got errors.
Is there something I'm missing? Am I going about this all wrong? Is there a different way to implement it? Any help would be greatly appreciated!
Now here's the kicker: the big twist of this skill is that depending on how many enemies are in the troop the player is facing, more debuffs can be added, or the effects of already applied debuffs can be made worse.
What I had originally thought was to simply have the skill call a common event, use a script to count how many enemies are in the troop, then apply the debuff to all characters in the player's party depending on the conditions. I got through the first two steps just fine, but applying the debuff has proven difficult.
I first tried a script call to target the party, but I only got errors.
Is there something I'm missing? Am I going about this all wrong? Is there a different way to implement it? Any help would be greatly appreciated!