Hi there, I am making a battle which has two enemies, one is a damage dealer, another one is a buff-er. I want the buff-er only cast spell on the damage dealer but he only cast spell on himself. So...what should I do? I used one of the bigfix snippets but the buff-er will randomize the target. Thanks in advance!
Enemy casting spell on a certain companion?
RPG Maker VXAce SupportIs the scope of the skill that the enemy uses set to 'self'?
That would cause it to only use the skill on itself.
Does it use the skill on itself most of the time,
but sometimes does the buff skill to the other enemy?
That would cause it to only use the skill on itself.
Does it use the skill on itself most of the time,
but sometimes does the buff skill to the other enemy?
You'll need a script to make the enemy only target the other enemy. I believe Yanfly has a target manager that will let you set a skill to affect all enemies but the caster. This will do what you want since there is only one other enemy, though do remember it will affect all other enemies if you use the skill again for another battle.
I will try it on, thanks for the reply guys!
Original thread: https://forums.rpgmakerweb.com/threads/enemy-casting-spell-on-a-certain-companion.61103/