Quantcast

Add non-default tags to spells to match pre-existing default scripts.

Johnny C. Lam [12-28-14 - 04:10]
Add non-default tags to spells to match pre-existing default scripts.

Some spells need to be placed in particular icons instead of based on the
default tag as determined from CD and GCD by OvaleData.  Set them
explicitly in a separate section of the spells database for each class so
that the generated scripts more closely match the pre-existing default
Ovale scripts.
Filename
scripts/ovale_deathknight_spells.lua
scripts/ovale_druid_spells.lua
scripts/ovale_hunter_spells.lua
scripts/ovale_mage_spells.lua
scripts/ovale_monk_spells.lua
scripts/ovale_paladin_spells.lua
scripts/ovale_priest_spells.lua
scripts/ovale_rogue_spells.lua
scripts/ovale_shaman_spells.lua
scripts/ovale_warlock_spells.lua
scripts/ovale_warrior_spells.lua
diff --git a/scripts/ovale_deathknight_spells.lua b/scripts/ovale_deathknight_spells.lua
index 962a163..88a467c 100644
--- a/scripts/ovale_deathknight_spells.lua
+++ b/scripts/ovale_deathknight_spells.lua
@@ -265,6 +265,9 @@ Define(vampiric_blood 55233)
 	SpellAddBuff(vampiric_blood vampiric_blood_buff=1)
 Define(vampiric_blood_buff 55233)
 	SpellInfo(vampiric_blood_buff duration=10)
+
+# Non-default tags for OvaleSimulationCraft.
+	SpellInfo(outbreak tag=main)
 ]]
 	OvaleScripts:RegisterScript("DEATHKNIGHT", name, desc, code, "include")
 end
diff --git a/scripts/ovale_druid_spells.lua b/scripts/ovale_druid_spells.lua
index f081ece..0153474 100644
--- a/scripts/ovale_druid_spells.lua
+++ b/scripts/ovale_druid_spells.lua
@@ -404,6 +404,13 @@ Define(wild_mushroom_heal 145205)
 Define(wrath 5176)
 	SpellAddBuff(wrath solar_empowerment_buff=-1)
 	SpellAddTargetBuff(wrath sunfire_debuff=extend,4 if_spell=balance_of_power)
+
+# Non-default tags for OvaleSimulationCraft.
+	SpellInfo(barkskin tag=cd)
+	SpellInfo(bristling_fur tag=cd)
+	SpellInfo(cenarion_ward tag=main)
+	SpellInfo(dash tag=shortcd)
+	SpellInfo(natures_vigil tag=cd)
 ]]

 	OvaleScripts:RegisterScript("DRUID", name, desc, code, "include")
diff --git a/scripts/ovale_hunter_spells.lua b/scripts/ovale_hunter_spells.lua
index 7eba0dd..c6b9343 100644
--- a/scripts/ovale_hunter_spells.lua
+++ b/scripts/ovale_hunter_spells.lua
@@ -140,6 +140,10 @@ Define(thrill_of_the_hunt_buff 34720)
 Define(trap_launcher 77769)
 	SpellInfo(trap_launcher cd=1.5)
 Define(trap_mastery 63458)
+
+# Non-default tags for OvaleSimulationCraft.
+	SpellInfo(barrage tag=shortcd)
+	SpellInfo(focus_fire tag=shortcd)
 ]]

 	OvaleScripts:RegisterScript("HUNTER", name, desc, code, "include")
diff --git a/scripts/ovale_mage_spells.lua b/scripts/ovale_mage_spells.lua
index 67c7605..3c79a29 100644
--- a/scripts/ovale_mage_spells.lua
+++ b/scripts/ovale_mage_spells.lua
@@ -217,6 +217,12 @@ Define(time_warp_buff 80353)
 	SpellInfo(time_warp_buff duration=40)
 Define(water_elemental 31687)
 	SpellInfo(water_elemental cd=60)
+
+# Non-default tags for OvaleSimulationCraft.
+	SpellInfo(arcane_orb tag=shortcd)
+	SpellInfo(blink tag=shortcd)
+	SpellInfo(ice_floes tag=shortcd)
+	SpellInfo(rune_of_power tag=shortcd)
 ]]

 	OvaleScripts:RegisterScript("MAGE", name, desc, code, "include")
diff --git a/scripts/ovale_monk_spells.lua b/scripts/ovale_monk_spells.lua
index cf9c07a..095356a 100644
--- a/scripts/ovale_monk_spells.lua
+++ b/scripts/ovale_monk_spells.lua
@@ -299,6 +299,12 @@ Define(zen_sphere 124081)
 Define(zen_sphere_buff 124081)
 	SpellInfo(zen_sphere_buff duration=16 haste=spell tick=2)
 Define(zen_sphere_talent 5)
+
+# Non-default tags for OvaleSimulationCraft.
+	SpellInfo(chi_brew tag=main)
+	SpellInfo(dampen_harm tag=cd)
+	SpellInfo(diffuse_magic tag=cd)
+	SpellInfo(fists_of_fury tag=shortcd)
 ]]

 	OvaleScripts:RegisterScript("MONK", name, desc, code, "include")
diff --git a/scripts/ovale_paladin_spells.lua b/scripts/ovale_paladin_spells.lua
index 8686b46..98cc764 100644
--- a/scripts/ovale_paladin_spells.lua
+++ b/scripts/ovale_paladin_spells.lua
@@ -293,6 +293,12 @@ Define(word_of_glory_glyph_of_harsh_words 136494)
 	SpellAddBuff(word_of_glory_glyph_of_harsh_words bastion_of_glory_buff=0 if_spell=shield_of_the_righteous)
 	SpellAddBuff(word_of_glory_glyph_of_harsh_words bastion_of_power_buff=0 if_spell=shield_of_the_righteous itemset=T16_tank itemcount=4)
 	SpellAddBuff(word_of_glory_glyph_of_harsh_words divine_purpose_buff=0 if_spell=divine_purpose)
+
+# Non-default tags for OvaleSimulationCraft.
+	SpellInfo(consecration tag=shortcd)
+	SpellInfo(divine_protection tag=cd)
+	SpellInfo(eternal_flame tag=shortcd)
+	SpellInfo(harsh_word tag=shortcd)
 ]]

 	OvaleScripts:RegisterScript("PALADIN", name, desc, code, "include")
diff --git a/scripts/ovale_priest_spells.lua b/scripts/ovale_priest_spells.lua
index b84e3ad..e08d76d 100644
--- a/scripts/ovale_priest_spells.lua
+++ b/scripts/ovale_priest_spells.lua
@@ -229,6 +229,11 @@ Define(weakened_soul_debuff 6788)
 	SpellInfo(weakened_soul_debuff duration=15)
 	SpellInfo(weakened_soul_debuff addduration=-2 glyph=glyph_of_weakened_soul)
 	SpellInfo(weakened_soul_debuff addduration=-3 if_spell=enhanced_power_word_shield)
+
+# Non-default tags for OvaleSimulationCraft.
+	SpellInfo(cascade_caster tag=shortcd)
+	SpellInfo(divine_star_caster tag=shortcd)
+	SpellInfo(mindbender tag=cd)
 ]]

 	OvaleScripts:RegisterScript("PRIEST", name, desc, code, "include")
diff --git a/scripts/ovale_rogue_spells.lua b/scripts/ovale_rogue_spells.lua
index 343b626..a9b9a7f 100644
--- a/scripts/ovale_rogue_spells.lua
+++ b/scripts/ovale_rogue_spells.lua
@@ -268,6 +268,10 @@ Define(wound_poison 8679)
 	SpellAddBuff(wound_poison wound_poison_buff=1)
 Define(wound_poison_buff 8679)
 	SpellInfo(wound_poison_buff duration=3600)
+
+# Non-default tags for OvaleSimulationCraft.
+	SpellInfo(premeditation tag=main)
+	SpellInfo(vanish tag=shortcd)
 ]]

 	OvaleScripts:RegisterScript("ROGUE", name, desc, code, "include")
diff --git a/scripts/ovale_shaman_spells.lua b/scripts/ovale_shaman_spells.lua
index abcdc44..3d83d40 100644
--- a/scripts/ovale_shaman_spells.lua
+++ b/scripts/ovale_shaman_spells.lua
@@ -287,6 +287,10 @@ Define(pet_reinforce 118347)
 	SpellAddBuff(pet_reinforce pet_reinforce_buff=1)
 Define(pet_reinforce_buff 118347)
 	SpellInfo(pet_reinforce_buff duration=60)
+
+# Non-default tags for OvaleSimulationCraft.
+	SpellInfo(earthquake tag=shortcd)
+	SpellInfo(elemental_mastery tag=shortcd)
 ]]

 	OvaleScripts:RegisterScript("SHAMAN", name, desc, code, "include")
diff --git a/scripts/ovale_warlock_spells.lua b/scripts/ovale_warlock_spells.lua
index c6ee1a1..7e374bc 100644
--- a/scripts/ovale_warlock_spells.lua
+++ b/scripts/ovale_warlock_spells.lua
@@ -255,6 +255,24 @@ Define(unstable_affliction_debuff 30108)
 	SpellInfo(unstable_affliction_debuff duration=14 haste=spell tick=2)
 Define(wrathguard_wrathstorm 115831)
 	SpellInfo(wrathguard_wrathstorm cd=45 gcd=0)
+
+# Non-default tags for OvaleSimulationCraft.
+	SpellInfo(dark_soul_instability tag=cd)
+	SpellInfo(dark_soul_knowledge tag=cd)
+	SpellInfo(dark_soul_misery tag=cd)
+	SpellInfo(grimoire_felguard tag=shortcd)
+	SpellInfo(grimoire_felhunter tag=shortcd)
+	SpellInfo(grimoire_imp tag=shortcd)
+	SpellInfo(grimoire_of_sacrifice tag=main)
+	SpellInfo(grimoire_succubus tag=shortcd)
+	SpellInfo(grimoire_voidwalker tag=shortcd)
+	SpellInfo(havoc tag=shortcd)
+	SpellInfo(metamorphosis tag=main)
+	SpellInfo(summon_felguard tag=shortcd)
+	SpellInfo(summon_felhunter tag=shortcd)
+	SpellInfo(summon_imp tag=shortcd)
+	SpellInfo(summon_succubus tag=shortcd)
+	SpellInfo(summon_voidwalker tag=shortcd)
 ]]

 	OvaleScripts:RegisterScript("WARLOCK", name, desc, code, "include")
diff --git a/scripts/ovale_warrior_spells.lua b/scripts/ovale_warrior_spells.lua
index 1c6bf37..31af293 100644
--- a/scripts/ovale_warrior_spells.lua
+++ b/scripts/ovale_warrior_spells.lua
@@ -292,6 +292,12 @@ Define(wild_strike 100130)
 	SpellInfo(wild_strike rage=45)
 	SpellRequire(wild_strike rage 0=buff,bloodsurge_buff if_spell=bloodsurge)
 	SpellAddBuff(wild_strike bloodsurge_buff=-1 if_spell=bloodsurge)
+
+# Non-default tags for OvaleSimulationCraft.
+	SpellInfo(bloodbath tag=cd)
+	SpellInfo(heroic_throw tag=main)
+	SpellInfo(impending_victory tag=main)
+	SpellInfo(sweeping_strikes tag=main)
 ]]

 	OvaleScripts:RegisterScript("WARRIOR", name, desc, code, "include")