Hi All,
I am currently making a regenerate state using yanflys buffs and states core. This is what I've got so far:
<Custom Regenerate Effect>
var m = $gameActors.actor(person affected by state)
var d = Math.round(0.1*m.mhp)
var KO = false
Game_Interpreter.prototype.changeHp.call(this, m, d, KO);
</Custom Regenerate Effect>
It works how I would like it to if I specify which actor to use in the text in red. But what I need help with is what do i put there so it chooses just the actor that has this particular state.
I would imagine it would be something like: $gameActors.actor(this.Actor) or $gameActors.actor(target)
Hopefully someone here can help me get on the right track.
As always thanks in advance for any help.
I am currently making a regenerate state using yanflys buffs and states core. This is what I've got so far:
<Custom Regenerate Effect>
var m = $gameActors.actor(person affected by state)
var d = Math.round(0.1*m.mhp)
var KO = false
Game_Interpreter.prototype.changeHp.call(this, m, d, KO);
</Custom Regenerate Effect>
It works how I would like it to if I specify which actor to use in the text in red. But what I need help with is what do i put there so it chooses just the actor that has this particular state.
I would imagine it would be something like: $gameActors.actor(this.Actor) or $gameActors.actor(target)
Hopefully someone here can help me get on the right track.
As always thanks in advance for any help.