Creature/script: Add area restriction for Freed Proto Drake
Closes #11754 Thanks to ariel-
This commit is contained in:
1 parent
d804be2427
commit
4bf2a6d008
2 files changed
+8
No files matched your search
@@ -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