Hello.
I know it is simple. I know alot of you may laugh on me cos I am totally newbie in this area, but I will appreciate any help.
I am using Yanfly Buffs & States Core ( http://yanfly.moe/2015/12/25/yep-50-buffs-states-core/ )
Imagine game system when BUFF you got, will switch to DEBUFF after expired. So you had nice high agility? Now it faded and you are tired, so you got DEBUFF.
Via this yanfly plugin it is easy, I know.
<Custom Remove Effect>
$gameActors.actor(actorId).addState(n);
$gameTroop.members()[enemyIndex].addState(n);
</Custom Remove Effect>
n - is ID of debuff.
$ - not sure if this prefix should or should not be present but I can test it and see.
actorId/enemyIndex - not sure how I should deal with it. I want use "self" here 🙂 instead of ID, which I dont know.
Also, it should work same way for Troops and Party members as well.
If you can point me at tutorial, where I can understand this logic. I have some programming experience but it is almost medieval - i was programming 25 yrs back on Borland C++ for DOS.
Thank you very much for any response. I hope I put it into right thread.
I know it is simple. I know alot of you may laugh on me cos I am totally newbie in this area, but I will appreciate any help.
I am using Yanfly Buffs & States Core ( http://yanfly.moe/2015/12/25/yep-50-buffs-states-core/ )
Imagine game system when BUFF you got, will switch to DEBUFF after expired. So you had nice high agility? Now it faded and you are tired, so you got DEBUFF.
Via this yanfly plugin it is easy, I know.
<Custom Remove Effect>
$gameActors.actor(actorId).addState(n);
$gameTroop.members()[enemyIndex].addState(n);
</Custom Remove Effect>
n - is ID of debuff.
$ - not sure if this prefix should or should not be present but I can test it and see.
actorId/enemyIndex - not sure how I should deal with it. I want use "self" here 🙂 instead of ID, which I dont know.
Also, it should work same way for Troops and Party members as well.
If you can point me at tutorial, where I can understand this logic. I have some programming experience but it is almost medieval - i was programming 25 yrs back on Borland C++ for DOS.
Thank you very much for any response. I hope I put it into right thread.