Wth is with the reinforces?

A place for general discussion about Silkroad Online. Talk about the game or ask questions. Please keep threads Silkroad Online related.
Post Reply
User avatar
Crni_Vatreni
Valued Member
Posts: 468
Joined: Sun Aug 27, 2006 5:25 pm
Quick Reply: Yes
Location: Babel

Wth is with the reinforces?

Post 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?
Image
update: Abrams finally got his sun shield. Sig to be upd.

User avatar
Fuhito
Common Member
Posts: 193
Joined: Wed Nov 08, 2006 8:05 pm
Quick Reply: Yes
Location: Olympus
Contact:

Post by Fuhito »

The reinforce on arm/pro/garms adds to the defense equation ^^
Image
axes || 59 || pluto || on hiatus still

TwelveEleven
Veteran Member
Posts: 3806
Joined: Sat Mar 17, 2007 1:11 am
Quick Reply: Yes
Location: Heaven
Contact:

Re: Wth is with the reinforces?

Post 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)
<<banned from SRF for proof of botting. -SG>>

User avatar
Crni_Vatreni
Valued Member
Posts: 468
Joined: Sun Aug 27, 2006 5:25 pm
Quick Reply: Yes
Location: Babel

Post 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?
Image
update: Abrams finally got his sun shield. Sig to be upd.

Sylhana
Veteran Member
Posts: 3467
Joined: Tue Mar 06, 2007 8:05 am
Quick Reply: Yes
Location: Babel

Post 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.
<<banned from SRF for bot support. -SG>>

User avatar
Crni_Vatreni
Valued Member
Posts: 468
Joined: Sun Aug 27, 2006 5:25 pm
Quick Reply: Yes
Location: Babel

Post by Crni_Vatreni »

Thanks. Will try out as soon as I log in ><
Image
update: Abrams finally got his sun shield. Sig to be upd.

User avatar
Behemoth
Valued Member
Posts: 394
Joined: Sun Feb 12, 2006 7:24 pm
Quick Reply: Yes
Location: Babel
Contact:

Post 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
Rogue much? :D
Image
Ta ławka to manichejska kłoda ateizmu, rzucona rękami neoliberałów pod nogi polskiego katolicyzmu.

Sylhana
Veteran Member
Posts: 3467
Joined: Tue Mar 06, 2007 8:05 am
Quick Reply: Yes
Location: Babel

Post 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 <.<.
<<banned from SRF for bot support. -SG>>

User avatar
Behemoth
Valued Member
Posts: 394
Joined: Sun Feb 12, 2006 7:24 pm
Quick Reply: Yes
Location: Babel
Contact:

Post 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:
Rogue much? :D
Image
Ta ławka to manichejska kłoda ateizmu, rzucona rękami neoliberałów pod nogi polskiego katolicyzmu.

Sylhana
Veteran Member
Posts: 3467
Joined: Tue Mar 06, 2007 8:05 am
Quick Reply: Yes
Location: Babel

Post 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: .
<<banned from SRF for bot support. -SG>>

luffy07
New Member
Posts: 37
Joined: Sat Oct 13, 2007 2:50 pm

Post by luffy07 »

math order of precedence?
multiplication/division > addition/subtraction....
meh nvm

Post Reply

Return to “Silkroad General Discussion”