,
[@StdModeFunc901]
#IF
equal $PARAM(2) $PARAM(3)
equal $PARAM(2) $PARAM(2)
#ACT
UPGRADEUSERITEM $PARAM(1) 20 + $ITEMINFO[$PARAM(0)].DURA
takem $PARAM(0)
break
#IF
random 1
#ACT
MOV S0
MOV S1
MOV P0 $ITEMINFO[$PARAM(0)].AC1
#IF
EQUAL $STR(P0) 1
#ACT
MOV S0 战士
#IF
EQUAL $STR(P0) 2
#ACT
MOV S0 法师
#IF
EQUAL $STR(P0) 3
#ACT
MOV S0 道士
#IF
LARGE $TOTEMCOUNT 0
#ACT
ChangeEatItemDura + 1
SENDMSG 5