Weapon Procs (process in effect) Yanfly Buffs and Stats Core

Resource Type: (Notetag, plugin)

Maker Format: (MV)

Art Style: (NA)

Description: (Implementing certain weapons that have percental chance to trigger direct damage onto their target. Using Attack>Attack State. Trying to find a way to have a state resolve upon initial weapon damage, then remove itself from the target.

I am using Yanfly's Buffs and Stats Core, along with the following notetag in the State:

<Custom Apply Effect>

target.gainHp(-20);

target.startAnimation(43);

if (target.isDead()) {

target.performCollapse();

}

</Custom Apply Effect>



The State is working how I would like, except:

[1] My weapon damage is being dealt, but does not pop-up, only the State's damage does;

[2] I would like to find a way to remove the state after damage is dealt. Right now I am just not assigning an icon and allowing the state to autoremove at the end of battle.)

Reference Images: (NA)



Regards,

GEA
Figure it out:

<Custom Apply Effect>

target.startDamagePopup()

target.gainHp(-20);

target.startAnimation(43);

if (target.isDead()) {

target.performCollapse();

}

</Custom Apply Effect>




Close if you like. TY
In the future, Plugin related requests should either go in Plugin Requests or Plugin Support.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/weapon-procs-process-in-effect-yanfly-buffs-and-stats-core.83204/