定义装备穿戴位置开启:M2-选项-自定义装备 ,支持穿戴位置71-120
自定义装备常量: 唯一ID<$USEITEM[X]>;IDX<$USEITEMID[X]>;名字<$USEITEMNAME[X]> X表示M2设置的自定义装备位置 比如 71 72
匹配STDMODE:比如填写5,当前位置的自定义装备则按武器的属?来读取
;完整例子:
;QManage.txt
[@Login]
#if
#act
mov S$自己五行按钮 <Button|nimg=custom/top/5x.png|x=145|y=20|link=@自己五行>
ADDBUTTONX 3001 1 <$str(S$自己五行按钮)>
;QFunction-0.txt
[@自己五行]
<img|img=custom/top/5xbg.png|bg=1|reset=0|layerid=1000|move=1|hidemain=0|forbidbagequip=0>
<button|x=354|y=2|nimg=custom/g3.png|outline=2|pimg=custom/g4.png|link=@exit>
<layout|x=344|y=3|width=80|height=80|link=@exit>
<text|x=180|y=23|text=我的五行|outline=2|color=70|size=18|a=4>
<equipshow|x=146|y=57 |width=70|height=70|index=71|showtips=1|bgtype=0|reload=1|move=1|dblink=@脱下#装备位置=71>
<equipshow|x=61 |y=120|width=70|height=70|index=72|showtips=1|bgtype=0|reload=1|move=1|dblink=@脱下#装备位置=72>
<equipshow|x=232|y=119|width=70|height=70|index=73|showtips=1|bgtype=0|reload=1|move=1|dblink=@脱下#装备位置=73>
<equipshow|x=92 |y=210|width=70|height=70|index=74|showtips=1|bgtype=0|reload=1|move=1|dblink=@脱下#装备位置=74>
<equipshow|x=199|y=210|width=70|height=70|index=75|showtips=1|bgtype=0|reload=1|move=1|dblink=@脱下#装备位置=75>
[@脱下]
#if
#act
TakeOffItem <$STR(S$装备位置)>
[@LookHumInfo]
#if
#act
mov S$别人五行按钮 <Button|nimg=custom/top/5x.png|x=145|y=20|link=@别人五行>
ADDBUTTONX 3002 1 <$str(S$别人五行按钮)>
[@别人五行]
#if
#act
GetHumVar <$LOOKHUMNAME> S$对方五行位置1 <$USEITEM[71]>
GetHumVar <$LOOKHUMNAME> S$对方五行位置2 <$USEITEM[72]>
GetHumVar <$LOOKHUMNAME> S$对方五行位置3 <$USEITEM[73]>
GetHumVar <$LOOKHUMNAME> S$对方五行位置4 <$USEITEM[74]>
GetHumVar <$LOOKHUMNAME> S$对方五行位置5 <$USEITEM[75]>
#if
#say
<img|img=custom/top/5xbg.png|bg=1|reset=0|layerid=1000|move=1|hidemain=0|forbidbagequip=0>
<button|x=354|y=2|nimg=custom/g3.png|outline=2|pimg=custom/g4.png|link=@exit>
<layout|x=344|y=3|width=80|height=80|link=@exit>
<text|x=180|y=23|text=<$LOOKHUMNAME>的五行|outline=2|color=70|size=18|a=4>
<DBItemShow|x=146|y=57 |width=70|height=70|makeindex=<$str(S$对方五行位置1)>|showtips=1|bgtype=0>
<DBItemShow|x=61 |y=120|width=70|height=70|makeindex=<$str(S$对方五行位置2)>|showtips=1|bgtype=0>
<DBItemShow|x=232|y=119|width=70|height=70|makeindex=<$str(S$对方五行位置3)>|showtips=1|bgtype=0>
<DBItemShow|x=92 |y=210|width=70|height=70|makeindex=<$str(S$对方五行位置4)>|showtips=1|bgtype=0>
<DBItemShow|x=199|y=210|width=70|height=70|makeindex=<$str(S$对方五行位置5)>|showtips=1|bgtype=0>
=================================================================================================
测试用到的参考DB:
262,五行-金,240,0,0,0,0,0,10501,65000,0,0,0,0,100,100,100,100,100,100,0,1,5000,5,250,0,35888,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
263,五行-木,241,0,0,0,0,0,10502,65000,0,0,0,0,100,100,100,100,100,100,0,1,5000,5,250,0,35888,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
264,五行-水,242,0,0,0,0,0,10503,65000,0,0,0,0,100,100,100,100,100,100,0,1,5000,5,250,0,35888,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
265,五行-火,243,0,0,0,0,0,10504,65000,0,0,0,0,100,100,100,100,100,100,0,1,5000,5,250,0,35888,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
266,五行-土,244,0,0,0,0,0,10505,65000,0,0,0,0,100,100,100,100,100,100,0,1,5000,5,250,0,35888,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|