Changeset 1140
- Timestamp:
- 02/01/2010 08:47:39 AM (7 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
Trunk/src/QuestScripts/Quest_Eastern_Plaguelands.cpp
r1114 r1140 37 37 Creature* creat = _unit->GetMapMgr()->GetInterface()->SpawnCreature(11064, _unit->GetPositionX(), _unit->GetPositionY(), _unit->GetPositionZ(), _unit->GetOrientation(), true, false, 0, 0); 38 38 if(creat) 39 sEventMgr.AddEvent(creat, &Creature::SafeDelete, EVENT_CREATURE_REMOVE_CORPSE,60000, 1,0);39 creat->Despawn(60000,0); 40 40 } 41 41 … … 75 75 76 76 Spirit->SetUInt64Value(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE); 77 sEventMgr.AddEvent(Spirit, &Creature::SafeDelete, EVENT_CREATURE_REMOVE_CORPSE,5000, 1, 0);78 77 Spirit->Despawn(4000, 0); 79 78 }
![(please configure the [header_logo] section in trac.ini)](/trac/arcscripts/chrome/site/your_project_logo.png)