;;不要删掉此行
[@VitalSystem_LottoItemClick]
{
#ACT
SetItemEvent 62 3 @VitalSystemItemClick

;---------------------------------------------

[@VitalSystemItemClick]
#ACT
Loadvalue D1 "QuestDiary\System\VitalPoints.txt" [Points] %USERNAME

;------------------

#IF
CheckItem VitalToken(S) 1
#ACT
Take VitalToken(S) 1
GoTo @VitalTokenS
BREAK

;------------------

#IF
CheckItem VitalToken(M) 1
#ACT
Take VitalToken(M) 1
GoTo @VitalTokenM
BREAK

;------------------

#IF
CheckItem VitalToken(L) 1
#ACT
Take VitalToken(L) 1
GoTo @VitalTokenL
BREAK

;------------------

#IF
CheckItem VitalToken(XL) 1
#ACT
Take VitalToken(XL) 1
GoTo @VitalTokenXL
BREAK

;---------------------------------------------

[@VitalTokenS]
#ACT
Mov D2 5
GoTo @SavePoints
BREAK

;------------------

[@VitalTokenM]
#ACT
Mov D2 10
GoTo @SavePoints
BREAK

;------------------

[@VitalTokenL]
#ACT
Mov D2 15
GoTo @SavePoints
BREAK

;------------------

[@VitalTokenXL]
#ACT
Mov D2 20
GoTo @SavePoints
BREAK

;---------------------------------------------

[@SavePoints]
#SAY
This item has been removed\
because of the new system\\
<Leave/@Exit>\

;---------------------------------------------

[Convert]
Msg1=You gained "<$OUTPUT(D2)>" Vital Points.
Msg2=You now have "<$OUTPUT(D1)>" Vital Points.

}
;;不要删掉此行