实现虎王盾转换龙王盾
[@TigerShield]
#IF
POS $PARAM(2) 通灵
POS $PARAM(2) 盾
EQUAL $PARAM(3) 虎灵
#ACT
MOV P20 $ITEMINFO[$PARAM(0)].AC1
MOV P21 $ITEMINFO[$PARAM(0)].AC2
MOV P22 $ITEMINFO[$PARAM(0)].MAC1
MOV P23 $ITEMINFO[$PARAM(0)].MAC2
MOV P24 $ITEMINFO[$PARAM(0)].DC1
MOV P25 $ITEMINFO[$PARAM(0)].DC2
MOV P26 $ITEMINFO[$PARAM(0)].MC1
MOV P27 $ITEMINFO[$PARAM(0)].MC2
MOV P28 $ITEMINFO[$PARAM(0)].SC1
MOV P29 $ITEMINFO[$PARAM(0)].SC2
MOV P30 $ITEMINFO[$PARAM(0)].SOURCE
MOV P31 $ITEMINFO[$PARAM(0)].VALUE(12)
MOV P32 $ITEMINFO[$PARAM(0)].VALUE(14)
MOV P33 $ITEMINFO[$PARAM(0)].ITEMEXT(69)
MOV P34 $ITEMINFO[$PARAM(0)].ITEMEXT(70)
MOV S20 虎王盾
INC S20 $ITEMINFO[$PARAM(0)].SHAPE
TAKEM $PARAM(0)
TAKEM $PARAM(1)
GIVE $STR(S20) 1
DEC P30 1
UPGRADEUSERITEM $PARAM(10) 0 = $STR(P20)
UPGRADEUSERITEM $PARAM(10) 1 = $STR(P21)
UPGRADEUSERITEM $PARAM(10) 2 = $STR(P22)
UPGRADEUSERITEM $PARAM(10) 3 = $STR(P23)
UPGRADEUSERITEM $PARAM(10) 4 = $STR(P24)
UPGRADEUSERITEM $PARAM(10) 5 = $STR(P25)
UPGRADEUSERITEM $PARAM(10) 6 = $STR(P26)
UPGRADEUSERITEM $PARAM(10) 7 = $STR(P27)
UPGRADEUSERITEM $PARAM(10) 8 = $STR(P28)
UPGRADEUSERITEM $PARAM(10) 9 = $STR(P29)
UPGRADEUSERITEM $PARAM(10) 11 = $STR(P30)
UPGRADEUSERITEM $PARAM(10) 12 = $STR(P31)
UPGRADEUSERITEM $PARAM(10) 14 = $STR(P32)
UPGRADEUSERITEM $PARAM(10) 69 = $STR(P33)
UPGRADEUSERITEM $PARAM(10) 70 = $STR(P34)
MESSAGEBOX 恭喜!你的<$PARAM(2)>在<$PARAM(3)>的作用下转化成<$STR(S20)>!
break
#ELSEACT
#IF
EQUAL $PARAM(3) 龙灵
#ACT
#IF
ISDRAGON
#ACT
GOTO @Drag**hield
break
#ELSEACT
#IF
SMALL $TIGER.LEVEL 100
#ACT
MESSAGEBOX 您的虎王等级未满100级,不可以转换龙王。
break
#ELSEACT
GOTO @Drag**hield
break
[@Drag**hield]
#IF
POS $PARAM(2) 龙王盾
#ACT
MESSAGEBOX 龙王盾无法再转化!
break
#IF
POS $PARAM(2) 通灵
POS $PARAM(2) 盾
#ACT
MESSAGEBOX 龙灵只能转换虎王盾!
break
#IF
POS $PARAM(2) 虎王盾
#IF
equal $PARAM(2) 虎王盾1
#ACT
MOV S20 龙王盾1
#IF
equal $PARAM(2) 虎王盾2
#ACT
MOV S20 龙王盾2
#IF
equal $PARAM(2) 虎王盾3
#ACT
MOV S20 龙王盾3
#IF
equal $PARAM(2) 血月虎王盾1
#ACT
MOV S20 龙王盾1
#IF
equal $PARAM(2) 血月虎王盾2
#ACT
MOV S20 龙王盾2
#IF
equal $PARAM(2) 血月虎王盾3
#ACT
MOV S20 龙王盾3
#IF
ISDRAGON
#ACT
MOV P20 $ITEMINFO[$PARAM(0)].AC1
MOV P21 $ITEMINFO[$PARAM(0)].AC2
MOV P22 $ITEMINFO[$PARAM(0)].MAC1
MOV P23 $ITEMINFO[$PARAM(0)].MAC2
MOV P24 $ITEMINFO[$PARAM(0)].DC1
MOV P25 $ITEMINFO[$PARAM(0)].DC2
MOV P26 $ITEMINFO[$PARAM(0)].MC1
MOV P27 $ITEMINFO[$PARAM(0)].MC2
MOV P28 $ITEMINFO[$PARAM(0)].SC1
MOV P29 $ITEMINFO[$PARAM(0)].SC2
MOV P30 $ITEMINFO[$PARAM(0)].SOURCE
MOV P31 $ITEMINFO[$PARAM(0)].VALUE(12)
MOV P32 $ITEMINFO[$PARAM(0)].VALUE(14)
MOV P33 $ITEMINFO[$PARAM(0)].ITEMEXT(69)
MOV P34 $ITEMINFO[$PARAM(0)].ITEMEXT(70)
TAKEM $PARAM(0)
TAKEM $PARAM(1)
GIVE $STR(S20) 1
DEC P30 1
UPGRADEUSERITEM $PARAM(10) 0 = $STR(P20)
UPGRADEUSERITEM $PARAM(10) 1 = $STR(P21)
UPGRADEUSERITEM $PARAM(10) 2 = $STR(P22)
UPGRADEUSERITEM $PARAM(10) 3 = $STR(P23)
UPGRADEUSERITEM $PARAM(10) 4 = $STR(P24)
UPGRADEUSERITEM $PARAM(10) 5 = $STR(P25)
UPGRADEUSERITEM $PARAM(10) 6 = $STR(P26)
UPGRADEUSERITEM $PARAM(10) 7 = $STR(P27)
UPGRADEUSERITEM $PARAM(10) 8 = $STR(P28)
UPGRADEUSERITEM $PARAM(10) 9 = $STR(P29)
UPGRADEUSERITEM $PARAM(10) 11 = $STR(P30)
UPGRADEUSERITEM $PARAM(10) 12 = $STR(P31)
UPGRADEUSERITEM $PARAM(10) 14 = $STR(P32)
UPGRADEUSERITEM $PARAM(10) 69 = $STR(P33)
UPGRADEUSERITEM $PARAM(10) 70 = $STR(P34)
MESSAGEBOX 恭喜!你的<$PARAM(2)>在<$PARAM(3)>的作用下转化成<$STR(S20)>!
break
#ELSEACT
MOV P20 $ITEMINFO[$PARAM(0)].AC1
MOV P21 $ITEMINFO[$PARAM(0)].AC2
MOV P22 $ITEMINFO[$PARAM(0)].MAC1
MOV P23 $ITEMINFO[$PARAM(0)].MAC2
MOV P24 $ITEMINFO[$PARAM(0)].DC1
MOV P25 $ITEMINFO[$PARAM(0)].DC2
MOV P26 $ITEMINFO[$PARAM(0)].MC1
MOV P27 $ITEMINFO[$PARAM(0)].MC2
MOV P28 $ITEMINFO[$PARAM(0)].SC1
MOV P29 $ITEMINFO[$PARAM(0)].SC2
MOV P30 $ITEMINFO[$PARAM(0)].SOURCE
MOV P31 $ITEMINFO[$PARAM(0)].VALUE(12)
MOV P32 $ITEMINFO[$PARAM(0)].VALUE(14)
MOV P33 $ITEMINFO[$PARAM(0)].ITEMEXT(69)
MOV P34 $ITEMINFO[$PARAM(0)].ITEMEXT(70)
TAKEM $PARAM(0)
TAKEM $PARAM(1)
GIVE $STR(S20) 1
DEC P30 1
UPGRADEUSERITEM $PARAM(10) 0 = $STR(P20)
UPGRADEUSERITEM $PARAM(10) 1 = $STR(P21)
UPGRADEUSERITEM $PARAM(10) 2 = $STR(P22)
UPGRADEUSERITEM $PARAM(10) 3 = $STR(P23)
UPGRADEUSERITEM $PARAM(10) 4 = $STR(P24)
UPGRADEUSERITEM $PARAM(10) 5 = $STR(P25)
UPGRADEUSERITEM $PARAM(10) 6 = $STR(P26)
UPGRADEUSERITEM $PARAM(10) 7 = $STR(P27)
UPGRADEUSERITEM $PARAM(10) 8 = $STR(P28)
UPGRADEUSERITEM $PARAM(10) 9 = $STR(P29)
UPGRADEUSERITEM $PARAM(10) 11 = $STR(P30)
UPGRADEUSERITEM $PARAM(10) 12 = $STR(P31)
UPGRADEUSERITEM $PARAM(10) 14 = $STR(P32)
UPGRADEUSERITEM $PARAM(10) 69 = $STR(P33)
UPGRADEUSERITEM $PARAM(10) 70 = $STR(P34)
TIGERTODRAGON
TigerLevel = 1
MESSAGEBOX 恭喜!你的<$PARAM(2)>在<$PARAM(3)>的作用下转化成<$STR(S20)>!
评论