[Help]How to change damage 5165

01/19/2010 03:53 N¡ghtMare ?? WooT#91
Quote:
Originally Posted by Huseby View Post
Just change the hole itemtype.dat so all the weapons got the same attack values 0.o
thats crazy >.<
01/19/2010 04:29 Arcо#92
Quote:
Originally Posted by N¡ghtMare ?? WooT View Post
thats crazy >.<
Lol I believe he was being sarcastic.
01/19/2010 11:57 ramix#93
i chance the dodge in boots but the archer have the same damage :S i put th boots 130 dodge and with plus +80 in total have 210 dodge :S but the damage is the same :S
01/19/2010 22:24 intel_ro#94
Quote:
Originally Posted by ramix View Post
i chance the dodge in boots but the archer have the same damage :S i put th boots 130 dodge and with plus +80 in total have 210 dodge :S but the damage is the same :S
u telling me u make new item ?
01/20/2010 12:54 ramix#95
yes i modificate the boots and put more low dodge for the archer get low power xD

but have the same damage :S
01/21/2010 16:37 intel_ro#96
Quote:
Originally Posted by ramix View Post
yes i modificate the boots and put more low dodge for the archer get low power xD

but have the same damage :S
If u lower dodge u will make archer more powerfull :D
01/21/2010 17:41 ramix#97
why? i chance the calculation too :S
01/21/2010 19:33 pro4never#98
If you are editing item stats, make sure you edit it both server side AND client side (if not, what you see ingame isn't going to be correct)

Another thing you could do for debuging damage is, add a temporary console write line printing out the attack calculation for archers so you can fine tune it.


Eg

Console.WriteLine("Arrow Dmg: " + W/e the damage variable is called + " Dodge: " + GC.Client.Dodge (again, w/e it's called in lotf));

or add w/e else you wanna check to determine how much to lower/raise attack

that sort of thing will cause it to print to console EVERY attack allowing you to see very easily how the attack is calculated and makes things alot easier to debug.

Temporary console printing = win
01/21/2010 21:17 intel_ro#99
Quote:
Originally Posted by ramix View Post
why? i chance the calculation too :S
is simple if u look on line is someting like

dmg * (( 110 - equip.dodge) / 100)

if u lowere equi.dodge
example - if item dodge is 100
and your dmg is 10K

10K * 10 / 100
if dodge is 90
10K * 20 / 100

:P