There are plugins that allow items to target allies or enemies at the same time, but I need a different effect based on the enemy targeted. When targetting an enemy, I want it to apply a state. When targetting an ally, I want it to draw MP and replace itself with a different item.
MV Different Effects based on target
JS Plugin Requestsyou could use yanfly's action sequences or the skill core for it
So clarifying here - this is an item and when it targets an enemy it shouldnt do damage but should only add a state.
When it targets an actor, it should give a separate state but also drain (or reduce?) their mp, and give another item to the player?
The item would add the "soul trap" state when used on an enemy and simply draw MP and add a different item when used on an actor.
then try this. you'd need action sequences pack 1.
if the target i an enemy, it should add state x to the target. if theyre an actor it should draw mp from them and give the party 1 of item y.
if the target i an enemy, it should add state x to the target. if theyre an actor it should draw mp from them and give the party 1 of item y.
Code:
<target>
action animation
if target.isEnemy()
add state x: target
else
mp -30: target
mp +30: user
gain item y: 1
end
</target>
Original thread: https://forums.rpgmakerweb.com/threads/different-effects-based-on-target.182421/