mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-19 13:28:25 +00:00
Improper skill in use allowing riposte fix (Archery and Throwing allowing riposte check..no known bug reports)
This commit is contained in:
+1
-1
@@ -8086,7 +8086,7 @@ void Bot::DoSpecialAttackDamage(Mob *who, SkillType skill, int32 max_damage, int
|
||||
|
||||
else{
|
||||
bool CanRiposte = true;
|
||||
if(skill == THROWING && skill == ARCHERY)
|
||||
if(skill == THROWING || skill == ARCHERY) // changed from '&&'
|
||||
CanRiposte = false;
|
||||
|
||||
who->AvoidDamage(this, max_damage, CanRiposte);
|
||||
|
||||
Reference in New Issue
Block a user