DB/Creature:
- Nuke the hacky column DeathState. - Removed some hacks from Kologarn script, including some cleanup. - Removed set deathstate command. BIG thanks to Malcrom for replacing all creatures that had deathstate with proper dynamicflags/auras.
This commit is contained in:
@@ -2516,7 +2516,6 @@ void Spell::SelectEffectTargets(uint32 i, uint32 cur)
|
||||
|| (m_targets.GetUnitTarget()->getDeathState() == CORPSE
|
||||
&& m_targets.GetUnitTarget()->GetDisplayId() == m_targets.GetUnitTarget()->GetNativeDisplayId()
|
||||
&& m_targets.GetUnitTarget()->GetTypeId() == TYPEID_UNIT
|
||||
&& !m_targets.GetUnitTarget()->ToCreature()->isDeadByDefault()
|
||||
&& !(m_targets.GetUnitTarget()->GetCreatureTypeMask() & CREATURE_TYPEMASK_MECHANICAL_OR_ELEMENTAL)
|
||||
&& m_targets.GetUnitTarget()->GetDisplayId() == m_targets.GetUnitTarget()->GetNativeDisplayId()))))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user