[7290] Command .npc setdeathstate on/off. Author: GriffonHeart

--HG--
branch : trunk
This commit is contained in:
megamage
2009-02-17 14:51:25 -06:00
parent 1c894bee91
commit d73b38f0fa
7 changed files with 44 additions and 2 deletions
+2
View File
@@ -642,6 +642,8 @@ class TRINITY_DLL_SPEC Creature : public Unit
uint32 GetFormationID(){return m_formationID;}
Unit *SelectVictim();
void SetDeadByDefault (bool death_state) {m_isDeadByDefault = death_state;}
protected:
bool CreateFromProto(uint32 guidlow,uint32 Entry,uint32 team, const CreatureData *data = NULL);
bool InitEntry(uint32 entry, uint32 team=ALLIANCE, const CreatureData* data=NULL);