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
+3 -1
View File
@@ -332,8 +332,10 @@ void NPC::AddLootDrop(const EQEmu::ItemData *item2, ItemList* itemlist, int16 ch
CastToMob()->AddProcToWeapon(item2->Proc.Effect, true);
eslot = EQEmu::textures::weaponPrimary;
if (item2->Damage > 0)
if (item2->Damage > 0) {
SendAddPlayerState(PlayerState::PrimaryWeaponEquipped);
SetFacestab(true);
}
if (item2->IsType2HWeapon())
SetTwoHanderEquipped(true);
}