908 {
910 {
912 {
918
919 if (Merithra)
920 {
925 }
926
927 if (Caelestrasz)
928 {
933 }
934
935 if (Arygos)
936 {
941 }
942
943 if (Anachronos)
944 {
946 anachronosAI->PlayerGUID = player->
GetGUID();
947
949 {
950 triggerAI->Failed = false;
951 triggerAI->PlayerGUID = player->
GetGUID();
952 triggerAI->EventStarted = true;
953 triggerAI->Announced = true;
954 }
955 }
956 }
957 }
958 return true;
959 }
#define CAST_AI(a, b)
Definition: UnitAI.h:26
@ UNIT_NPC_FLAG_NONE
Definition: UnitDefines.h:293
@ UNIT_FIELD_DISPLAYID
Definition: UpdateFields.h:124
@ UNIT_FIELD_BYTES_1
Definition: UpdateFields.h:131
@ TEMPSUMMON_TIMED_OR_DEAD_DESPAWN
Definition: Object.h:45
@ QUEST_A_PAWN_ON_THE_ETERNAL_BOARD
Definition: zone_silithus.cpp:48
@ FACTION_FRIENDLY
Definition: SharedDefines.h:201
Definition: Creature.h:46
CreatureAI * AI() const
Definition: Creature.h:143
static ObjectGuid GetGUID(Object const *o)
Definition: Object.h:109
TempSummon * SummonCreature(uint32 id, const Position &pos, TempSummonType spwtype=TEMPSUMMON_MANUAL_DESPAWN, uint32 despwtime=0, uint32 vehId=0, SummonPropertiesEntry const *properties=nullptr, bool visibleBySummonerOnly=false) const
Definition: Object.cpp:2355
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
Definition: Object.cpp:2446
void SetFaction(uint32 faction)
Definition: Unit.cpp:10018
void SetUInt32Value(uint16 index, uint32 value)
Definition: Unit.cpp:21256
void ReplaceAllNpcFlags(NPCFlags flags)
Definition: Unit.h:697
Definition: zone_silithus.cpp:309
Definition: zone_silithus.cpp:759