diff options
| author | Meji <alvaro.megias@outlook.com> | 2024-07-25 23:26:28 +0200 |
|---|---|---|
| committer | Ovahlord <dreadkiller@gmx.de> | 2024-07-25 23:26:28 +0200 |
| commit | 4922382b62000428f6b3b2cfb032682c1194049f (patch) | |
| tree | 4705c8639f9b1e0ad49a1f4f21b529500b9acaac /sql | |
| parent | 746bdc55c4fc2816a0fe48fe2033ad23af3a0d47 (diff) | |
Core/AreaTriggers: Added ActionSet flags for serverside areatriggers (#30072)
(cherry picked from commit 1426f58ff007eac2d9719b41f9189d82b733789e)
Diffstat (limited to 'sql')
| -rw-r--r-- | sql/updates/world/cata_classic/2024_07_25_00_world_2024_07_19_00_world.sql | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/updates/world/cata_classic/2024_07_25_00_world_2024_07_19_00_world.sql b/sql/updates/world/cata_classic/2024_07_25_00_world_2024_07_19_00_world.sql new file mode 100644 index 00000000000..5c637411122 --- /dev/null +++ b/sql/updates/world/cata_classic/2024_07_25_00_world_2024_07_19_00_world.sql @@ -0,0 +1,9 @@ +ALTER TABLE `areatrigger_template` + ADD `ActionSetId` INT UNSIGNED NOT NULL DEFAULT '0' AFTER `Flags`, + ADD `ActionSetFlags` INT UNSIGNED NOT NULL DEFAULT '0' AFTER `ActionSetId`; + +UPDATE `areatrigger_template` SET `ActionSetFlags`=8 WHERE `Id`=48 AND `IsCustom`=1; + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=28 AND `SourceGroup`=48 AND `SourceEntry`=1; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(28,48,1,0,0,36,0,0,0,0,'',1,0,0,'','Only trigger areatrigger when player is dead'); |
