I'm using Yanflys BuffsStatesCore and want to make a State be removed by a specific amount of damage.
So if my actor takes 500 points of damage than state drops off.
This is what I was trying out in the state note box with no luck:
Could someone please help me with the proper syntax.
Thanks.
So if my actor takes 500 points of damage than state drops off.
This is what I was trying out in the state note box with no luck:
Code:
<Custom Respond Effect>
user.hp - 500;
</Custom Respond Effect>
<Custom Establish Effect>
user.removeState(69);
</Custom Establish Effect>
Could someone please help me with the proper syntax.
Thanks.