mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Scripts/Quest: Update few quests (#28108)
(cherry picked from commit 1c96eebcc1)
This commit is contained in:
@@ -15,25 +15,6 @@
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* ScriptData
|
||||
SDName: Areatrigger_Scripts
|
||||
SD%Complete: 100
|
||||
SDComment: Scripts for areatriggers
|
||||
SDCategory: Areatrigger
|
||||
EndScriptData */
|
||||
|
||||
/* ContentData
|
||||
at_coilfang_waterfall 4591
|
||||
at_legion_teleporter 4560 Teleporter TO Invasion Point: Cataclysm
|
||||
at_stormwright_shelf q12741
|
||||
at_last_rites q12019
|
||||
at_sholazar_waygate q12548
|
||||
at_nats_landing q11209
|
||||
at_bring_your_orphan_to q910 q910 q1800 q1479 q1687 q1558 q10951 q10952
|
||||
at_brewfest
|
||||
at_area_52_entrance
|
||||
EndContentData */
|
||||
|
||||
#include "ScriptMgr.h"
|
||||
#include "AreaTriggerAI.h"
|
||||
#include "DB2Structure.h"
|
||||
@@ -110,31 +91,6 @@ class AreaTrigger_at_legion_teleporter : public AreaTriggerScript
|
||||
}
|
||||
};
|
||||
|
||||
/*######
|
||||
## at_stormwright_shelf
|
||||
######*/
|
||||
|
||||
enum StormwrightShelf
|
||||
{
|
||||
QUEST_STRENGTH_OF_THE_TEMPEST = 12741,
|
||||
|
||||
SPELL_CREATE_TRUE_POWER_OF_THE_TEMPEST = 53067
|
||||
};
|
||||
|
||||
class AreaTrigger_at_stormwright_shelf : public AreaTriggerScript
|
||||
{
|
||||
public:
|
||||
AreaTrigger_at_stormwright_shelf() : AreaTriggerScript("at_stormwright_shelf") { }
|
||||
|
||||
bool OnTrigger(Player* player, AreaTriggerEntry const* /*areaTrigger*/) override
|
||||
{
|
||||
if (!player->isDead() && player->GetQuestStatus(QUEST_STRENGTH_OF_THE_TEMPEST) == QUEST_STATUS_INCOMPLETE)
|
||||
player->CastSpell(player, SPELL_CREATE_TRUE_POWER_OF_THE_TEMPEST, false);
|
||||
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
/*######
|
||||
## at_scent_larkorwi
|
||||
######*/
|
||||
@@ -455,7 +411,6 @@ void AddSC_areatrigger_scripts()
|
||||
{
|
||||
new AreaTrigger_at_coilfang_waterfall();
|
||||
new AreaTrigger_at_legion_teleporter();
|
||||
new AreaTrigger_at_stormwright_shelf();
|
||||
new AreaTrigger_at_scent_larkorwi();
|
||||
new AreaTrigger_at_sholazar_waygate();
|
||||
new AreaTrigger_at_nats_landing();
|
||||
|
||||
Reference in New Issue
Block a user