mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Creature/script: Add area restriction for Freed Proto Drake
Closes #11754 Thanks to ariel-
This commit is contained in:
7
sql/updates/world/3.3.5/2016_11_20_01_world.sql
Normal file
7
sql/updates/world/3.3.5/2016_11_20_01_world.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
--
|
||||
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=16 AND `SourceEntry`=29709);
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
|
||||
(16,0,29709,0,0,23,0,4422,0,0,0,0,'','Dismount player when not in intended zone'),
|
||||
(16,0,29709,0,1,23,0,4535,0,0,0,0,'','Dismount player when not in intended zone'),
|
||||
(16,0,29709,0,2,23,0,4437,0,0,0,0,'','Dismount player when not in intended zone'),
|
||||
(16,0,29709,0,3,23,0,4438,0,0,0,0,'','Dismount player when not in intended zone');
|
||||
@@ -281,6 +281,7 @@ public:
|
||||
|
||||
void UpdateAI(uint32 diff) override
|
||||
{
|
||||
VehicleAI::UpdateAI(diff);
|
||||
events.Update(diff);
|
||||
|
||||
switch (events.ExecuteEvent())
|
||||
|
||||
Reference in New Issue
Block a user