- 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?
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>