- Joined
- Jan 6, 2023
- Messages
- 12
- Reaction score
- 1
- First Language
- English
- Primarily Uses
- RMMV
Hello, I want to make an enemy wizard that needs to chant before casting a spell. I want the chant to apply a state of chanting that makes that wizard take more damage/more vulnerable, but they can then cast a spell the next turn, then they lose the status effect. I'm using Yanfly's AI battlecore, and I had it setup as:
State === State 50 (Chanting) +++ Troop Alive Members === 2 +++ State !== State 52 (Rage) +++ Random 30%: Skill 106 (Rage spell)
BUT I realized that for attack spells, the State === State 50 (Chanting) won't work since it checks the target of the skill for that status effect, not the wizard casting that skill. Is their a way I can set it up the way I want to? Also the () in my example is just to provide more info, it's not how I have it normally set up.
Action order
Turn 1
-Start chanting (Gained chanting status effect)
Turn 2
-Cast a spell out of the couple spells they know depending on the situation (Lose chanting status effect after casting)
State === State 50 (Chanting) +++ Troop Alive Members === 2 +++ State !== State 52 (Rage) +++ Random 30%: Skill 106 (Rage spell)
BUT I realized that for attack spells, the State === State 50 (Chanting) won't work since it checks the target of the skill for that status effect, not the wizard casting that skill. Is their a way I can set it up the way I want to? Also the () in my example is just to provide more info, it's not how I have it normally set up.
Action order
Turn 1
-Start chanting (Gained chanting status effect)
Turn 2
-Cast a spell out of the couple spells they know depending on the situation (Lose chanting status effect after casting)