void OnCreatureCreate(Creature* creature) override { switch (creature->GetEntry()) { case NPC_TROLLGORE: TrollgoreGUID = creature->GetGUID(); break; case NPC_NOVOS: NovosGUID = creature->GetGUID(); break; case NPC_KING_DRED: KingDredGUID = creature->GetGUID(); break; case NPC_THARON_JA: TharonJaGUID = creature->GetGUID(); break; case NPC_WORLD_TRIGGER: InitializeTrollgoreInvaderSummoner(creature); break; case NPC_CRYSTAL_CHANNEL_TARGET: InitializeNovosSummoner(creature); break; default: break; } }
void OnCreatureCreate(Creature* creature) { switch (creature->GetEntry()) { case NPC_TROLLGORE: trollgoreGUID = creature->GetGUID(); break; case NPC_NOVOS: novosGUID = creature->GetGUID(); break; case NPC_KING_DRED: dredGUID = creature->GetGUID(); break; case NPC_THARON_JA: tharonJaGUID = creature->GetGUID(); break; case NPC_CRYSTAL_CHANNEL_TARGET: InitializeNovosSummoner(creature); break; } }
void OnCreatureCreate(Creature* creature) { switch (creature->GetEntry()) { case NPC_TROLLGORE: trollgoreGUID = creature->GetGUID(); break; case NPC_NOVOS: novosGUID = creature->GetGUID(); break; case NPC_KING_DRED: dredGUID = creature->GetGUID(); break; case NPC_THARON_JA: tharonJaGUID = creature->GetGUID(); creature->SetReactState(REACT_PASSIVE); creature->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE); break; case NPC_CRYSTAL_CHANNEL_TARGET: InitializeNovosSummoner(creature); break; } }