找回密码
 立即注册
查看: 160|回复: 0

自定义ok框镶嵌凹槽检测

[复制链接]

2797

主题

3万

回帖

2801

积分

金牌会员

积分
2801
发表于 2026-3-27 14:16:29 | 显示全部楼层 |阅读模式

#if
;检测打孔数量
CheckFluteCount boxitem1 = 1
#act
mov n$凹槽数量 1
#if
CheckFluteCount boxitem1 = 2
#act
mov n$凹槽数量 2
#if
CheckFluteCount boxitem1 = 3
#act
mov n$凹槽数量 3
#if
CheckFluteCount boxitem1 = 4
#act
mov n$凹槽数量 4
;检测物品镶嵌宝石数量:
#if
CheckItemStoneCount boxitem1 = 1
#act
mov N$宝石数量 1
#if
CheckItemStoneCount boxitem1 = 2
#act
mov N$宝石数量 2
#if
CheckItemStoneCount boxitem1 = 3
#act
mov N$宝石数量 3
#if
CheckItemStoneCount boxitem1 = 4
#act
mov N$宝石数量 4
#if
equal n$凹槽数量 0
#ACT
ReturnBoxItem 1
messagebox 提示:装备没有打孔,请先开孔!!
break
#if
small N$凹槽数量 <$str(n$宝石数量)>
#act
ReturnBoxItem 1
messagebox 提示:装备打孔数量不够啊,请先开孔!!
break
不管1号ok框的装备没有打孔都提示,没有打孔
求大佬指点一下

© 2026 折翼天使社区 版权所有