Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4

Conflicts:
	src/server/scripts/EasternKingdoms/zone_ironforge.cpp
	src/server/scripts/Spells/spell_generic.cpp
This commit is contained in:
Vincent-Michael committed 2013-07-17 20:24:29 +02:00
commit 63675c3b0b
7 files changed
+2603 -2551

No files matched your search

@@ -1,6 +1,5 @@
/*
* Copyright (C) 2008-2013 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
@@ -16,16 +15,6 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/* ScriptData
SDName: Ironforge
SD%Complete: 0
SDComment:
SDCategory: Ironforge
EndScriptData */
/* ContentData
EndContentData */
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
File diff suppressed because it is too large. Load diff
+37 -106
View File
@@ -18,9 +18,6 @@
/* ContentData
go_cat_figurine (the "trap" version of GO, two different exist)
go_northern_crystal_pylon
go_eastern_crystal_pylon
go_western_crystal_pylon
go_barov_journal
go_ethereum_prison
go_ethereum_stasis
@@ -79,69 +76,6 @@ public:
}
};
/*######
## go_crystal_pylons (3x)
######*/
class go_northern_crystal_pylon : public GameObjectScript
{
public:
go_northern_crystal_pylon() : GameObjectScript("go_northern_crystal_pylon") { }
bool OnGossipHello(Player* player, GameObject* go) OVERRIDE
{
if (go->GetGoType() == GAMEOBJECT_TYPE_QUESTGIVER)
{
player->PrepareQuestMenu(go->GetGUID());
player->SendPreparedQuest(go->GetGUID());
}
if (player->GetQuestStatus(4285) == QUEST_STATUS_INCOMPLETE)
player->AreaExploredOrEventHappens(4285);
return true;
}
};
class go_eastern_crystal_pylon : public GameObjectScript
{
public:
go_eastern_crystal_pylon() : GameObjectScript("go_eastern_crystal_pylon") { }
bool OnGossipHello(Player* player, GameObject* go) OVERRIDE
{
if (go->GetGoType() == GAMEOBJECT_TYPE_QUESTGIVER)
{
player->PrepareQuestMenu(go->GetGUID());
player->SendPreparedQuest(go->GetGUID());
}
if (player->GetQuestStatus(4287) == QUEST_STATUS_INCOMPLETE)
player->AreaExploredOrEventHappens(4287);
return true;
}
};
class go_western_crystal_pylon : public GameObjectScript
{
public:
go_western_crystal_pylon() : GameObjectScript("go_western_crystal_pylon") { }
bool OnGossipHello(Player* player, GameObject* go) OVERRIDE
{
if (go->GetGoType() == GAMEOBJECT_TYPE_QUESTGIVER)
{
player->PrepareQuestMenu(go->GetGUID());
player->SendPreparedQuest(go->GetGUID());
}
if (player->GetQuestStatus(4288) == QUEST_STATUS_INCOMPLETE)
player->AreaExploredOrEventHappens(4288);
return true;
}
};
/*######
## go_barov_journal
######*/
@@ -1375,44 +1309,41 @@ public:
void AddSC_go_scripts()
{
new go_cat_figurine;
new go_northern_crystal_pylon;
new go_eastern_crystal_pylon;
new go_western_crystal_pylon;
new go_barov_journal;
new go_field_repair_bot_74A;
new go_gilded_brazier;
new go_orb_of_command;
new go_shrine_of_the_birds;
new go_southfury_moonstone;
new go_tablet_of_madness;
new go_tablet_of_the_seven;
new go_jump_a_tron;
new go_ethereum_prison;
new go_ethereum_stasis;
new go_resonite_cask;
new go_sacred_fire_of_life;
new go_tele_to_dalaran_crystal;
new go_tele_to_violet_stand;
new go_fel_crystalforge;
new go_bashir_crystalforge;
new go_matrix_punchograph;
new go_scourge_cage;
new go_arcane_prison;
new go_blood_filled_orb;
new go_jotunheim_cage;
new go_table_theka;
new go_inconspicuous_landmark;
new go_ethereal_teleport_pad;
new go_soulwell;
new go_tadpole_cage;
new go_dragonflayer_cage;
new go_amberpine_outhouse;
new go_hive_pod;
new go_massive_seaforium_charge;
new go_gjalerbron_cage;
new go_large_gjalerbron_cage;
new go_veil_skith_cage;
new go_frostblade_shrine;
new go_midsummer_bonfire;
new go_cat_figurine();
new go_barov_journal();
new go_field_repair_bot_74A();
new go_gilded_brazier();
new go_orb_of_command();
new go_shrine_of_the_birds();
new go_southfury_moonstone();
new go_tablet_of_madness();
new go_tablet_of_the_seven();
new go_jump_a_tron();
new go_ethereum_prison();
new go_ethereum_stasis();
new go_resonite_cask();
new go_sacred_fire_of_life();
new go_tele_to_dalaran_crystal();
new go_tele_to_violet_stand();
new go_fel_crystalforge();
new go_bashir_crystalforge();
new go_matrix_punchograph();
new go_scourge_cage();
new go_arcane_prison();
new go_blood_filled_orb();
new go_jotunheim_cage();
new go_table_theka();
new go_inconspicuous_landmark();
new go_ethereal_teleport_pad();
new go_soulwell();
new go_tadpole_cage();
new go_dragonflayer_cage();
new go_amberpine_outhouse();
new go_hive_pod();
new go_massive_seaforium_charge();
new go_gjalerbron_cage();
new go_large_gjalerbron_cage();
new go_veil_skith_cage();
new go_frostblade_shrine();
new go_midsummer_bonfire();
}