[HELP] Anyone know how to lower the attack power of the chars in 5165

04/22/2011 06:23 SRBLACKANGEL#1
at level 100 has a power that breaks the other level 120
04/22/2011 14:40 { Angelius }#2
you get it done by understanding the way the damage calculation works,
and than you can at least edit it and change the attack damage amount .

QE.
melee attack ,
at the very first line of the damage calculation void the damage = 0;

and than

damage = random (Attacker.MaxAttack, Attacker.MinAttack);
damage += attacker.str;
damage += Attacker.BattlePower * Attacker.BattlePower / 50;
if (Attacker.stigged) damage = (damage * attacker.stiglevel extra attack percent)
if (Attacker.SuperMan) damage = (damage * 1.8);
if (damage > Target.BattlePower * target.BattlePower / 50)
damage -= Target.BattlePower * target.BattlePower / 50; else damage = 1;
if (damage > 1 && damage > Target.defense) damage -= target.Defense; else damage = 1;
if(damage > 1 && Target.Shielded) if (damage > Target. ShieldLevel extra defense percent) damage-= Target.shieldlevel extra defense percent

etc etc
that was just a quick example,

and to recalculate the whole thing you have to start from the Equip/Unequip void and make sure that the right item status is being added nothing extra nothing less ,

Ps. (case: Lotf)abandoning that source is strongly recommended as it never been calculated the way it should and its crappy

Good Luck ,
04/24/2011 10:09 SRBLACKANGEL#3
Tks man!!! y is too much!!!