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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock