;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[@checkRefinePoints]
{
#IF
CheckWeaponlevel 1

#SAY
You are currently wearing a {FCOLOR/10}<$USERWEAPON>{FCOLOR/12}\
Do you wish to reset this weapon?\
This will cost {FCOLOR/12}1 Million{FCOLOR/10} Gold\
{FCOLOR/1}This will also clear ALL RAGE Refines{FCOLOR/10}\
<[ Reset My Weapon ]/@CancleRefine>\
<[ Exit ]/@exit>\


#ELSESAY
You must wear your weapon to reset it\
<[ Exit ]/@exit>\

[@CancleRefine]
#IF
#ACT
TestRefinePoints

#IF
IsAdmin

#SAY
Refine points = <$OUTPUT(P9)>\

#IF
ESmall P9 20

#SAY
With this material, "<$INPUTSTR>", you will have {FCOLOR/12}70%{FCOLOR/10} success\
Do you want to continue?\
<[ Reset My Weapon ]/@DoResetRefine>\
<[ Exit ]/@exit>\

#ACT
break

#IF
ESmall P9 30

#SAY
With this material, "<$INPUTSTR>", you will have {FCOLOR/12}80%{FCOLOR/10} success\
Do you want to continue?\
<[ Reset My Weapon ]/@DoResetRefine>\
<[ Exit ]/@exit>\

#ACT
break

#IF

#SAY
With this material, "<$INPUTSTR>", you will have {FCOLOR/12}90%{FCOLOR/10} success\
Do you want to continue?\
<[ Reset My Weapon ]/@DoResetRefine>\
<[ Exit ]/@exit>\

#ACT
break

[@DoResetRefine]
#IF
CheckWeaponlevel 1
checkgold 1000000
#ACT
take Gold 1000000
ResetRefineWeapon
Close

#ELSESAY
You do not have all the required items\
1,000,000 Gold\
1 * EvilSpiritSpar\
<[ Exit ]/@exit>\

}
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;