Merge pull request #691 from noudess/master

Add rule to use ClassicBackstab (no mob fronttab)
This commit is contained in:
Michael Cook (mackal)
2018-01-10 13:35:21 -05:00
committed by GitHub
2 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -336,7 +336,8 @@ void NPC::AddLootDrop(const EQEmu::ItemData *item2, ItemList* itemlist, int16 ch
eslot = EQEmu::textures::weaponPrimary;
if (item2->Damage > 0) {
SendAddPlayerState(PlayerState::PrimaryWeaponEquipped);
SetFacestab(true);
if (!RuleB(Combat, ClassicNPCBackstab))
SetFacestab(true);
}
if (item2->IsType2HWeapon())
SetTwoHanderEquipped(true);