mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 11:25:42 +00:00
Move area trigger storage from DBC to database (#742)
Renamed AreaTrigger + related stuff to AreaTriggerTeleport
This commit is contained in:
@@ -148,7 +148,7 @@ class at_twilight_grove : public AreaTriggerScript
|
||||
public:
|
||||
at_twilight_grove() : AreaTriggerScript("at_twilight_grove") { }
|
||||
|
||||
bool OnTrigger(Player* player, const AreaTriggerEntry* /*at*/)
|
||||
bool OnTrigger(Player* player, const AreaTrigger* /*at*/)
|
||||
{
|
||||
if (player->HasQuestForItem(ITEM_FRAGMENT) && !player->HasItemCount(ITEM_FRAGMENT))
|
||||
player->SummonCreature(NPC_TWILIGHT_CORRUPTER, -10328.16f, -489.57f, 49.95f, 0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 240000);
|
||||
|
||||
Reference in New Issue
Block a user