Weapons allow NPCs to facestab

This commit is contained in:
Michael Cook (mackal)
2017-01-31 17:25:05 -05:00
parent da9792160d
commit d8519bc270
4 changed files with 9 additions and 3 deletions
+2 -2
View File
@@ -528,8 +528,8 @@ void Mob::TryBackstab(Mob *other, int ReuseTime) {
bCanFrontalBS = true;
}
if (bIsBehind || bCanFrontalBS){ // Player is behind other OR can do Frontal Backstab
if (bCanFrontalBS)
if (bIsBehind || bCanFrontalBS || (IsNPC() && CanFacestab())) { // Player is behind other OR can do Frontal Backstab
if (bCanFrontalBS && IsClient()) // I don't think there is any message ...
CastToClient()->Message(0,"Your fierce attack is executed with such grace, your target did not see it coming!");
RogueBackstab(other,false,ReuseTime);