void InitCartQuest(Player *who) { carGUID = who->GetVehicleBase()->GetGUID(); InitWaypoint(); Start(false, false, who->GetGUID()); SetDespawnAtFar(false); }
void Reset() { SetDespawnAtEnd(false); SetDespawnAtFar(false); onplace = false; wavetimer = 0; waves = 0; }
bool GossipSelect(Player* player, uint32 /*menuId*/, uint32 gossipListId) override { uint32 const action = player->PlayerTalkClass->GetGossipOptionAction(gossipListId); ClearGossipMenuFor(player); if (action == GOSSIP_ACTION_INFO_DEF + 1) { CloseGossipMenuFor(player); if (instance) instance->SetData(TYPE_NARALEX_EVENT, IN_PROGRESS); Talk(SAY_MAKE_PREPARATIONS); me->SetFaction(FACTION_ESCORTEE_N_NEUTRAL_ACTIVE); me->SetImmuneToPC(false); Start(false, false, player->GetGUID()); SetDespawnAtFar(false); SetDespawnAtEnd(false); } return true; }
void Reset() { SetDespawnAtFar(false); PotTimer = 10000; //10 sec cooldown on potion }
void SetGUID(uint64 guid, int32 /*id = 0*/) { InitWaypoint(); Start(false, false, guid); SetDespawnAtFar(false); }
void SetGUID(ObjectGuid guid, int32 /*id = 0*/) override { InitWaypoint(); Start(false, false, guid); SetDespawnAtFar(false); }
void Reset() override { SetDespawnAtFar(false); Initialize(); }