自定义ok框镶嵌凹槽检测

admin 2023/04/19 14:50:20 207



#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框的装备没有打孔都提示,没有打孔
求大佬指点一下
返回
我要发布
版本互换
代销
链接失效处理