Hello!
Would someone be able to help me create a passive skill tag (using Yanflys Buffs and States Core) that I can use to get the ID of the last used skill?
www.yanfly.moe
I actually have gotten a bit of help with this a while back, and was given the following Custom Confirm Effect tag to use as a passive status effect.
<Custom Confirm Effect>
if (user.currentAction() && user.currentAction().isSkill()) {
user._lastSkillUsed = user.currentAction().item().id;
}
</Custom Confirm Effect>
The thing is, I still don't really understand how to get the skill I'd value into a variable. Im guessing it's as easy as placing something in the script box of a control variable, but I haven't had any luck figuring it out.
Alternativly, if there's an easier way to do this, such as through a script call of some sort, please let me know.
Would someone be able to help me create a passive skill tag (using Yanflys Buffs and States Core) that I can use to get the ID of the last used skill?
Buffs & States Core (YEP) - Yanfly.moe Wiki
I actually have gotten a bit of help with this a while back, and was given the following Custom Confirm Effect tag to use as a passive status effect.
<Custom Confirm Effect>
if (user.currentAction() && user.currentAction().isSkill()) {
user._lastSkillUsed = user.currentAction().item().id;
}
</Custom Confirm Effect>
The thing is, I still don't really understand how to get the skill I'd value into a variable. Im guessing it's as easy as placing something in the script box of a control variable, but I haven't had any luck figuring it out.
Alternativly, if there's an easier way to do this, such as through a script call of some sort, please let me know.