Misc Fixes
This commit is contained in:
@@ -2873,7 +2873,7 @@ namespace Game.Entities
|
||||
{
|
||||
return GetCreatureTemplate().InhabitType.HasAnyFlag(InhabitType.Air);
|
||||
}
|
||||
public bool IsDungeonBoss() { return (GetCreatureTemplate().FlagsExtra.HasAnyFlag(CreatureFlagsExtra.DungeonBoss); }
|
||||
public bool IsDungeonBoss() { return (GetCreatureTemplate().FlagsExtra.HasAnyFlag(CreatureFlagsExtra.DungeonBoss)); }
|
||||
|
||||
public void SetReactState(ReactStates st)
|
||||
{
|
||||
|
||||
@@ -6585,7 +6585,7 @@ namespace Game.Entities
|
||||
m_AELootView[loot.GetGUID()] = guid;
|
||||
|
||||
if (loot_type == LootType.Corpse && !guid.IsItem())
|
||||
SetUnitFlags(UnitFlags.Looting);
|
||||
AddUnitFlag(UnitFlags.Looting);
|
||||
}
|
||||
else
|
||||
SendLootError(loot.GetGUID(), guid, LootError.DidntKill);
|
||||
|
||||
@@ -4211,7 +4211,8 @@ namespace Game.Entities
|
||||
packet.PlayerGUID = GetGUID();
|
||||
SendPacket(packet);
|
||||
|
||||
if (GetRace() == Race.NightElf)
|
||||
// If the player has the Wisp racial then cast the Wisp aura on them
|
||||
if (HasSpell(20585))
|
||||
CastSpell(this, 20584, true);
|
||||
CastSpell(this, 8326, true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user