State transformation when inflicted onto enemy? (depending on actor)

Let's say all four of my actors can normal-attack, and the Attack skill is set to inflict a special state. Is there a way for that set state to transform into a more specific state depending on the actor using the skill?

Like for example, both Ralph and Eric can use the Attack skill that adds the state "Bonus" to the target (State ID 50). However when the state gets inflicted, it changes into "Bonus: Ralph" (State ID 51) or "Bonus: Eric" (State ID 52) depending on who performed the Attack skill.

If there's a simpler method, please enlighten me. However I cannot make use of the damage formula for this feat because this needs to be done for like every skill, and they use enough characters in the formulas already, and multiple actor checks via damage formula would be too messy.
You can minimize the space needed on the damage formula via turning them into methods and simply make the method call using the battle formula

Example:

Code:
class Game_Battler  def actor_bonus(target)    return if not self.actor?    if self.actor.id == 1      target.add_state(state_id)    elsif self.actor.id == 2    #and so on    end  end  end
then on damage formula just do
Code:
a.actor_bonus(;damage_formula
Ahh, I see. That's pretty genius and easy to manage. This only leaves me with one more issue to overcome now. I guess it's alright to remain in this same thread instead of making more today in such a short time.

If no actors have any kind of TGR mutation via features, then i'm looking to have enemies check to target specific actors if they have these "transformed" states. There will never be a case of multiple states though, because they will be set to overwrite each other. (The checks would probably be a case statement, or if/else nests)

If there are TGR mutations then it will use the normal "Random Selection of Target" instead.

If I am correct this would modify around line 62 of Game_Unit, "Random Selection of Target"

Original thread: https://forums.rpgmakerweb.com/threads/state-transformation-when-inflicted-onto-enemy-depending-on-actor.25930/