[@拾取装备触发]
{
#IF
#ACT
DELBOXITEM 0 <$PICKDROPITEMNAME>
SetUpgradeItem 0
MOV N402 <$BOXITEM[0].STDMODE> 
MOV M10 0
MOV M11 0
MOV N501 0
MOV N502 0
MOV N503 2
MOV N504 2
MOV N505 2
MOV N506 2

#IF
LARGE <$BOXITEM[0].NEEDLEVEL> <$LEVEL>
#ACT
ReturnBoxItem 0
BREAK

#IF
gender man
EQUAL N402 11
#ACT
ReturnBoxItem 0
BREAK

#IF
gender woman
EQUAL N402 10
#ACT
ReturnBoxItem 0
BREAK

#IF
CompareText <$BOXITEM[0].NAME_G> <$WEAPON>
#ACT
GETITEMADDVALUE 1 <$STR(N502)> <$STR(M10)>
GETITEMADDVALUE boxitem0 <$STR(N502)> <$STR(M11)>
MOV N500 1
MOV N501 1

#IF
CompareText <$BOXITEM[0].NAME_G> <$DRESS>
#ACT
GETITEMADDVALUE 0 <$STR(N503)> <$STR(M10)>
GETITEMADDVALUE boxitem0 <$STR(N503)> <$STR(M11)>
MOV N500 0
MOV N501 1

#IF
CompareText <$BOXITEM[0].NAME_G> <$RIGHTHAND>
#ACT
GETITEMADDVALUE 2 <$STR(N503)> <$STR(M10)>
GETITEMADDVALUE boxitem0 <$STR(N503)> <$STR(M11)>
MOV N500 2
MOV N501 1

#IF
CompareText <$BOXITEM[0].NAME_G> <$HELMET>
#ACT
GETITEMADDVALUE 4 <$STR(N504)> <$STR(M10)>
GETITEMADDVALUE boxitem0 <$STR(N504)> <$STR(M11)>
MOV N500 4
MOV N501 1

#IF
CompareText <$BOXITEM[0].NAME_G> <$NECKLACE>
#ACT
GETITEMADDVALUE 3 <$STR(N505)> <$STR(M10)>
GETITEMADDVALUE boxitem0 <$STR(N505)> <$STR(M11)>
MOV N500 3
MOV N501 1

#IF
CompareText <$BOXITEM[0].NAME_G> <$ARMRING_R>
CompareText <$BOXITEM[0].NAME_G> <$ARMRING_L>
#ACT
GETITEMADDVALUE 5 <$STR(N506)> <$STR(M10)>
GETITEMADDVALUE boxitem0 <$STR(N506)> <$STR(M11)>
MOV N500 5
MOV N501 1

#IF
CompareText <$BOXITEM[0].NAME_G> <$ARMRING_R>
CompareText <$BOXITEM[0].NAME_G> <$ARMRING_L>
#ACT
GETITEMADDVALUE 6 <$STR(N506)> <$STR(M10)>
GETITEMADDVALUE boxitem0 <$STR(N506)> <$STR(M11)>
MOV N500 6
MOV N501 1

#IF
CompareText <$BOXITEM[0].NAME_G> <$RING_R>
CompareText <$BOXITEM[0].NAME_G> <$RING_L>

#ACT
GETITEMADDVALUE 7 <$STR(N506)> <$STR(M10)>
GETITEMADDVALUE boxitem0 <$STR(N506)> <$STR(M11)>
MOV N500 7
MOV N501 1

#IF
CompareText <$BOXITEM[0].NAME_G> <$RING_R>
CompareText <$BOXITEM[0].NAME_G> <$RING_L>
#ACT
GETITEMADDVALUE 8 <$STR(N506)> <$STR(M10)>
GETITEMADDVALUE boxitem0 <$STR(N506)> <$STR(M11)>
MOV N500 8
MOV N501 1

#IF
CompareText <$BOXITEM[0].NAME_G> <$BELT>
#ACT
GETITEMADDVALUE 10 <$STR(N506)> <$STR(M10)>
GETITEMADDVALUE boxitem0 <$STR(N506)> <$STR(M11)>
MOV N500 10
MOV N501 1

#IF
CompareText <$BOXITEM[0].NAME_G> <$BOOTS>
#ACT
GETITEMADDVALUE 11 <$STR(N506)> <$STR(M10)>
GETITEMADDVALUE boxitem0 <$STR(N506)> <$STR(M11)>
MOV N500 11
MOV N501 1

#IF
CompareText <$BOXITEM[0].NAME_G> <$CHARM>
#ACT
GETITEMADDVALUE 12 <$STR(N506)> <$STR(M10)>
GETITEMADDVALUE boxitem0 <$STR(N506)> <$STR(M11)>
MOV N500 12
MOV N501 1

#IF
CompareText <$BOXITEM[0].NAME_G> <$HAT>
#ACT
GETITEMADDVALUE 13 <$STR(N506)> <$STR(M10)>
GETITEMADDVALUE boxitem0 <$STR(N506)> <$STR(M11)>
MOV N500 13
MOV N501 1

#IF
CompareText <$BOXITEM[0].NAME_G> <$DRUM>
#ACT
GETITEMADDVALUE 14 <$STR(N506)> <$STR(M10)>
GETITEMADDVALUE boxitem0 <$STR(N506)> <$STR(M11)>
MOV N500 14
MOV N501 1

#IF
CompareText <$BOXITEM[0].NAME_G> <$HORSE>
#ACT
GETITEMADDVALUE 15 <$STR(N506)> <$STR(M10)>
GETITEMADDVALUE boxitem0 <$STR(N506)> <$STR(M11)>
MOV N500 15
MOV N501 1

#IF
CompareText <$BOXITEM[0].NAME_G> <$SHIELD>
#ACT
GETITEMADDVALUE 16 <$STR(N506)> <$STR(M10)>
GETITEMADDVALUE boxitem0 <$STR(N506)> <$STR(M11)>
MOV N500 16
MOV N501 1

#IF
CompareText <$BOXITEM[0].NAME_G> <$JADE>
#ACT
GETITEMADDVALUE 19 <$STR(N506)> <$STR(M10)>
GETITEMADDVALUE boxitem0 <$STR(N506)> <$STR(M11)>
MOV N500 19
MOV N501 1


#IF
LARGE M11 <$STR(M10)>
EQUAL N501 1
#ACT
ReturnBoxItem 0
AutoTakeOnItem <$BOXITEM[0].NAME_G> <$STR(N500)>
BREAK

#IF
EQUAL N501 1
#ACT
ReturnBoxItem 0
BREAK

#IF
EQUAL N402 5
#ACT
MOV S400 <$WEAPON>
TakeEx 1 
MOV N500 1
MOV N501 2

#IF
EQUAL N402 6
#ACT
MOV S400 <$WEAPON>
TakeEx 1 
MOV N500 1
MOV N501 2

#IF
EQUAL N402 10
#ACT
MOV S400 <$DRESS>
TakeEx 0 
MOV N500 0
MOV N501 2

#IF
EQUAL N402 11
#ACT
MOV S400 <$DRESS>
TakeEx 0 
MOV N500 0
MOV N501 2

#IF
EQUAL N402 30
#ACT
MOV S400 <$RIGHTHAND>
TakeEx 2 
MOV N500 2
MOV N501 2

#or
EQUAL N402 15
#ACT
MOV S400 <$HELMET>
TakeEx 4 
MOV N500 4
MOV N501 2

#IF
EQUAL N402 19
#ACT
MOV S400 <$NECKLACE>
TakeEx 3 
MOV N500 3
MOV N501 2

#IF
EQUAL N402 20
#ACT
MOV S400 <$NECKLACE>
TakeEx 3 
MOV N500 3
MOV N501 2

#IF
EQUAL N402 21
#ACT
MOV S400 <$NECKLACE>
TakeEx 3 
MOV N500 3
MOV N501 2

#IF
EQUAL N402 64
#ACT
MOV S400 <$BELT>
TakeEx 10 
MOV N500 10
MOV N501 2

#IF
EQUAL N402 62
#ACT
MOV S400 <$BOOTS>
TakeEx 11 
MOV N500 11
MOV N501 2

#IF
EQUAL N402 63
#ACT
MOV S400 <$CHARM>
TakeEx 12 
MOV N500 12
MOV N501 2


#IF
EQUAL N402 16
#ACT
MOV S400 <$HAT>
TakeEx 13 
MOV N500 13
MOV N501 2

#IF
EQUAL N402 65
#ACT
MOV S400 <$DRUM>
TakeEx 14 
MOV N500 14
MOV N501 2

#IF
EQUAL N402 28
#ACT
MOV S400 <$HORSE>
TakeEx 15 
MOV N500 15
MOV N501 2

#IF
EQUAL N402 12
#ACT
MOV S400 <$SHIELD>
TakeEx 16 
MOV N500 16
MOV N501 2

#IF
EQUAL N402 90
#ACT
MOV S400 <$JADE>
TakeEx 19 
MOV N500 19
MOV N501 2

#IF
Equal N501 2
Equal <$STR(S400)>  
#ACT
MOV S401 <$BOXITEM[0].NAME_G>
ReturnBoxItem 0
AutoTakeOnItem <$STR(S401)> <$STR(N500)>
BREAK

#IF
Equal N501 2
NOT Equal <$STR(S400)>  
#ACT
DELBOXITEM 1 <$STR(S400)>
SetUpgradeItem 1
 
#IF
Equal N501 2
CHECKJOB warrior
#ACT
MOV N400 <$BOXITEM[0].HDC>
MOV N401 <$BOXITEM[1].HDC>


#IF
Equal N501 2
CHECKJOB wizard
#ACT
MOV N400 <$BOXITEM[0].HMC>
MOV N401 <$BOXITEM[1].HMC>

#IF
Equal N501 2
CHECKJOB taoist
#ACT
MOV N400 <$BOXITEM[0].HSC>
MOV N401 <$BOXITEM[1].HSC>


#IF
Equal N501 2
LARGE N400 <$STR(N401)>
#ACT
MOV S401 <$BOXITEM[0].NAME_G>
ReturnBoxItem 0
ReturnBoxItem 1
AutoTakeOnItem <$STR(S401)> <$STR(N500)>
BREAK

#IF
Equal N501 2
#ACT
MOV S401 <$BOXITEM[1].NAME_G>
ReturnBoxItem 0
ReturnBoxItem 1
AutoTakeOnItem <$STR(S401)> <$STR(N500)> 
break

#IF
EQUAL N402 22
#ACT 
MOV S$戒指名称  <$BOXITEM[0].NAME_G>
ReturnBoxItem 0
GOTO @戒指比对

#IF
EQUAL N402 23
#ACT 
MOV S$戒指名称  <$BOXITEM[0].NAME_G>
ReturnBoxItem 0
GOTO @戒指比对

#IF
EQUAL N402 24
#ACT 
MOV S$手镯名称  <$BOXITEM[0].NAME_G>
ReturnBoxItem 0
GOTO @手镯比对

#IF
EQUAL N402 26
#ACT 
MOV S$手镯名称  <$BOXITEM[0].NAME_G>
ReturnBoxItem 0
GOTO @手镯比对


[@戒指比对]
#IF
CHECKJOB warrior
#ACT
GOTO @战士戒指比对
BREAK
#IF
CHECKJOB wizard
#ACT
GOTO @法师戒指比对
BREAK
#IF
CHECKJOB taoist
#ACT
GOTO @道士戒指比对
BREAK

[@战士戒指比对]
#IF
CHECKUSEITEM 8
#ACT
#ELSEACT
AutoTakeOnItem <$STR(S$戒指名称)> 8
BREAK

#IF
CHECKUSEITEM 7
#ACT
#ELSEACT
AutoTakeOnItem <$STR(S$戒指名称)> 7
BREAK

#IF
EQUAL <$STR(S$戒指名称)> <$RING_R>
EQUAL <$STR(S$戒指名称)> <$RING_L>

#ACT
MOV N68 <$DC>
MOV M68 <$MAXDC>
MOV S$原始戒指 <$RING_R>
AutoTakeOnItem <$STR(S$戒指名称)> 8
GOTO @战士戒指替换8
BREAK

#IF
NOT EQUAL <$STR(S$戒指名称)> <$RING_R>
#ACT
MOV N68 <$DC>
MOV M68 <$MAXDC>
MOV S$原始戒指 <$RING_R>
AutoTakeOnItem <$STR(S$戒指名称)> 8
GOTO @战士戒指替换8
BREAK

#IF
NOT EQUAL <$STR(S$戒指名称)> <$RING_L>
#ACT
MOV N67 <$DC>
MOV M67 <$MAXDC>
MOV S$原始戒指 <$RING_L>
AutoTakeOnItem <$STR(S$戒指名称)> 7
GOTO @战士戒指替换7
BREAK

[@战士戒指替换8]
#IF
LARGE <$MAXDC> M68
#ACT
AutoTakeOnItem <$STR(S$原始戒指)> 7
BREAK

#IF
LARGE <$DC> N68
#ACT
AutoTakeOnItem <$STR(S$原始戒指)> 7
BREAK

#ELSEACT
AutoTakeOnItem <$STR(S$原始戒指)> 8

#IF
NOT EQUAL <$STR(S$戒指名称)> <$RING_L>
#ACT
MOV N67 <$DC>
MOV M67 <$MAXDC>
MOV S$原始戒指 <$RING_L>
AutoTakeOnItem <$STR(S$戒指名称)> 7
GOTO @战士戒指替换7
BREAK

[@战士戒指替换7]
#IF
LARGE <$MAXDC> M67
#ACT
BREAK

#IF
LARGE <$DC> N67
#ACT
BREAK

#ELSEACT
AutoTakeOnItem <$STR(S$原始戒指)> 7
BREAK

[@法师戒指比对]
#IF
CHECKUSEITEM 8
#ACT
#ELSEACT
AutoTakeOnItem <$STR(S$戒指名称)> 8
BREAK

#IF
CHECKUSEITEM 7
#ACT
#ELSEACT
AutoTakeOnItem <$STR(S$戒指名称)> 7
BREAK

#IF
EQUAL <$STR(S$戒指名称)> <$RING_R>
EQUAL <$STR(S$戒指名称)> <$RING_L>

#ACT
MOV N68 <$MC>
MOV M68 <$MAXMC>
MOV S$原始戒指 <$RING_R>
AutoTakeOnItem <$STR(S$戒指名称)> 8
GOTO @法师戒指替换8
BREAK

#IF
NOT EQUAL <$STR(S$戒指名称)> <$RING_R>
#ACT
MOV N68 <$MC>
MOV M68 <$MAXMC>
MOV S$原始戒指 <$RING_R>
AutoTakeOnItem <$STR(S$戒指名称)> 8
GOTO @法师戒指替换8
BREAK

#IF
NOT EQUAL <$STR(S$戒指名称)> <$RING_L>
#ACT
MOV N67 <$MC>
MOV M67 <$MAXMC>
MOV S$原始戒指 <$RING_L>
AutoTakeOnItem <$STR(S$戒指名称)> 7
GOTO @法师戒指替换7
BREAK

[@法师戒指替换8]
#IF
LARGE <$MAXMC> M68
#ACT
AutoTakeOnItem <$STR(S$原始戒指)> 7
BREAK

#IF
LARGE <$MC> N68
#ACT
AutoTakeOnItem <$STR(S$原始戒指)> 7
BREAK

#ELSEACT
AutoTakeOnItem <$STR(S$原始戒指)> 8

#IF
NOT EQUAL <$STR(S$戒指名称)> <$RING_L>
#ACT
MOV N67 <$MC>
MOV M67 <$MAXMC>
MOV S$原始戒指 <$RING_L>
AutoTakeOnItem <$STR(S$戒指名称)> 7
GOTO @法师戒指替换7
BREAK

[@法师戒指替换7]
#IF
LARGE <$MAXMC> M67
#ACT
BREAK

#IF
LARGE <$MC> N67
#ACT
BREAK

#ELSEACT
AutoTakeOnItem <$STR(S$原始戒指)> 7
BREAK

[@道士戒指比对]
#IF
CHECKUSEITEM 8
#ACT
#ELSEACT
AutoTakeOnItem <$STR(S$戒指名称)> 8
BREAK

#IF
CHECKUSEITEM 7
#ACT
#ELSEACT
AutoTakeOnItem <$STR(S$戒指名称)> 7
BREAK

#IF
EQUAL <$STR(S$戒指名称)> <$RING_R>
EQUAL <$STR(S$戒指名称)> <$RING_L>

#ACT
MOV N68 <$SC>
MOV M68 <$MAXSC>
MOV S$原始戒指 <$RING_R>
AutoTakeOnItem <$STR(S$戒指名称)> 8
GOTO @道士戒指替换8
BREAK

#IF
NOT EQUAL <$STR(S$戒指名称)> <$RING_R>
#ACT
MOV N68 <$SC>
MOV M68 <$MAXSC>
MOV S$原始戒指 <$RING_R>
AutoTakeOnItem <$STR(S$戒指名称)> 8
GOTO @道士戒指替换8
BREAK

#IF
NOT EQUAL <$STR(S$戒指名称)> <$RING_L>
#ACT
MOV N67 <$SC>
MOV M67 <$MAXSC>
MOV S$原始戒指 <$RING_L>
AutoTakeOnItem <$STR(S$戒指名称)> 7
GOTO @道士戒指替换7
BREAK

[@道士戒指替换8]
#IF
LARGE <$MAXSC> M68
#ACT
AutoTakeOnItem <$STR(S$原始戒指)> 7
BREAK

#IF
LARGE <$SC> N68
#ACT
AutoTakeOnItem <$STR(S$原始戒指)> 7
BREAK

#ELSEACT
AutoTakeOnItem <$STR(S$原始戒指)> 8

#IF
NOT EQUAL <$STR(S$戒指名称)> <$RING_L>
#ACT
MOV N67 <$SC>
MOV M67 <$MAXSC>
MOV S$原始戒指 <$RING_L>
AutoTakeOnItem <$STR(S$戒指名称)> 7
GOTO @道士戒指替换7
BREAK

[@道士戒指替换7]
#IF
LARGE <$MAXSC> M67
#ACT
BREAK

#IF
LARGE <$SC> N67
#ACT
BREAK

#ELSEACT
AutoTakeOnItem <$STR(S$原始戒指)> 7
BREAK



[@手镯比对]
#IF
CHECKJOB warrior
#ACT
GOTO @战士手镯比对
BREAK
#IF
CHECKJOB wizard
#ACT
GOTO @法师手镯比对
BREAK
#IF
CHECKJOB taoist
#ACT
GOTO @道士手镯比对
BREAK

[@战士手镯比对]
#IF
CHECKUSEITEM 6
#ACT
#ELSEACT
AutoTakeOnItem <$STR(S$手镯名称)> 6
BREAK

#IF
CHECKUSEITEM 5
#ACT
#ELSEACT
AutoTakeOnItem <$STR(S$手镯名称)> 5
BREAK

#IF
EQUAL <$STR(S$手镯名称)> <$ARMRING_R>
EQUAL <$STR(S$手镯名称)> <$ARMRING_L>
#ACT
MOV N66 <$DC>
MOV M66 <$MAXDC>
MOV S$原始手镯 <$ARMRING_R>
AutoTakeOnItem <$STR(S$手镯名称)> 6
GOTO @战士手镯替换6
BREAK

#IF
NOT EQUAL <$STR(S$手镯名称)> <$ARMRING_R>
#ACT
MOV N66 <$DC>
MOV M66 <$MAXDC>
MOV S$原始手镯 <$ARMRING_R>
AutoTakeOnItem <$STR(S$手镯名称)> 6
GOTO @战士手镯替换6
BREAK

#IF
NOT EQUAL <$STR(S$手镯名称)> <$ARMRING_L>
#ACT
MOV N65 <$DC>
MOV M65 <$MAXDC>
MOV S$原始手镯 <$ARMRING_L>
AutoTakeOnItem <$STR(S$手镯名称)> 5
GOTO @战士手镯替换5
BREAK

[@战士手镯替换6]
#IF
LARGE <$MAXDC> M66
#ACT
AutoTakeOnItem <$STR(S$原始手镯)> 5
BREAK

#IF
LARGE <$DC> N66
#ACT
AutoTakeOnItem <$STR(S$原始手镯)> 5
BREAK

#ELSEACT
AutoTakeOnItem <$STR(S$原始手镯)> 6

#IF
NOT EQUAL <$STR(S$手镯名称)> <$ARMRING_L>
#ACT
MOV N65 <$DC>
MOV M65 <$MAXDC>
MOV S$原始手镯 <$ARMRING_L>
AutoTakeOnItem <$STR(S$手镯名称)> 5
GOTO @战士手镯替换5
BREAK

[@战士手镯替换5]
#IF
LARGE <$MAXDC> M65
#ACT
BREAK

#IF
LARGE <$DC> N65
#ACT
BREAK

#ELSEACT
AutoTakeOnItem <$STR(S$原始手镯)> 5
BREAK

[@法师手镯比对]
#IF
CHECKUSEITEM 6
#ACT
#ELSEACT
AutoTakeOnItem <$STR(S$手镯名称)> 6
BREAK

#IF
CHECKUSEITEM 5
#ACT
#ELSEACT
AutoTakeOnItem <$STR(S$手镯名称)> 5
BREAK

#IF
EQUAL <$STR(S$手镯名称)> <$ARMRING_R>
EQUAL <$STR(S$手镯名称)> <$ARMRING_L>
#ACT
MOV N66 <$MC>
MOV M66 <$MAXMC>
MOV S$原始手镯 <$ARMRING_R>
AutoTakeOnItem <$STR(S$手镯名称)> 6
GOTO @法师手镯替换6
BREAK

#IF
NOT EQUAL <$STR(S$手镯名称)> <$ARMRING_R>
#ACT
MOV N66 <$MC>
MOV M66 <$MAXMC>
MOV S$原始手镯 <$ARMRING_R>
AutoTakeOnItem <$STR(S$手镯名称)> 6
GOTO @法师手镯替换6
BREAK

#IF
NOT EQUAL <$STR(S$手镯名称)> <$ARMRING_L>
#ACT
MOV N65 <$MC>
MOV M65 <$MAXMC>
MOV S$原始手镯 <$ARMRING_L>
AutoTakeOnItem <$STR(S$手镯名称)> 5
GOTO @法师手镯替换5
BREAK

[@法师手镯替换6]
#IF
LARGE <$MAXMC> M66
#ACT
AutoTakeOnItem <$STR(S$原始手镯)> 5
BREAK

#IF
LARGE <$MC> N66
#ACT
AutoTakeOnItem <$STR(S$原始手镯)> 5
BREAK

#ELSEACT
AutoTakeOnItem <$STR(S$原始手镯)> 6

#IF
NOT EQUAL <$STR(S$手镯名称)> <$ARMRING_L>
#ACT
MOV N65 <$MC>
MOV M65 <$MAXMC>
MOV S$原始手镯 <$ARMRING_L>
AutoTakeOnItem <$STR(S$手镯名称)> 5
GOTO @法师手镯替换5
BREAK

[@法师手镯替换5]
#IF
LARGE <$MAXMC> M65
#ACT
BREAK

#IF
LARGE <$MC> N65
#ACT
BREAK

#ELSEACT
AutoTakeOnItem <$STR(S$原始手镯)> 5
BREAK

[@道士手镯比对]
#IF
CHECKUSEITEM 6
#ACT
#ELSEACT
AutoTakeOnItem <$STR(S$手镯名称)> 6
BREAK

#IF
CHECKUSEITEM 5
#ACT
#ELSEACT
AutoTakeOnItem <$STR(S$手镯名称)> 5
BREAK

#IF
EQUAL <$STR(S$手镯名称)> <$ARMRING_R>
EQUAL <$STR(S$手镯名称)> <$ARMRING_L>
#ACT
MOV N66 <$SC>
MOV M66 <$MAXSC>
MOV S$原始手镯 <$ARMRING_R>
AutoTakeOnItem <$STR(S$手镯名称)> 6
GOTO @道士手镯替换6
BREAK

#IF
NOT EQUAL <$STR(S$手镯名称)> <$ARMRING_R>
#ACT
MOV N66 <$SC>
MOV M66 <$MAXSC>
MOV S$原始手镯 <$ARMRING_R>
AutoTakeOnItem <$STR(S$手镯名称)> 6
GOTO @道士手镯替换6
BREAK

#IF
NOT EQUAL <$STR(S$手镯名称)> <$ARMRING_L>
#ACT
MOV N65 <$SC>
MOV M65 <$MAXSC>
MOV S$原始手镯 <$ARMRING_L>
AutoTakeOnItem <$STR(S$手镯名称)> 5
GOTO @道士手镯替换5
BREAK

[@道士手镯替换6]
#IF
LARGE <$MAXSC> M66
#ACT
AutoTakeOnItem <$STR(S$原始手镯)> 5
BREAK

#IF
LARGE <$SC> N66
#ACT
AutoTakeOnItem <$STR(S$原始手镯)> 5
BREAK

#ELSEACT
AutoTakeOnItem <$STR(S$原始手镯)> 6

#IF
NOT EQUAL <$STR(S$手镯名称)> <$ARMRING_L>
#ACT
MOV N65 <$SC>
MOV M65 <$MAXSC>
MOV S$原始手镯 <$ARMRING_L>
AutoTakeOnItem <$STR(S$手镯名称)> 5
GOTO @道士手镯替换5
BREAK

[@道士手镯替换5]
#IF
LARGE <$MAXSC> M65
#ACT
BREAK

#IF
LARGE <$SC> N65
#ACT
BREAK

#ELSEACT
AutoTakeOnItem <$STR(S$原始手镯)> 5
BREAK

}