Page 1 of 1

Wth is with the reinforces?

Posted: Sun Nov 04, 2007 2:32 am
by Crni_Vatreni

Code: Select all

Source code for physical attack power 
total phy dmg = ((weap phy rein / 100.0) x total str) + weap phy dmg) x ((weap mastery lvl / 100.0) + 1)

Source code for magical attack power
total mag dmg = total int x (weap mag rein / 100.0) + weap mag dmg


I tried it out, and it works. THAT IS THE PROBLEM!
What the hell is with the the reinforces on our armor/prot/garment? It's not included in the code. So it's just there with no reason?

Posted: Sun Nov 04, 2007 2:40 am
by Fuhito
The reinforce on arm/pro/garms adds to the defense equation ^^

Re: Wth is with the reinforces?

Posted: Sun Nov 04, 2007 2:40 am
by TwelveEleven
Crni_Vatreni wrote:

Code: Select all

Source code for physical attack power 
total phy dmg = ((weap phy rein / 100.0) x total str) + weap phy dmg) x ((weap mastery lvl / 100.0) + 1)

Source code for magical attack power
total mag dmg = total int x (weap mag rein / 100.0) + weap mag dmg


I tried it out, and it works. THAT IS THE PROBLEM!
What the hell is with the the reinforces on our armor/prot/garment? It's not included in the code. So it's just there with no reason?


No, more defense if you have higher reinforce.. (if you +ed the item that is)

Posted: Sun Nov 04, 2007 2:49 am
by Crni_Vatreni
Fuhito wrote:The reinforce on arm/pro/garms adds to the defense equation ^^

GAWD! I didnt know there is a defense equation! :shock:
I'm a freakin nab. Does anyone have the defense equation?

Posted: Sun Nov 04, 2007 8:51 am
by Sylhana
Crni_Vatreni wrote:
Fuhito wrote:The reinforce on arm/pro/garms adds to the defense equation ^^

GAWD! I didnt know there is a defense equation! :shock:
I'm a freakin nab. Does anyone have the defense equation?


For phy defense total = add all phy defense value (armor, shield) + add all phy reinforce value (armor, shield) x your str stat / 100.

Do the same for mag defense, but use int stat.

Posted: Sun Nov 04, 2007 11:36 am
by Crni_Vatreni
Thanks. Will try out as soon as I log in ><

Posted: Sun Nov 04, 2007 12:55 pm
by Behemoth
Sylhana wrote:
Crni_Vatreni wrote:
Fuhito wrote:The reinforce on arm/pro/garms adds to the defense equation ^^

GAWD! I didnt know there is a defense equation! :shock:
I'm a freakin nab. Does anyone have the defense equation?


For phy defense total = add all phy defense value (armor, shield) + add all phy reinforce value (armor, shield) x your str stat / 100.

Do the same for mag defense, but use int stat.


this one doesnt work for me at all

figured out sth like that

Code: Select all

char phy def = ((total phy reinforce / 100) * str) + total phy def from gear 

seems to be correct, same for mag def

Posted: Sun Nov 04, 2007 1:14 pm
by Sylhana
:love: Behemoth, its the same formula, just do the multiplications and divisions first :P. I was too lazy to add the brackets, would make it less confusing though <.<.

Posted: Sun Nov 04, 2007 1:30 pm
by Behemoth
Sylhana wrote: :love: Behemoth, its the same formula, just do the multiplications and divisions first :P. I was too lazy to add the brackets, would make it less confusing though <.<.


messy you! -1 for confusing me :oops:

Posted: Sun Nov 04, 2007 1:34 pm
by Sylhana
Behemoth wrote:
Sylhana wrote: :love: Behemoth, its the same formula, just do the multiplications and divisions first :P. I was too lazy to add the brackets, would make it less confusing though <.<.


messy you! -1 for confusing me :oops:


Nah my mistake, thats why we have brackets, I shouldve cleaned that up :wink: .

Posted: Sun Nov 04, 2007 1:48 pm
by luffy07
math order of precedence?
multiplication/division > addition/subtraction....
meh nvm