• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Damage weapons error

3688599

Darkness-babek.no-ip.org
Joined
Mar 23, 2013
Messages
72
Reaction score
8
Damage does not hit properly in spells , weapons


d1.png


d2.png

How to fix this problem .?
 

M0ustafa

1337
Senator
Joined
Mar 4, 2017
Messages
2,471
Solutions
308
Reaction score
1,049
Location
Egypt
If you are using OTX like you mentioned on your last post then try checking data/XML/vocations.xml
and get sure if you have the correct numbers like this one
XML:
meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0"
 

Roni123

Hardstyle Never Die < 3 !!!
Premium User
Joined
Aug 31, 2010
Messages
142
Reaction score
9
Location
Gorzów Wielkopolski
You should use this function under setCombatParam

setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0, -75, 0, -125)

Where -75 are min and -125 max so you can change this.

Then delete function onGetFormulaValues and setCombatCallback.
 

M0ustafa

1337
Senator
Joined
Mar 4, 2017
Messages
2,471
Solutions
308
Reaction score
1,049
Location
Egypt
Looks like it doesn't work.
From his previous thread, He said it returns wrong numbers too.
If the solutions above didn't work, You might consider add this commit (although this is only for melee and distance weapons).
 
OP
3688599

3688599

Darkness-babek.no-ip.org
Joined
Mar 23, 2013
Messages
72
Reaction score
8
Post automatically merged:

Looks like it doesn't work.
From his previous thread, He said it returns wrong numbers too.
If the solutions above didn't work, You might consider add this commit (although this is only for melee and distance weapons).
melee / distance
its not help ;/
 
Last edited:
Top