mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 18:40:28 +00:00
Move area trigger storage from DBC to database (#742)
Renamed AreaTrigger + related stuff to AreaTriggerTeleport
This commit is contained in:
@@ -853,7 +853,7 @@ class at_bring_your_orphan_to : public AreaTriggerScript
|
||||
public:
|
||||
at_bring_your_orphan_to() : AreaTriggerScript("at_bring_your_orphan_to") { }
|
||||
|
||||
bool OnTrigger(Player* player, AreaTriggerEntry const* trigger)
|
||||
bool OnTrigger(Player* player, AreaTrigger const* trigger)
|
||||
{
|
||||
if (player->isDead() || !player->HasAura(SPELL_ORPHAN_OUT))
|
||||
return false;
|
||||
@@ -861,7 +861,7 @@ class at_bring_your_orphan_to : public AreaTriggerScript
|
||||
uint32 questId = 0;
|
||||
uint32 orphanId = 0;
|
||||
|
||||
switch (trigger->id)
|
||||
switch (trigger->entry)
|
||||
{
|
||||
case AT_DOWN_AT_THE_DOCKS:
|
||||
questId = QUEST_DOWN_AT_THE_DOCKS;
|
||||
|
||||
Reference in New Issue
Block a user