Fix script problems exposed by stricter parser.
Johnny C. Lam [07-13-14 - 11:32]
Fix script problems exposed by stricter parser.
git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1553 d5049fe3-3747-40f7-a4b5-f36d6801af5f
diff --git a/scripts/ovale_paladin_spells.lua b/scripts/ovale_paladin_spells.lua
index 466a86b..ad2872f 100644
--- a/scripts/ovale_paladin_spells.lua
+++ b/scripts/ovale_paladin_spells.lua
@@ -49,7 +49,7 @@ Define(consecration_glyphed 116467)
Define(crusader_strike 35395)
SpellInfo(crusader_strike holy=-1 cd=4.5)
SpellInfo(crusader_strike cd_haste=melee if_spell=sanctity_of_battle)
- SpellAddTargetDebuff(crusader_strike weakened_blows=1 specialization=protection)
+ SpellAddTargetDebuff(crusader_strike weakened_blows_debuff=1 specialization=protection)
Define(daybreak 88821)
Define(daybreak_buff 88819)
SpellInfo(daybreak_buff duration=10 maxstacks=2)
@@ -226,6 +226,8 @@ Define(templars_verdict 85256)
SpellAddBuff(templars_verdict tier15_4pc_melee_buff=0 itemset=T15_melee itemcount=4)
Define(tier15_4pc_melee_buff 138169)
Define(unbreakable_spirit_talent 11)
+Define(weakened_blows_debuff 115798)
+ SpellInfo(weakened_blows_debuff duration=30)
Define(word_of_glory 85673)
SpellInfo(word_of_glory holy=finisher max_holy=3)
SpellInfo(word_of_glory buff_holy_none=divine_purpose_buff talent=divine_purpose_talent)
diff --git a/scripts/ovale_shaman_spells.lua b/scripts/ovale_shaman_spells.lua
index 82ed0eb..7f2f493 100644
--- a/scripts/ovale_shaman_spells.lua
+++ b/scripts/ovale_shaman_spells.lua
@@ -41,11 +41,11 @@ Define(call_of_the_elements 108285)
Define(call_of_the_elements_talent 7)
Define(chain_heal 1064)
SpellInfo(chain_heal cd=2 glyph=glyph_of_chaining)
- SpellAddBuff(chain_heal ancestral_swiftness_buff=0 if_talent=ancestral_swiftness_talent)
+ SpellAddBuff(chain_heal ancestral_swiftness_buff=0 talent=ancestral_swiftness_talent)
Define(chain_lightning 421)
SpellInfo(chain_lightning cd=3)
SpellInfo(chain_lightning cd=0 specialization=elemental)
- SpellAddBuff(chain_lightning ancestral_swiftness_buff=0 if_talent=ancestral_swiftness_talent)
+ SpellAddBuff(chain_lightning ancestral_swiftness_buff=0 talent=ancestral_swiftness_talent)
Define(earth_elemental_totem 2062)
SpellInfo(earth_elemental_totem cd=300)
SpellInfo(earth_elemental_totem buff_cdr=cooldown_reduction_agility_buff specialization=enhancement)
@@ -102,18 +102,18 @@ Define(glyph_of_totemic_recall 55438)
Define(glyph_of_thunder 63270)
Define(glyph_of_wind_shear 55451)
Define(greater_healing_wave 77472)
- SpellAddBuff(greater_healing_wave ancestral_swiftness_buff=0 if_talent=ancestral_swiftness_talent)
+ SpellAddBuff(greater_healing_wave ancestral_swiftness_buff=0 talent=ancestral_swiftness_talent)
Define(healing_rain 73920)
SpellInfo(healing_rain cd=10)
- SpellAddBuff(healing_rain ancestral_swiftness_buff=0 if_talent=ancestral_swiftness_talent)
+ SpellAddBuff(healing_rain ancestral_swiftness_buff=0 talent=ancestral_swiftness_talent)
Define(healing_stream_totem 5394)
SpellInfo(healing_stream_totem cd=30)
Define(healing_surge 8004)
- SpellAddBuff(healing_surge ancestral_swiftness_buff=0 if_talent=ancestral_swiftness_talent)
+ SpellAddBuff(healing_surge ancestral_swiftness_buff=0 talent=ancestral_swiftness_talent)
Define(healing_tide_totem 108280)
SpellInfo(healing_tide_totem cd=180)
Define(healing_wave 331)
- SpellAddBuff(healing_wave ancestral_swiftness_buff=0 if_talent=ancestral_swiftness_talent)
+ SpellAddBuff(healing_wave ancestral_swiftness_buff=0 talent=ancestral_swiftness_talent)
Define(heroism 32182)
SpellInfo(heroism duration=40)
Define(lava_beam 114074)
@@ -125,7 +125,7 @@ Define(lava_lash 60103)
Define(lava_surge_buff 77762)
SpellInfo(lava_surge_buff duration=6)
Define(lightning_bolt 403)
- SpellAddBuff(lightning_bolt ancestral_swiftness_buff=0 if_talent=ancestral_swiftness_talent)
+ SpellAddBuff(lightning_bolt ancestral_swiftness_buff=0 talent=ancestral_swiftness_talent)
Define(lightning_shield 324)
SpellAddBuff(lightning_shield lightning_shield_buff=1)
Define(lightning_shield_buff 324)