Calculate the Weapon %

03/20/2011 22:29 ighor10#1
Hi guys,

Anyone know how can i calculate the difference of an atribute of the weapon by the %?

for example:

Phy. attack power 504 ~ 616 (0%)

Phy. attack power X ~ Y (50%)

I cant figure out how to calculate the X and Y.

i realy need to do it.

Thank you guys.
03/20/2011 23:16 sirfhalas#2
dunno the formula but you can do it on [Only registered and activated users can see links. Click Here To Register...] > weapon
or [Only registered and activated users can see links. Click Here To Register...]
click on the weapon you want and add the %'s
03/21/2011 00:05 ighor10#3
No :S

I realy need the formula, because i am making an application that will need it.

i want to save all information about normal weapons, and then i want to calculate the abnormal weapons, like weapons with 60% of atack and etc.
03/21/2011 00:34 npcdoom#4
Well its really simple, base + ((max-min)/100)*percent
03/21/2011 01:06 ighor10#5
Humm.
Thx. its what i need.


BTW, do u know a good place to get all this information?

I need information about all Chinese Weapons/armors, with base-min-max.
and an image 16x16 if possible
03/21/2011 01:21 dracek#6
Quote:
Originally Posted by ighor10 View Post
Humm.
Thx. its what i need.


BTW, do u know a good place to get all this information?

I need information about all Chinese Weapons/armors, with base-min-max.
and an image 16x16 if possible
media.pk2
04/04/2011 16:25 .Veteran>#7
Quote:
Originally Posted by npcdoom View Post
Well its really simple, base + ((max-min)/100)*percent
What you mean with the base?
04/04/2011 16:38 kevin_owner#8
I guess the player strength when he has no weapons on it. so the damage which you create with your fists. and the strength and int points which also increase those.

EDIT: after reading this thread again i'm pretty sure that i'm not correct:P
04/04/2011 21:22 npcdoom#9
Quote:
Originally Posted by .Veteran> View Post
What you mean with the base?
Item base damage, when its 0%.
04/07/2011 16:52 .Veteran>#10
I still don't get how to calculate it in the qword/lword of the item packet
Could you tell me how?
04/08/2011 06:24 naty48#11
Firstly define some variables:
A = Basic Attack Power
B = Skill Attack Power
C = Attack Power Increasing rate
D = Enemy's total accessories Absorption rate
E = Enemy's Defence Power
F = Balance rate
G = Total Damage Increasing rate
H = Skill Attack Power rate

A final damage formula :
Damage = ((A + B)*(1 + C)/(1 + D) - E)*F*(1 + G)*H

hope is that helping out..
04/08/2011 07:21 lesderid#12
Quote:
Originally Posted by naty48 View Post
A final damage formula :
Damage = ((A + B)*(1 + C)/(1 + D) - E)*F*(1 + G)*H
A more graphical representation: [Only registered and activated users can see links. Click Here To Register...]
04/08/2011 13:56 Keyeight#13
will thx alot lesderid for this help ^^
04/14/2011 20:30 .Veteran>#14
Somebody knew how to calculate it into the qword of the item packet?Wasted so much time into this shit and still don't get howto
04/14/2011 21:56 DaxterSoul#15
I did that already and it was very difficult because you have to compare much items, but finally i got it as you can see on these pictures:
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]

If you play around with this value you may find out how it works.

If you send
1 --> Durability = 3%
2 --> Durability = 6%
3 --> Durability = 9%
...
we will end at 31 --> Durability = 100%.

Good the first value is full and we can continue
32 --> Durability = 0% but Phy Reinforce = 3%
33 --> Durability = 3% but Phy Reinforce = 3%
34 --> Durability = 6% but Phy Reinforce = 3%
...

I hope this helps you to figure out the logic.