• 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, Armor, Defense Formulas [TFS 1.0][10.41]

xardas33

New Member
Joined
Jan 28, 2010
Messages
83
Reaction score
0
Hello guys. I want ask you where and i can find damage, armor and defense formulas in TFS 1.0 10.41, and how to edit this. Exmaple let every point of armor reduce taken damage by 2, or skills giving much more damage than normal.
 
Last edited:
EDIT:: Sorry i misunderstood what you ment.

If you want to block more dmg per point of armor and do more dmg per skill then look in vocations.xml

These are the multipliers
Code:
<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
@xardas33
 
Last edited:
But... I want to totally change example Damage Formula:
Example if I have 100 lvl and 100 sword skill i can deal max damage -> 100 * 0.4 + 50 * 10 = 540 damage
(50 is weapon atk)
And minimum damage I can deal example 50% of max damage

Or

Armor Formula:
Every point of armor EVERY TIME reduce incoming damage by 2.
 
1. Do some reading on basic C++.
2. Edit appropriate functions in creature.cpp (e.g. Creature::blockHit(...) for blocking formulas).
 
Back
Top