Thanks for the explanation. Makes sense to me now.
Tried your code, couldn't get it to work. Have tried changing it a lot, simplifying it to the most basic stuff, but it doesn't work. Can't even get this to work:
INIT
CHARACTER:__Me
EVENT StatusCleanse
VARS
FLOAT:_DMG
CHARACTER:_Char
ON
OnDamage(__Me,_DMG,_Char,_)
ACTIONS
IF "!c1"
IsEqual(_DMG, 0)
THEN
IF "c1"
CharacterHasStatus(__Me, CHILLED)
THEN
CharacterRemoveStatus(__Me, CHILLED)
CharacterApplyStatus(_Char, CHILLED, 2, 1)
ENDIF
ENDIF
I don't know if I'm just hooking into the player script wrong? I added
#INCLUDE LeaderCleanse // Leader Cleanse skill
and
USING LeaderCleanse
to your Player_StateManager script. Is there something else I need to do to get the code to start working?
Thanks a bunch! Really want to get this skill working for the next version of Scales. And whatever LaelaStates are going to be :P