;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[@JifenPromoteWeapon]
{
#say
____{FCOLOR/10}Hello!  Welcome to use the integral system, you also have {FCOLOR/10}<$HLPOINT> Integral{FCOLOR/12}\ \                      
{FCOLOR/12}My technology has causes the weapon to bring back to life the effect,  charge certainly expensive ~{FCOLOR/12}\
{FCOLOR/12}Weapon promotion success ratio needs {FCOLOR/1} 150{FCOLOR/12} Integral!{FCOLOR/12}\
{FCOLOR/12}The weapon rank 10 level of below weapon needs{FCOLOR/1} 500{FCOLOR/12} Integral!{FCOLOR/12}\
{FCOLOR/12}The weapon rank 10 level of above weapon needs{FCOLOR/1}1000{FCOLOR/12} Integral! {FCOLOR/12}\\
{FCOLOR/12}<[ I must use integral to refine weapon ]/@StartPromoteWeapon>{FCOLOR/12}\
{FCOLOR/12}<[ Examines the weapon promotion success ratio ]/@LookWeaponAccess>{FCOLOR/12}\\
{FCOLOR/12}<[ Return ]/@main>{FCOLOR/12}\\

[@LookWeaponAccess]
#IF
HLSCRIPTCMD CHECKPOINT 150
#ELSEACT
break
#ELSESAY
____{FCOLOR/10}Hello!  Welcome to use the integral system, you also have {FCOLOR/10}<$HLPOINT> Integral{FCOLOR/12}\\
{FCOLOR/12}Your integral is insufficient, surplus{FCOLOR/10}<$HLPOINT>{FCOLOR/12} Integral!{FCOLOR/12}\\
{FCOLOR/12}<[ Return ]/@main>{FCOLOR/12}\\


#if 
!HLSCRIPTCMD CHECKITEMPRO 1 10 2
#ACT
HLSCRIPTCMD SETPOINT - 150
#ELSEACT
Break
#ELSESAY
____{FCOLOR/10}Hello!  Welcome to use the integral system, you also have {FCOLOR/10}<$HLPOINT> Integral{FCOLOR/12}\\
{FCOLOR/12}Your weapon did not have the promotion or already tries the knife!{FCOLOR/12}\\
{FCOLOR/12}<[ Return ]/@main> {FCOLOR/12}\\

#if
!HLSCRIPTCMD CHECKITEMPRO 1 10 3
#ACT
GOTO @UpWeaponok
#ELSESAY
____{FCOLOR/10}Hello!  Welcome to use the integral system, you also have {FCOLOR/10}<$HLPOINT> Integral{FCOLOR/12}\\
{FCOLOR/12}Your weapon promotion success ratio is very low!{FCOLOR/12}\
{FCOLOR/12}You spend {FCOLOR/10}150{FCOLOR/12} IntegralSurplus {FCOLOR/10}<$HLPOINT>{FCOLOR/12} Integral{FCOLOR/12}\\
{FCOLOR/12}<[ Return ]/@main>{FCOLOR/12}\\


[@UpWeaponok]
#ACT
movr D5 100

#IF
small D5 60
#SAY
____{FCOLOR/10}Hello!  Welcome to use the integral system, you also have {FCOLOR/10}<$HLPOINT> Integral{FCOLOR/12}\\
{FCOLOR/12}Your weapon promotion success ratio is 60%!{FCOLOR/12}\\
{FCOLOR/12}You spend{FCOLOR/10}150{FCOLOR/12} IntegralSurplus {FCOLOR/10}<$HLPOINT>{FCOLOR/12} Integral{FCOLOR/12}\\
{FCOLOR/12}<[ Return ]/@main>{FCOLOR/12}\\

#IF
elarge D5 60
small D5 80
#SAY
____{FCOLOR/10}Hello!  Welcome to use the integral system, you also have {FCOLOR/10}<$HLPOINT> Integral{FCOLOR/12}\\
{FCOLOR/12}Your weapon promotion success ratio is 80%! {FCOLOR/12}\
{FCOLOR/12}You Spend {FCOLOR/10}150{FCOLOR/12} IntegralSurplus {FCOLOR/10}<$HLPOINT>{FCOLOR/12} Integral{FCOLOR/12}\\
{FCOLOR/12}<[ Return ]/@main>{FCOLOR/12}\\


#IF
elarge D5 80
small D5 100
#SAY
____{FCOLOR/10}Hello!  Welcome to use the integral system, you also have {FCOLOR/10}<$HLPOINT> Integral{FCOLOR/12}\\
{FCOLOR/12}Your weapon promotion success ratio is 100%! {FCOLOR/12}\
{FCOLOR/12}You Spend {FCOLOR/10}150{FCOLOR/12} IntegralSurplus {FCOLOR/10}<$HLPOINT>{FCOLOR/12} Integral{FCOLOR/12}\\
{FCOLOR/12}<[ Return ]/@main>{FCOLOR/12}\\


[@StartPromoteWeapon]
#if 
!HLSCRIPTCMD CHECKITEMPRO 1 10 1 
#SAY
_Please chooses the type which you must promote:  This type is refers  you first time in flies in circles there promotion type.\
_{FCOLOR/1}Surely do not have randomly to elect!  Otherwise the weapon can  vanish!{FCOLOR/12}\
_<Weapon 2 smelting (fire)/@StartPromote(11)>   <Weapon 2 smelting (ice)/@StartPromote(12)>\
_<Weapon 2 smelting (thunder)/@StartPromote(13)>   <Weapon 2 smelting (wind)/@StartPromote(14)>\
_<Weapon 2 smelting (are sacred)/@StartPromote(15)> <Weapon 2 smelting (dark are black)/@StartPromote(16)>\
_<Weapon 2 smelting (illusory image)/@StartPromote(17)> <Weapon 2 smelting (destruction)/@StartPromote(20)>\
_<Weapon 2 smelting (entire series evil spirit law)/@StartPromote(21)>\
_<Return/@main>\
#elsesay
____{FCOLOR/10}Hello!  Welcome to use the integral system, you also have {FCOLOR/10}<$HLPOINT> Integral{FCOLOR/12}\\
{FCOLOR/12}Your weapon does not have the promotion!{FCOLOR/12}\\
{FCOLOR/12}<[ Return ]/@main> {FCOLOR/12}\\

[@StartPromote()]
#ACT
    mov   D0     %ARG(1) 

#if 
!HLSCRIPTCMD CHECKITEMPRO 1 10 1 
#elseact
break

#IF
!HLSCRIPTCMD CHECKITEMPRO 1 14 35
#ACT
mov D5 1000
#ELSEACT
mov D5 500

#IF
  HLSCRIPTCMD CHECKPOINT %D5
#ACT
  HLSCRIPTCMD SETPOINT - %D5
  HLSCRIPTCMD ITEMREMAKEEQU 1 10 %D0
#SAY
_Your weapon already 2 smelting finished!  Please {FCOLOR/10}Trial knife{FCOLOR/12}!\
_You spend {FCOLOR/10}<$OUTPUT(D5)>{FCOLOR/12} IntegralSurplus {FCOLOR/10}<$HLPOINT>{FCOLOR/12} Integral\
_How, my technical also good ~ welcome next time your presence\\
    <Return/@main> 
#elsesay
Your integral is insufficient, but also remains {FCOLOR/1}<$HLPOINT>{FCOLOR/12} Points.\
<Exit/@exit>
}
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;