[@װЧ]
{
#ACT
;ȡװ8Զ֮͡
GetAllCustomItemValue 8 N$Ѫֵ N$Ѫٷֱ
;ȡװ9Զ֮͡
GetAllCustomItemValue 9 N$ħֵ N$ħٷֱ
;ȡװ13Զ֮͡
GetAllCustomItemValue 13 N$˺ֵ N$˺ٷֱ


goto @Чʵ

[@Чʵ]
#act
;װ8Զ֮͵Ѫ
HumanHP + <$STR(N$Ѫֵ)>
;װ9Զ֮͵
HumanMP + <$STR(N$ħֵ)>
;۳װ13Զ֮͵Ѫ

M.HumanHP - <$STR(N$˺ֵ)> 600

}

[@װЧ1]
{
#ACT
;ȡװ14Զ֮͡
GetAllCustomItemValue 14 N$⾭ N$⾭ٷֱ
goto @Ч1ʵ

[@Ч1ʵ]
#IF
;װ14Զ֮Ͳ0
NOT EQUAL <$STR(N$⾭)> 0
#ACT
;װ14Զ֮͵ľֵ
CHANGEEXP + <$STR(N$⾭)>

}