From b876c6be1e83243c97dd343918bcdb4a3deb3ae3 Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Sat, 3 May 2014 00:26:23 +0000 Subject: [PATCH] Rogue: Add default scripts for Assassination, Combat, and Subtlety. git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1360 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvaleSimulationCraft.lua | 20 +- scripts/files.xml | 2 + scripts/ovale_rogue.lua | 605 ++++++++++++++++++++++++++++++++++++++++ scripts/ovale_rogue_spells.lua | 271 ++++++++++++++++++ 4 files changed, 896 insertions(+), 2 deletions(-) create mode 100644 scripts/ovale_rogue.lua create mode 100644 scripts/ovale_rogue_spells.lua diff --git a/OvaleSimulationCraft.lua b/OvaleSimulationCraft.lua index ddb3d3c..4563688 100644 --- a/OvaleSimulationCraft.lua +++ b/OvaleSimulationCraft.lua @@ -279,6 +279,17 @@ do ["arcane_torrent"] = "arcane_torrent_mana", }, }, + rogue = { + assassination = { + ["arcane_torrent"] = "arcane_torrent_energy", + }, + combat = { + ["arcane_torrent"] = "arcane_torrent_energy", + }, + subtlety = { + ["arcane_torrent"] = "arcane_torrent_energy", + }, + }, shaman = { elemental = { ["ascendance"] = "ascendance_caster", @@ -360,9 +371,14 @@ do ["^shadowform$"] = "if not Stance(priest_shadowform) Spell(shadowform)", ["^shadow_word_death$"] = "Spell(shadow_word_death usable=1)", -- Rogue - ["^apply_poison$"] = false, -- XXX + ["^ambush$"] = "Spell(ambush usable=1)", + ["^apply_poison$"] = "ApplyPoisons()", + ["^backstab$"] = "Spell(backstab usable=1)", + ["^dispatch$"] = "Spell(dispatch usable=1)", ["^kick$"] = "if target.IsInterruptible() Spell(kick)", - ["^stealth$"] = "if Stealthed(no) Spell(stealth)", + ["^premeditation$"] = "Spell(premeditation usable=1)", + ["^stealth$"] = "if not IsStealthed() Spell(stealth)", + ["^tricks_of_the_trade$"] = "TricksOfTheTrade()", -- Shaman ["^bloodlust$"] = "Bloodlust()", ["^wind_shear$"] = "Interrupt()", diff --git a/scripts/files.xml b/scripts/files.xml index 0bfbe66..a1487e8 100644 --- a/scripts/files.xml +++ b/scripts/files.xml @@ -14,6 +14,8 @@