Jump to content
  • 0

Adding stats to weapons/shields/armor.


Question

Posted

Hi, I would like to know what each part of this code refers to:
 

<add val="25" stat="reflectDam" order="0x40"/>
<add val="30" stat="reflectSkillPhysic" order="0x40"/>
<add val="30" stat="reflectSkillMagic" order="0x40"/>

 

From what I understand the "add val="xx" would be the amount in net number, the "stat=" the attribute name, but what does "order="0x40"/>" mean?

 

I would appreciate if you could help me, since I can not find anyone who can explain a little, I'm learning only by trial and error.

unknown.jpg

3 answers to this question

Recommended Posts

  • 0
Posted

order means when the calculation applies

 

if you for example

 

pAtk +1000 order=1

patk * 2       order=2

 

final patk will be 2000

 

but if you do this 

 

pAtk +1000 order=2

patk * 2       order=1

 

final patk will be 1000

 

 

think of it as parenthesis in mathematics, they just order the calculations

 

whats confusing is that HEX representation is used, but don't mind it

  • Thanks 1
  • 0
Posted

convert hex to dec to see what number is larger, smaller is executed first

 

read my prev reply again, I think u didnt understand

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...