The RPG Maker Resource Kit

Other Game Creation => Program Troubleshooting => Topic started by: Iari on October 04, 2009, 05:24:44 PM

Title: Enemy spell targets
Post by: Iari on October 04, 2009, 05:24:44 PM
In my game, there is one boss that cannot be harmed until you kill the other enemies in the combat.  While you're fighting those guys, the boss is supposed to cast buffs on its allies.  However, it sometimes targets itself, which would make no sense for it to do (in-game).  Is there any way I can make the boss only target its allies?
Title: Re: Enemy spell targets
Post by: crow5757 on February 19, 2011, 01:31:00 PM
well, i'm not sure right now, but i can think of 2 possible ways that i will work on.
1. use 'all allies' option, eventhough it casts on him, it gets cast on the entire troop.
2. use events in the troop script. e.g. force action and PUT IN condition:
turn 1 + 3          or something like that.