- Joined
- Dec 15, 2016
- Messages
- 39
- Reaction score
- 4
- First Language
- English (US)
- Primarily Uses
- RMMV
I'm trying to make a state where a character goes into a trance and starts casting the same buffing skill every turn. The catch is that the "Auto Battle" special flag won't use a skill unless it 1) targets enemies AND 2) causes damage.
I can get everything to work except for casting the skill on allies while auto battling. I have a "Battle Chant" skill which buffs & heals all allies & places the user in a "Chanting" state; I have a duplicate of "Battle Chant" called "Chanting" that costs nothing & isn't classified; and I have the aforementioned "Chanting" state which grants the actor the "Chanting" skill, disables all other skills, & engages "Auto Battle". I can get the state to cast the "Chanting" skill if I set the skill to target enemies & cause at least 1 damage, but I can't get it to work when the skill targets allies.
And yes, I did try setting the database to target "1 Enemy" while using Yanfy's Target Core to target all allies. It acted the same as if I set it to target allies in the database.
What I really need is someone who knows their way around Lunatic Mode to show me how to accomplish this, if it is even possible. By that I mean that I need some Lunatic Mode code that will force the actor to use a specific skill every turn; that shouldn't be too hard, seeing as how something like it can be accomplished using a regular event command.
Let me know if you need any more details.
I can get everything to work except for casting the skill on allies while auto battling. I have a "Battle Chant" skill which buffs & heals all allies & places the user in a "Chanting" state; I have a duplicate of "Battle Chant" called "Chanting" that costs nothing & isn't classified; and I have the aforementioned "Chanting" state which grants the actor the "Chanting" skill, disables all other skills, & engages "Auto Battle". I can get the state to cast the "Chanting" skill if I set the skill to target enemies & cause at least 1 damage, but I can't get it to work when the skill targets allies.
And yes, I did try setting the database to target "1 Enemy" while using Yanfy's Target Core to target all allies. It acted the same as if I set it to target allies in the database.
What I really need is someone who knows their way around Lunatic Mode to show me how to accomplish this, if it is even possible. By that I mean that I need some Lunatic Mode code that will force the actor to use a specific skill every turn; that shouldn't be too hard, seeing as how something like it can be accomplished using a regular event command.
Let me know if you need any more details.
