Hello everyone
Currently, I'm trying to recreate the Hexdrinker effect from League of Legends, using Yanfly's plugins.
This is my current code inside of a state:
<Custom React Effect>
if (target.hp / target.mhp <= 0.25) {
target.gainBarrier(100 + (20 * target.level), 5)
AudioManager.playSe({name:'Reflection', volume:100, pitch:100, pan:0});
}
</Custom React Effect>
I'm using Yanfly's AutoPassiveStates Plugin to automatically assign the state onto a player.
The problem I now have is, that it won't stop generating shields, when the conditions are met.
is there a way to generate a cooldown of 6 rounds or something?
Thanks in advance
Goldschuss
Currently, I'm trying to recreate the Hexdrinker effect from League of Legends, using Yanfly's plugins.
This is my current code inside of a state:
<Custom React Effect>
if (target.hp / target.mhp <= 0.25) {
target.gainBarrier(100 + (20 * target.level), 5)
AudioManager.playSe({name:'Reflection', volume:100, pitch:100, pan:0});
}
</Custom React Effect>
I'm using Yanfly's AutoPassiveStates Plugin to automatically assign the state onto a player.
The problem I now have is, that it won't stop generating shields, when the conditions are met.
is there a way to generate a cooldown of 6 rounds or something?
Thanks in advance
Goldschuss