;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[@UpAllWeapon]
{
#SAY
<[Weapon]/@UpDesc(1,)>\
<[Helmet]/@UpDesc(4,)>\
<[Necklace]/@UpDesc(3)>\
<[Armour]/@UpDesc(0)>\
<[Shoes]/@UpDesc(10)>\
<[Bracelet(Left)]/@UpDesc(5)>\
<[Bracelet(Right)]/@UpDesc(6)>\
<[Ring(Left)]/@UpDesc(7)>\
<[Ring(Right)]/@UpDesc(8)>\

[@UpDesc()]
#ACT
   mov  D0  %ARG(1)
#IF
   !HLSCRIPTCMD CHECKISTAKEITEM %D0
#ACT
   Break
#SAY
You choose the equipment fence for is spatial! \
<Leave/@Exit>

#IF
   equal D0 0
#SAY
<Armour Class/@UpDescPoint(0)>\
<Magic Resistance/@UpDescPoint(1)>\
<Destructive Class/@UpDescPoint(2)>\
<Magic/@UpDescPoint(3)>\
<Health/@UpDescPoint(8)>\
<Mana/@UpDescPoint(9)>\
Pay 200,000 Gold to <Remove Disadvantage/@ClearClothes>\
<Leave/@Exit>

#IF
   equal D0 1
#SAY
<Destructive Class/@UpDescPoint(0)>\
<Magic/@UpDescPoint(1)>\
<Luck/@UpDescPoint(3)>\
<Strength/@UpDescPoint(7)>\
<Elements/@UpDesc11>\
<Leave/@Exit>

#IF
   equal D0 3
#SAY
<Accuracy/@UpDescPoint(0)>\
<Agility/@UpDescPoint(1)>\
<Destructive Class/@UpDescPoint(2)>\
<Magic/@UpDescPoint(3)>\
<Elements/@UpDesc11>\
<Leave/@Exit>

#IF
   equal D0 4
#SAY
<Armour Class/@UpDescPoint(0)>\
<Magic Resistance/@UpDescPoint(1)>\
<Destructive Class/@UpDescPoint(2)>\
<Magic/@UpDescPoint(3)>\
<Elements/@UpDesc11>\
<Leave/@Exit>

#IF
   equal D0 5
#SAY
<Armour Class/@UpDescPoint(0)>\
<Magic Resistance/@UpDescPoint(1)>\
<Destructive Class/@UpDescPoint(2)>\
<Magic/@UpDescPoint(3)>\
<Elements/@UpDesc11>\
<Leave/@Exit>

#IF
   equal D0 6
#SAY
<Armour Class/@UpDescPoint(0)>\
<Magic Resistance/@UpDescPoint(1)>\
<Destructive Class/@UpDescPoint(2)>\
<Magic/@UpDescPoint(3)>\
<Elements/@UpDesc11>\
<Leave/@Exit>

#IF
   equal D0 7
#SAY
<Armour Class/@UpDescPoint(0)>\
<Magic Resistance/@UpDescPoint(1)>\
<Destructive Class/@UpDescPoint(2)>\
<Magic/@UpDescPoint(3)>\
<Elements/@UpDesc11>\
<Leave/@Exit>

#IF
   equal D0 8
#SAY
<Armour Class/@UpDescPoint(0)>\
<Magic Resistance/@UpDescPoint(1)>\
<Destructive Class/@UpDescPoint(2)>\
<Magic/@UpDescPoint(3)>\
<Elements/@UpDesc11>\
<Leave/@Exit>

#IF
   equal D0 10
#SAY
<Comfort/@UpDescPoint(0)>\
<Wear Weight/@UpDescPoint(1)>\
<Hands Weight/@UpDescPoint(2)>\
<Health/@UpDescPoint(8)>\
<Mana/@UpDescPoint(9)>\
<Leave/@Exit>

[@UpDescPoint()]
#ACT
    mov D1 %ARG(1)
   
#IF    
    equal D0 1 
    HLSCRIPTCMD CHECKITEMPRO 1 14 75
#ACT
   Break
#SAY
Weapon must be MAX level!\
<Leave/@Exit>

#IF
    equal D0 1
#ACT
    mov D2 23
#elseact
    mov D2 7
       
#IF
   HLSCRIPTCMD CHECKITEMAMULETCOUNT %D0 %D2
;checkitem 装备炼制石 1
   HLSCRIPTCMD CHECKISTAKEITEM %D0
#ACT
   HLSCRIPTCMD ITEMREMAKEADD %D0 %D1 1
   take 装备炼制石 1 
#SAY
_您的装备的属性点已经加上去了，取下就可以看到了^_^!\
<返回/@UpAllWeapon>
#elsesay
您的装备的属性点已经到达上限,无法在继续增加属性值!\
或者您没有装备炼制石，不能进行此项操作!\
<返回/@UpAllWeapon>

[@UpDesc11]
#IF
#SAY
<Ignis(Fire)/@UpDesc12(1)>\
<Gelu(Ice)/@UpDesc12(2)>\
<Fulmen(Lightning)/@UpDesc12(3)>\
<Ventus(Wind)/@UpDesc12(4)>\
<Sacer(Holy)/@UpDesc12(5)>
<Ater(Dark)/@UpDesc12(6)>\
<Phasma(Phantom)/@UpDesc12(7)>\
<Back/@UpAllWeapon>

[@UpDesc12()]
#ACT
    mov D1 %ARG(1)

#IF    
    equal D0 1 
    HLSCRIPTCMD CHECKITEMPRO 1 14 75
#ACT
   Break
#SAY
Weapon must be MAX level!\
<Leave/@Exit>

#IF
    equal D0 1
#ACT
    mov D2 23
#elseact
    mov D2 7
 
#IF
    HLSCRIPTCMD CHECKITEMAMULETCOUNT %D0 %D2
;checkitem 装备炼制石 1
    HLSCRIPTCMD CHECKISTAKEITEM %D0
#ACT
    HLSCRIPTCMD ITEMREMAKEEQU %D0 11 %D1 
    HLSCRIPTCMD ITEMREMAKEADD %D0 12 1
    take 装备炼制石 1
#SAY
您的装备的属性点已经加上去了，取下就可以看到了^_^!\
<返回/@UpAllWeapon>
#elsesay
您的装备的属性点已经到达上限,无法在继续增加属性值!\
或者您没有装备炼制石，不能进行此项操作!\
<返回/@UpAllWeapon>	

[@ClearClothes]
#IF
;checkitem 装备炼制石 1
HLSCRIPTCMD CHECKISTAKEITEM %D0
#ACT
HLSCRIPTCMD ITEMREMAKEEQU 0 6 0
take 装备炼制石 1
#SAY
您的装备的弱元素已经洗掉了，取下就可以看到了^_^!\
<返回/@UpAllWeapon>
#Elsesay
您没有装备炼制石，不能进行此项操作!\
}
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;