I'm trying to use Yanfly's Extra Enemy Drops to make an effect where the following happens:
An actor can get buffed by some state. When the actor has this state, an enemy can be killed and they will drop an item that they normally wouldn't drop. They only drop this item when killed by an actor who currently has this state.
Yanfly's plugin has an Eval code available but in the eval, "user" refers to the enemy so I can't do this:
Eval user.isStateAffected(50): +100%
because this checks if the enemy has the state, not the actor who is killing the enemy.
Anyone have any idea how I can get this to work? Thanks!
An actor can get buffed by some state. When the actor has this state, an enemy can be killed and they will drop an item that they normally wouldn't drop. They only drop this item when killed by an actor who currently has this state.
Yanfly's plugin has an Eval code available but in the eval, "user" refers to the enemy so I can't do this:
Eval user.isStateAffected(50): +100%
because this checks if the enemy has the state, not the actor who is killing the enemy.
Anyone have any idea how I can get this to work? Thanks!