[Holley] Upgrade/Change ADV

Mufasa

Dedicated Member
Dedicated Member
Dec 7, 2012
27
0
28
I would like to know how to upgrade or change the adv of items, is something like this, but I cannot get it to work..
Can anyone help me please?


Code:
<[ Necklace ]/@UpDesc(3)>

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

#IF
   equal D0 0
#SAY
<Attack element/@UpDesc11>\

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

#IF    
    equal D0 1 
    HLSCRIPTCMD CHECKITEMPRO 1 14 75
#ACT
   Break
#SAY
The weapon will have to want MAX later only then to be able to use  this system to promote!\
<Exit/@exit>

#IF
    equal D0 1
#ACT
    mov D2 23
#elseact
    mov D2 7
 
#IF
    HLSCRIPTCMD CHECKITEMAMULETCOUNT %D0 %D2
    HLSCRIPTCMD CHECKISTAKEITEM %D0
#ACT
    HLSCRIPTCMD ITEMREMAKEEQU %D0 11 %D1 
    HLSCRIPTCMD ITEMREMAKEADD %D0 12 1
#SAY
Your equipment attribute already added on, took down may see ^_^!\
<Return/@UpDesc>
#elsesay
Your equipment attribute already arrived the upper limit, was unable  to continue to increase the attribute value!\\
<Return/@UpDesc>
 

Yolom

LOMCN Veteran
Veteran
Aug 7, 2010
325
21
45
Spain
Code:
<[ Necklace ]/@UpDesc(3)>

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

#IF
   equal D0 0
#SAY
<Attack element/@UpDesc[SIZE=4][COLOR=#ff0000]11[/COLOR][/SIZE]>\

[@UpDesc[SIZE=4][COLOR=#ff0000]11[/COLOR][/SIZE]()]
#ACT
    mov D1 %ARG(1)

#IF    
    equal D0 1 
    HLSCRIPTCMD CHECKITEMPRO 1 14 75
#ACT
   Break
#SAY
The weapon will have to want MAX later only then to be able to use  this system to promote!\
<Exit/@exit>

#IF
    equal D0 1
#ACT
    mov D2 23
#elseact
    mov D2 7
 
#IF
    HLSCRIPTCMD CHECKITEMAMULETCOUNT %D0 %D2
    HLSCRIPTCMD CHECKISTAKEITEM %D0
#ACT
    HLSCRIPTCMD ITEMREMAKEEQU %D0 11 %D1 
    HLSCRIPTCMD ITEMREMAKEADD %D0 12 1
#SAY
Your equipment attribute already added on, took down may see ^_^!\
<Return/@UpDesc>
#elsesay
Your equipment attribute already arrived the upper limit, was unable  to continue to increase the attribute value!\\
<Return/@UpDesc>

Maybe wrong call.
 
Upvote 0

Mufasa

Dedicated Member
Dedicated Member
Dec 7, 2012
27
0
28
I put the script changes the ATT I need to change the ADV.

La script que he puesto cambia el ATT y yo necesito la que cambia o pone el ADV.
 
Upvote 0