.FLAGS
conditional 1
hidden 0
.OBJECTS
OBJECT DLC1RevertEffectScript : ActiveMagicEffect {0}
VARS
globalvariable ::pDLC1nVampireRingErudite_var = null {0}
dlc1playervampirechangescript ::DLC1PlayerVampireQuest_var = null {0}
globalvariable ::pDLC1nVampireNecklaceGargoyle_var = null {0}
globalvariable ::pDLC1nVampireRingBeast_var = null {0}
spell ::DLC1RevertForm_var = null {0}
globalvariable ::pDLC1nVampireNecklaceBats_var = null {0}
ENDVARS
PROPS
PROP globalvariable pDLC1nVampireNecklaceGargoyle rw {0}
AUTOVAR ::pDLC1nVampireNecklaceGargoyle_var
ENDPROP
PROP globalvariable pDLC1nVampireRingBeast rw {0}
AUTOVAR ::pDLC1nVampireRingBeast_var
ENDPROP
PROP spell DLC1RevertForm rw {0}
AUTOVAR ::DLC1RevertForm_var
ENDPROP
PROP globalvariable pDLC1nVampireRingErudite rw {0}
AUTOVAR ::pDLC1nVampireRingErudite_var
ENDPROP
PROP globalvariable pDLC1nVampireNecklaceBats rw {0}
AUTOVAR ::pDLC1nVampireNecklaceBats_var
ENDPROP
PROP dlc1playervampirechangescript DLC1PlayerVampireQuest rw {0}
AUTOVAR ::DLC1PlayerVampireQuest_var
ENDPROP
ENDPROPS
STATES
STATE DEFAULT
None FUNCTION OnMagicEffectStart() {0}
FLAGS 0
VARS
actor ::temp0
Bool ::temp1
Float ::temp2
None ::NoneVar
ENDVARS
callstatic game, GetPlayer, ::temp0
callmethod RemoveSpell, ::temp0, ::temp1, ::DLC1RevertForm_var
cast ::temp2, 0
callmethod setValue, ::pDLC1nVampireNecklaceBats_var, ::NoneVar, ::temp2
cast ::temp2, 0
callmethod setValue, ::pDLC1nVampireNecklaceGargoyle_var, ::NoneVar, ::temp2
cast ::temp2, 0
callmethod setValue, ::pDLC1nVampireRingBeast_var, ::NoneVar, ::temp2
cast ::temp2, 0
callmethod setValue, ::pDLC1nVampireRingErudite_var, ::NoneVar, ::temp2
callstatic game, GetPlayer, ::temp0
callmethod IsInKillMove, ::temp0, ::temp1
not ::temp1, ::temp1
jmpf ::temp1, 3
callmethod Revert, ::DLC1PlayerVampireQuest_var, ::NoneVar
jmp 1
ENDFUNCTION
String FUNCTION GetState() {0}
@doc Function that returns the current state
FLAGS 0
return ::State
ENDFUNCTION
None FUNCTION GotoState(String newState) {0}
@doc Function that switches this object to the specified state
FLAGS 0
VARS
None ::NoneVar
ENDVARS
callmethod onEndState, self, ::NoneVar
assign ::State, newState
callmethod onBeginState, self, ::NoneVar
ENDFUNCTION
ENDSTATE
ENDSTATES
ENDOBJECT