aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorVincent-Michael <Vincent_Michael@gmx.de>2013-07-27 17:32:03 +0200
committerVincent-Michael <Vincent_Michael@gmx.de>2013-07-27 17:32:57 +0200
commit100f9cc37167bf71dc9901612569bbb565e44302 (patch)
treece5fb356f24d41d513154ead6ef698db0cf36157 /sql
parent844671c5c7fc7d8c77b6c4677528b5b63c8a99d5 (diff)
Core/Spells: Smallfix for warrior talent "Impending Victory"
Note: Healamount need fix
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/2013_07_27_04_world_spell_misc_434.sql13
1 files changed, 13 insertions, 0 deletions
diff --git a/sql/updates/world/2013_07_27_04_world_spell_misc_434.sql b/sql/updates/world/2013_07_27_04_world_spell_misc_434.sql
new file mode 100644
index 00000000000..c068aa81c20
--- /dev/null
+++ b/sql/updates/world/2013_07_27_04_world_spell_misc_434.sql
@@ -0,0 +1,13 @@
+DELETE FROM `spell_script_names` WHERE `spell_id`=82368;
+INSERT INTO `spell_script_names`(`spell_id`, `ScriptName`) VALUES
+(82368,'spell_warr_victorious');
+
+DELETE FROM `spell_proc_event` WHERE `entry`IN (82368,-80128);
+INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
+(82368, 0, 4, 0, 0x100, 0, 16, 0, 0, 100, 0),
+(-80128, 0, 4, 0, 0x40, 0, 0, 0, 0, 100, 0);
+
+DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=24 AND `SourceEntry` IN (80128,80129);
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
+(24, 0, 80128, 0, 0, 38, 1, 20, 4, 0, 0, 0, 0, '', 'Impending Victory (Rank 1) - 20% health or less'),
+(24, 0, 80129, 0, 0, 38, 1, 20, 4, 0, 0, 0, 0, '', 'Impending Victory (Rank 2) - 20% health or less');