313 int8 pos_to_summon = 0;
314 int8 phase_to_set = 0;
315 int32 gate_to_close = 0;
353 if (gate_to_close && (caster->
GetMap()->
GetId() == 289))
355 for (
uint8 i = 0; i < 3; ++i)
359 Summoned->GetMotionMaster()->MoveRandom(5);
360 Summoned->AI()->SetData(0, phase_to_set);
Definition: boss_darkmaster_gandling.cpp:279
int8_t int8
Definition: Define.h:148
Definition: scholomance.h:49
Map * GetMap() const
Definition: Object.h:543
Definition: boss_darkmaster_gandling.cpp:281
Definition: Creature.h:467
Definition: scholomance.h:47
uint32 GetId(void) const
Definition: Map.h:325
virtual ObjectGuid GetGuidData(uint32 type) const override
Definition: InstanceScript.cpp:93
Definition: boss_darkmaster_gandling.cpp:272
Position const SummonPos[18]
Definition: boss_darkmaster_gandling.cpp:242
Definition: boss_darkmaster_gandling.cpp:280
int32_t int32
Definition: Define.h:146
SpellInfo const * GetSpellInfo()
Definition: SpellScript.cpp:404
Definition: GameObject.h:880
Definition: scholomance.h:51
Definition: scholomance.h:50
Definition: GameObject.h:823
InstanceScript * _instance
Definition: boss_darkmaster_gandling.cpp:374
Unit * GetCaster()
Definition: SpellScript.cpp:394
Definition: boss_darkmaster_gandling.cpp:277
Definition: scholomance.h:52
TC_GAME_API GameObject * GetGameObject(WorldObject const &u, ObjectGuid const &guid)
Definition: ObjectAccessor.cpp:143
uint8_t uint8
Definition: Define.h:152
Definition: boss_darkmaster_gandling.cpp:282
Definition: scholomance.h:48
TempSummon * SummonCreature(uint32 id, Position const &pos, TempSummonType spwtype=TEMPSUMMON_MANUAL_DESPAWN, uint32 despwtime=0, uint32 vehId=0) const
Definition: Object.cpp:2346
Definition: boss_darkmaster_gandling.cpp:278