aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2016-12-01 03:30:35 -0300
committerDoctorKraft <DoctorKraft@users.noreply.github.com>2018-03-12 10:32:03 +0100
commitf115866f38f752708f40113bb7caefb2fbd77ae4 (patch)
treed62a54c938d0cb9e1975c71f52678d01430eae2e
parentec5d778e10dfab98a493b1c134d7782ca47d40cf (diff)
DB/Spell: added level restrictions to some spells
- Songflower Serenade - Fengus' Ferocity - Mol'dar's Moxie - Rallying Cry of the Dragonslayer - Slip'kik's Savvy - Spirit of Zandalar Ref: #4961 (cherry picked from commit d1765d92841b7a6854626fb50e50669dce9118d0)
-rw-r--r--sql/updates/world/master/2018_03_12_01_world_2016_12_01_02_world.sql8
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/updates/world/master/2018_03_12_01_world_2016_12_01_02_world.sql b/sql/updates/world/master/2018_03_12_01_world_2016_12_01_02_world.sql
new file mode 100644
index 00000000000..e7b5d581ed4
--- /dev/null
+++ b/sql/updates/world/master/2018_03_12_01_world_2016_12_01_02_world.sql
@@ -0,0 +1,8 @@
+DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (13, 17) AND `SourceEntry` IN (15366,22817,22818,22888,22820,24425);
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
+(17, 0, 15366, 0, 0, 27, 1, 63, 4, 0, 0, 0, 0, '', 'Spell Songflower Serenade will hit the explicit target of the spell if player level must be equal or lower than 63.'),
+(17, 0, 22817, 0, 0, 27, 1, 63, 4, 0, 0, 0, 0, '', 'Spell Fengus'' Ferocity will hit the explicit target of the spell if player level must be equal or lower than 63.'),
+(17, 0, 22818, 0, 0, 27, 1, 63, 4, 0, 0, 0, 0, '', 'Spell Mol''dar''s Moxie will hit the explicit target of the spell if player level must be equal or lower than 63.'),
+(13, 3, 22888, 0, 0, 27, 0, 63, 4, 0, 0, 0, 0, '', 'Spell Rallying Cry of the Dragonslayer (effects 1 & 2) will hit the potential target of the spell if player level must be equal or lower than 63.'),
+(17, 0, 22820, 0, 0, 27, 1, 63, 4, 0, 0, 0, 0, '', 'Spell Slip''kik''s Savvy will hit the explicit target of the spell if player level must be equal or lower than 63.'),
+(13, 4, 24425, 0, 0, 27, 0, 63, 4, 0, 0, 0, 0, '', 'Spell Spirit of Zandalar (effect 2) will hit the potential target of the spell if player level must be equal or lower than 63.');