Skip to content

Commit

Permalink
DB/NPCs: Set trigger flag to a trigger npc and link two event Commone…
Browse files Browse the repository at this point in the history
…rs to a game event (despawns them when event is not active)

Closes TrinityCore#1267
  • Loading branch information
Aokromes authored and DDuarte committed Oct 1, 2011
1 parent 474fce7 commit 5dade06
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sql/updates/world/2011_10_01_02_world_game_event_creature.sql
@@ -0,0 +1,6 @@
UPDATE `creature_template` SET `flags_extra`=`flags_extra`|128|2 WHERE `entry` IN (19871); -- World Trigger (World Trigger (Not Immune NPC))

DELETE FROM `game_event_creature` WHERE `guid` IN (62848,62849) AND `eventEntry`=11;
INSERT INTO `game_event_creature` (`eventEntry`, `guid`) VALUES
(11, 62848),
(11, 62849);

0 comments on commit 5dade06

Please sign in to comment.