|
楼主 |
发表于 2023-2-23 20:35:24
|
显示全部楼层
[@选择强化物品]
#IF
#ACT
Mov s$是否带装备 是
Mov s$身上展示 <$STR(S0)>
Mov s$文字放入
LINKITEMBYMAKEINDEX <$STR(S0)>
GOTO @身上装备
[@开始打孔]
#IF
CHECKDRILLHOLE -1 0
#ACT
SENDMSG 9 <font color='#ff0000'>你的装备打过孔了.</font>
break
#IF
CHECKSOCKETABLEITEMCOUNT -1 = 1
#ACT
SENDMSG 9 <font color='#ff0000'>你的装备已镶钻.</font>
break
#IF
EQUAL s$是否带装备 是
#ACT
GOTO @打孔检测
#ELSEACT
SENDMSG 9 <font color='#ff0000'>请放入要打孔的装备.</font>
[@打孔检测]
#IF
CHECKITEMS 铁匠秘锤#1&金砖#1 0 0
#ACT
TAKES 铁匠秘锤#1&金砖#1 0 0
DRILLHOLE -1 0 1
Screffects 100 20015 510 280 1 1 0
GOTO @身上装备
SENDMSG 9 <font color='#ff0000'>你的装备打孔成功.</font>
#ELSEACT
SENDMSG 9 <font color='#ff0000'>你缺少铁匠秘锤和金砖.</font> |
|