I have been playing with yanfly's critical hit effect : http://www.yanfly.moe/wiki/Critical_Hit_Effects_(MV_Plugin_Tips_&_Tricks)
I managed to get it to work as shown, ( you just have to add the right header as it got chopped off in copy/ paste)
however I only want it to trigger if an actor has learned a certain skill,
so i added a little bit on the end of the line :
if (this.isPhysical() && target.result().hpDamage > 0 && target.result().critical && user.hasSkill(176)) {
and now it is not working at all.
is there a resource that i can read up on what code i should put and where?
thank you in advance
I managed to get it to work as shown, ( you just have to add the right header as it got chopped off in copy/ paste)
however I only want it to trigger if an actor has learned a certain skill,
so i added a little bit on the end of the line :
if (this.isPhysical() && target.result().hpDamage > 0 && target.result().critical && user.hasSkill(176)) {
and now it is not working at all.
is there a resource that i can read up on what code i should put and where?
thank you in advance