View Single Post
  #1  
Old 06-09-2003, 02:20 AM
Merth
Dragon
 
Join Date: May 2003
Location: Seattle, WA
Posts: 609
Default Melee's won't crit > 10% health

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
Code:
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
Code:
	
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);
	//}
Reply With Quote