Improper skill in use allowing riposte fix (Archery and Throwing allowing riposte check..no known bug reports)

This commit is contained in:
Uleat
2013-10-27 03:25:27 -04:00
parent cab77e83da
commit b3d117f8c1
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -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);