76 player->CastSpell(player, 26095,
false);
94 player->CastSpell(player, 22864,
false);
121 Stillblade->AI()->AttackStart(player);
139 if (player->GetQuestRewardStatus(7761))
140 player->CastSpell(player, 23460,
true);
158 player->CastSpell(player, 24267,
false);
180 player->CastSpell(player, 15065,
false);
198 player->CastSpell(player, 33382,
true);
220 22810, 22811, 22812, 22813, 22814, 22815,
221 20783, 20784, 20785, 20786, 20788, 20789, 20790
231 go->UseDoorOrButton();
237 if (!creature->IsHostileTo(player))
243 switch (pFaction->faction)
254 creature->CastSpell(player,
Spell,
false);
256 SF_LOG_ERROR(
"scripts",
"go_ethereum_prison summoned Creature (entry %u) but faction (%u) are not expected by script.", creature->GetEntry(), creature->getFaction());
271 22825, 20888, 22827, 22826, 22828
281 go->UseDoorOrButton();
284 player->SummonCreature(
NpcStasisEntry[Random], go->GetPositionX(), go->GetPositionY(), go->GetPositionZ(), go->GetAngle(player),
363 switch (go->GetEntry())
421#define GO_TELE_TO_DALARAN_CRYSTAL_FAILED "This teleport crystal cannot be used until the teleport crystal in Dalaran has been used at least once."
461#define GOSSIP_FEL_CRYSTALFORGE_TEXT 31000
462#define GOSSIP_FEL_CRYSTALFORGE_ITEM_TEXT_RETURN 31001
463#define GOSSIP_FEL_CRYSTALFORGE_ITEM_1 "Purchase 1 Unstable Flask of the Beast for the cost of 10 Apexis Shards"
464#define GOSSIP_FEL_CRYSTALFORGE_ITEM_5 "Purchase 5 Unstable Flask of the Beast for the cost of 50 Apexis Shards"
465#define GOSSIP_FEL_CRYSTALFORGE_ITEM_RETURN "Use the fel crystalforge to make another purchase."
481 player->PrepareQuestMenu(go->GetGUID());
493 player->PlayerTalkClass->ClearMenus();
520#define GOSSIP_BASHIR_CRYSTALFORGE_TEXT 31100
521#define GOSSIP_BASHIR_CRYSTALFORGE_ITEM_TEXT_RETURN 31101
522#define GOSSIP_BASHIR_CRYSTALFORGE_ITEM_1 "Purchase 1 Unstable Flask of the Sorcerer for the cost of 10 Apexis Shards"
523#define GOSSIP_BASHIR_CRYSTALFORGE_ITEM_5 "Purchase 5 Unstable Flask of the Sorcerer for the cost of 50 Apexis Shards"
524#define GOSSIP_BASHIR_CRYSTALFORGE_ITEM_RETURN "Use the bashir crystalforge to make another purchase."
540 player->PrepareQuestMenu(go->GetGUID());
552 player->PlayerTalkClass->ClearMenus();
603 switch (go->GetEntry())
656 go->UseDoorOrButton();
660 pNearestPrisoner->DisappearAndDie();
741 go->UseDoorOrButton();
753 if (!pPrisoner || !pPrisoner->
IsAlive())
873 go->UseDoorOrButton();
889 if (!pPrisoner || !pPrisoner->
IsAlive())
921 go->UseDoorOrButton();
940#define GOSSIP_USE_OUTHOUSE "Use the outhouse."
941#define GO_ANDERHOLS_SLIDER_CIDER_NOT_FOUND "Quest item Anderhol's Slider Cider not found."
976 player->PlayerTalkClass->ClearMenus();
979 player->CLOSE_GOSSIP_MENU();
983 target->
AI()->
SetData(1, player->getGender());
993 player->CLOSE_GOSSIP_MENU();
1056 go->UseDoorOrButton();
1065 prisoner->DespawnOrUnsummon(6000);
1083 go->UseDoorOrButton();
1087 std::list<Creature*> prisonerList;
1089 for (std::list<Creature*>::const_iterator itr = prisonerList.begin(); itr != prisonerList.end(); ++itr)
1092 (*itr)->DespawnOrUnsummon(6000);
1118 go->UseDoorOrButton();
1121 std::list<Creature*> childrenList;
1123 for (std::list<Creature*>::const_iterator itr = childrenList.begin(); itr != childrenList.end(); ++itr)
1126 (*itr)->DespawnOrUnsummon(5000);
1127 (*itr)->GetMotionMaster()->MovePoint(1, go->GetPositionX()+5, go->GetPositionY(), go->GetPositionZ());
1129 (*itr)->GetMotionMaster()->Clear();
1155 go->UseDoorOrButton(10);
1185 player->CLOSE_GOSSIP_MENU();
#define SF_LOG_ERROR(filterType__,...)
@ TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT
@ TEMPSUMMON_TIMED_DESPAWN
@ TEMPSUMMON_DEAD_DESPAWN
@ TEMPSUMMON_TIMED_OR_DEAD_DESPAWN
#define INTERACTION_DISTANCE
@ QUEST_STATUS_INCOMPLETE
Creature * GetClosestCreatureWithEntry(WorldObject *source, uint32 entry, float maxSearchRange, bool alive)
void GetCreatureListWithEntryInGrid(std::list< Creature * > &list, WorldObject *source, uint32 entry, float maxSearchRange)
@ GAMEOBJECT_TYPE_QUESTGIVER
GameObjectScript(const char *name)
QuestObjective const * GetQuestObjectiveXIndex(uint8 index) const
virtual void SetData(uint32, uint32)
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
TempSummon * SummonCreature(uint32 id, Position const &pos, TempSummonType spwtype=TempSummonType::TEMPSUMMON_MANUAL_DESPAWN, uint32 despwtime=0, uint32 vehId=0) const
bool OnGossipHello(Player *player, GameObject *go) OVERRIDE
bool OnGossipSelect(Player *player, GameObject *go, uint32, uint32 action) OVERRIDE
bool OnGossipHello(Player *player, GameObject *go) OVERRIDE
bool OnGossipHello(Player *player, GameObject *) OVERRIDE
bool OnGossipHello(Player *player, GameObject *go) OVERRIDE
bool OnGossipSelect(Player *player, GameObject *go, uint32, uint32 action) OVERRIDE
bool OnGossipHello(Player *player, GameObject *go) OVERRIDE
bool OnGossipHello(Player *player, GameObject *) OVERRIDE
bool OnGossipHello(Player *player, GameObject *go) OVERRIDE
go_ethereal_teleport_pad()
bool OnGossipHello(Player *player, GameObject *go) OVERRIDE
bool OnGossipHello(Player *player, GameObject *go) OVERRIDE
bool OnGossipHello(Player *player, GameObject *go) OVERRIDE
bool OnGossipSelect(Player *player, GameObject *go, uint32, uint32 action) OVERRIDE
bool OnGossipHello(Player *player, GameObject *go) OVERRIDE
go_field_repair_bot_74A()
bool OnGossipHello(Player *player, GameObject *) OVERRIDE
bool OnGossipHello(Player *player, GameObject *go) OVERRIDE
bool OnGossipHello(Player *player, GameObject *go) OVERRIDE
bool OnGossipHello(Player *player, GameObject *go) OVERRIDE
bool OnGossipHello(Player *player, GameObject *go) OVERRIDE
bool OnGossipHello(Player *player, GameObject *) OVERRIDE
go_inconspicuous_landmark()
bool OnGossipHello(Player *player, GameObject *go) OVERRIDE
bool OnGossipHello(Player *player, GameObject *) OVERRIDE
bool OnGossipHello(Player *player, GameObject *go) OVERRIDE
go_large_gjalerbron_cage()
bool OnGossipHello(Player *, GameObject *go) OVERRIDE
go_massive_seaforium_charge()
bool OnGossipHello(Player *player, GameObject *go) OVERRIDE
bool OnGossipSelect(Player *player, GameObject *, uint32, uint32) OVERRIDE
bool OnGossipHello(Player *player, GameObject *) OVERRIDE
bool OnGossipHello(Player *, GameObject *go) OVERRIDE
bool OnGossipHello(Player *player, GameObject *go) OVERRIDE
bool OnGossipHello(Player *player, GameObject *go) OVERRIDE
bool OnGossipHello(Player *player, GameObject *go) OVERRIDE
bool OnGossipHello(Player *player, GameObject *) OVERRIDE
bool OnGossipHello(Player *player, GameObject *go) OVERRIDE
bool OnGossipHello(Player *player, GameObject *) OVERRIDE
bool OnGossipHello(Player *player, GameObject *go) OVERRIDE
bool OnGossipHello(Player *player, GameObject *go) OVERRIDE
go_tele_to_dalaran_crystal()
bool OnGossipHello(Player *player, GameObject *) OVERRIDE
bool OnGossipHello(Player *player, GameObject *) OVERRIDE
go_tele_to_violet_stand()
bool OnGossipHello(Player *player, GameObject *go) OVERRIDE
@ ITEM_ANDERHOLS_SLIDER_CIDER
@ SPELL_CREATE_AMBERSEEDS
@ NPC_EBON_BLADE_PRISONER_TROLL
@ SPELL_SUMMON_BLADE_KNIGHT_NE
@ NPC_EBON_BLADE_PRISONER_NE
@ SPELL_SUMMON_BLADE_KNIGHT_H
@ SPELL_SUMMON_BLADE_KNIGHT_ORC
@ NPC_EBON_BLADE_PRISONER_ORC
@ NPC_EBON_BLADE_PRISONER_HUMAN
@ SPELL_SUMMON_BLADE_KNIGHT_TROLL
@ ITEM_PRISMATIC_PUNCH_CARD
@ MATRIX_PUNCHOGRAPH_3005_C
@ MATRIX_PUNCHOGRAPH_3005_D
@ MATRIX_PUNCHOGRAPH_3005_B
@ MATRIX_PUNCHOGRAPH_3005_A
@ SPELL_YELLOW_PUNCH_CARD
@ SPELL_PRISMATIC_PUNCH_CARD
#define GO_ANDERHOLS_SLIDER_CIDER_NOT_FOUND
#define GOSSIP_FEL_CRYSTALFORGE_ITEM_TEXT_RETURN
@ SPELL_CREATE_5_FLASK_OF_BEAST
@ SPELL_CREATE_1_FLASK_OF_BEAST
#define GO_TELE_TO_DALARAN_CRYSTAL_FAILED
@ QUEST_HIVE_IN_THE_TOWER
@ ITEM_TELEPORTER_POWER_PACK
#define GOSSIP_USE_OUTHOUSE
#define GOSSIP_BASHIR_CRYSTALFORGE_ITEM_RETURN
@ SPELL_CREATE_5_FLASK_OF_SORCERER
@ SPELL_CREATE_1_FLASK_OF_SORCERER
@ QUEST_PRISONERS_OF_WYRMSKULL
@ QUEST_OH_NOES_THE_TADPOLES
const uint32 NpcPrisonEntry[]
@ QUEST_THE_CLEANSING_ALLIANCE
@ QUEST_THE_CLEANSING_HORDE
@ SPELL_RECENT_MEDITATION
#define GOSSIP_FEL_CRYSTALFORGE_ITEM_RETURN
#define GOSSIP_BASHIR_CRYSTALFORGE_TEXT
#define GOSSIP_BASHIR_CRYSTALFORGE_ITEM_TEXT_RETURN
@ NPC_GJALERBRON_PRISONER
@ QUEST_ALLIANCE_OF_KEYS_AND_CAGES
@ QUEST_HORDE_OF_KEYS_AND_CAGES
#define GOSSIP_FEL_CRYSTALFORGE_ITEM_1
@ SPELL_ARCANE_PRISONER_KILL_CREDIT
#define GOSSIP_BASHIR_CRYSTALFORGE_ITEM_1
@ SPELL_SUMMON_PIRATES_TREASURE_AND_TRIGGER_MOB
#define GOSSIP_FEL_CRYSTALFORGE_ITEM_5
#define GOSSIP_FEL_CRYSTALFORGE_TEXT
@ STAMP_OUT_BONFIRE_QUEST_COMPLETE
const uint32 NpcStasisEntry[]
@ QUEST_TELE_CRYSTAL_FLAG
@ QUEST_LEARN_LEAVE_RETURN
#define GOSSIP_BASHIR_CRYSTALFORGE_ITEM_5
@ SPELL_SUMMON_GHOST_SABER
@ SPELL_ARCANE_PRISONER_KILL_CREDIT