Log in

View Full Version : Melee's won't crit > 10% health


Merth
06-09-2003, 02:20 AM
Many people on my system were complaining that they would not crit until the mob was less than 10% health. The bug was due to some brace funkiness in the code. Here's the fix:

attack.cpp, ~line 496

bool Client::Attack(Mob* other, int Hand, bool bRiposte)
...
line 496 currently:
else
{//Message(0,"Wtf? You can\'t have more than 3 points in finishing blow");}
}

should be:
//else
//{//Message(0,"Wtf? You can\'t have more than 3 points in finishing blow");}
}



attack.cpp ~line 545

bool Client::Attack(Mob* other, int Hand, bool bRiposte)
...
line 545 currently:
other->Damage(this, damage, 0xffff, attack_skill);
}

should be:
other->Damage(this, damage, 0xffff, attack_skill);
//}

Sterbla
06-09-2003, 09:07 AM
On a side note:

Rangers get a whole truckload of crit hits (~75% shots of a lvl 65 uberly equipped ranger are crit bow hits) with bows and every other monk flying kick is a thunderous kick (TK is originally a disc you have to activate with a reuse of about 2 min or so at lvl 60).

I have had several crit hits with my warrior when I used the Emu 4.3 files, so it seems propable that an error slipped in during the changes made since then.

Trumpcard
06-09-2003, 09:29 AM
Corrected it in CVS.
Thanks Merth!