- Dec 15, 2007
- 230
- 1
- 44
[@Main]
Begin
#SAY
<[HiperRevivalRing]/@cambioint> \
[@cambioint]
#IF
#ACT
mov D1 %ARG(1)
mov A0 %ARG(2)
#IF
Equal A0 ""
#ACT
FormatStr "FLD_USERID='%s'" %USERID
mov A8 %A9
check D1 1000
mov D8 %D1
FormatStr "FLD_POINT='%s'" %D8
UPDATEVALUESQL "TBL_RELATPOINT" %A8 %A9
goto @change
[change]
#ACT
FormatStr "FLD_USERID='%s'" %USERID
mov A8 %A9
DEC D1 1000
mov D8 %D1
FormatStr "FLD_POINT='%s'" %D8
UPDATEVALUESQL "TBL_RELATPOINT" %A8 %A9
give HiperRevivalRing 1
i have this in my npc i want change 1000 integrals for 1 HiperRevivalRing but integrals dont DEC and npc dont give me Ring
can anyone help me plz?
Begin
#SAY
<[HiperRevivalRing]/@cambioint> \
[@cambioint]
#IF
#ACT
mov D1 %ARG(1)
mov A0 %ARG(2)
#IF
Equal A0 ""
#ACT
FormatStr "FLD_USERID='%s'" %USERID
mov A8 %A9
check D1 1000
mov D8 %D1
FormatStr "FLD_POINT='%s'" %D8
UPDATEVALUESQL "TBL_RELATPOINT" %A8 %A9
goto @change
[change]
#ACT
FormatStr "FLD_USERID='%s'" %USERID
mov A8 %A9
DEC D1 1000
mov D8 %D1
FormatStr "FLD_POINT='%s'" %D8
UPDATEVALUESQL "TBL_RELATPOINT" %A8 %A9
give HiperRevivalRing 1
i have this in my npc i want change 1000 integrals for 1 HiperRevivalRing but integrals dont DEC and npc dont give me Ring
can anyone help me plz?
