public void ApplyAuraJson(JToken json, bool buffs) { if (buffs) { lock (Buffs) { Buffs.Clear(); foreach (var auraJson in json.Children()) { var aura = new WoWAura(); aura.ApplyJson(auraJson); Buffs.Add(aura); } } } else { lock (Debuffs) { Debuffs.Clear(); foreach (var auraJson in json.Children()) { var aura = new WoWAura(); aura.ApplyJson(auraJson); Debuffs.Add(aura); } } } }
//Debuffs private void CreateKnockback() { var debuff = new Debuff(); debuff.EffectMethod = () => { _rigidBody.velocity = _rigidBody.velocity.magnitude >= 0.1f ? _rigidBody.velocity * 0.9f : Vector2.zero; debuff.IsAffected = _rigidBody.velocity.magnitude == 0; return(0f); }; Debuffs.Add(DebuffType.Knockback, debuff); }
///////////// // Debuffs // ///////////// /// <summary> /// Attempt to add a Debuff to the Monster /// </summary> /// <param name="debuff">The Debuff to add</param> /// <param name="stacks">How many times to add the Debuff (1 to 16)</param> /// <returns>Whether or not the debuff was successfully added</returns> public bool AddDebuff(Debuff debuff, int stacks) { if (stacks < 1 || stacks > 16) { throw new ArgumentOutOfRangeException("Stacks must be within range 1 - 16. Found: " + stacks); } // Slow doesn't stack if (debuff == Debuff.Slow) { // The highest stacked slow takes over if (Debuffs.TryGetValue(debuff, out int value)) { if (value < stacks) { Debuffs[debuff] = stacks; } } else { Debuffs.Add(debuff, stacks); } // Slow clears the Haste buff RemoveBuff(Buff.Haste); // TODO: Determine what bool to return is stacks is lower than current value return(true); } // Fear stacks if (debuff == Debuff.Fear) { if (Debuffs.TryGetValue(debuff, out int value)) { Debuffs[debuff] += stacks; } else { Debuffs[debuff] = stacks; } return(true); } throw new ArgumentException("Invalid debuff supplied: " + debuff); }
private void CreateStun() { var debuff = new Debuff(); debuff.EffectMethod = () => { debuff.IsAffected = debuff.Duration >= Time.time; if (debuff.IsAffected) { return(1f); } else { return(0f); } }; Debuffs.Add(DebuffType.Stun, debuff); }
/// <summary> /// 获得Debuff /// </summary> /// <param name="buff">debuff种类</param> /// <param name="lastTurn">debuff持续时间</param> public void GainBuff(Buff buff, int lastTurn) { if (buff.IsPower) { if (!Powers.ContainsKey(buff.BuffName)) { Powers.Add(buff.BuffName, buff); Powers[buff.BuffName].BuffIncrease(lastTurn); buff.BuffStart(this); } else { Powers[buff.BuffName].BuffIncrease(lastTurn); if (Powers[buff.BuffName].BuffLastTurn == 0) { Powers[buff.BuffName].BuffEnd(this); Powers.Remove(buff.BuffName); } } } else { if (buff.IsDebuff) { PreGainDebuffEvent?.Invoke(); if (!Debuffs.ContainsKey(buff.BuffName)) { PreGainNewDebuffEvent?.Invoke(); Debuffs.Add(buff.BuffName, buff); Debuffs[buff.BuffName].BuffIncrease(lastTurn); buff.BuffStart(this); } else { Debuffs[buff.BuffName].BuffIncrease(lastTurn); } } } }
/// <summary> /// 获得Debuff /// </summary> /// <param name="buff">debuff种类</param> /// <param name="lastTurn">debuff持续时间</param> public void GainBuff(Buff buff, int lastTurn) { if (PreGainDebuffEvent != null) { PreGainDebuffEvent(); } if (Debuffs.ContainsKey(buff.BuffName)) { Debuffs[buff.BuffName].BuffLastTurn += lastTurn; } else { if (PreGainNewDebuffEvent != null) { PreGainNewDebuffEvent(); } Debuffs.Add(buff.BuffName, buff); buff.BuffStart(this); } }
public override void Initialize() { Aimsharp.PrintMessage("Kyber Vengenace DH Shadowlands - v 2.3", Color.Blue); Aimsharp.PrintMessage("Recommended talents: 1233221", Color.Blue); Aimsharp.PrintMessage("These macros can be used for manual control:", Color.Blue); Aimsharp.PrintMessage("/xxxxx SaveMeta", Color.Blue); Aimsharp.PrintMessage("--Toggles the use of Metamorphosis on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("/xxxxx SaveCovenant", Color.Blue); Aimsharp.PrintMessage("--Toggles the use of Covenant abilities on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("/xxxxx AOE", Color.Blue); Aimsharp.PrintMessage("--Toggles AOE mode on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("/xxxxx Autodisrupt", Color.Blue); Aimsharp.PrintMessage("--Toggles Auto interrupt mode on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("/xxxxx Autoinfernal", Color.Blue); Aimsharp.PrintMessage("--Toggles Auto infernal Strike mode on/off.", Color.Blue); Aimsharp.PrintMessage("will use 1 charge for added dps and save 1 charge for movement.", Color.Purple); Aimsharp.PrintMessage("--Replace xxxxx with first 5 letters of your addon, lowercase.", Color.Blue); Aimsharp.Latency = 50; Aimsharp.QuickDelay = 125; Aimsharp.SlowDelay = 250; //Main Skills foreach (string skill in VengeanceSpells) { Spellbook.Add(skill); } //Covenant foreach (string Spell in CovenantAbilities) { Spellbook.Add(Spell); } //Buffs foreach (string buff in VengeanceBuffs) { Buffs.Add(buff); } //Debuffs foreach (string debuff in VengeanceDebuffs) { Debuffs.Add(debuff); } foreach (string Buff in BloodlustEffects) { Buffs.Add(Buff); } Items.Add(GetDropDown("Potion name:")); Macros.Add("DPS Pot", "/use " + GetDropDown("Potion name:")); Macros.Add("TopTrinket", "/use 13"); Macros.Add("BottomTrinket", "/use 14"); Macros.Add("sigil self", "/cast [@player] Sigil of Flame"); Macros.Add("infernal self", "/cast [@player] Infernal Strike"); Macros.Add("Elysian self", "/cast [@player] Elysian Decree"); CustomCommands.Add("SaveMeta"); CustomCommands.Add("AOE"); CustomCommands.Add("Autoinfernal"); CustomCommands.Add("Autodisrupt"); CustomCommands.Add("SaveCovenant"); CustomFunctions.Add("GetCovenant", "local spell = 0 local i = 1 while true do local spellName, spellSub = GetSpellBookItemName(i, BOOKTYPE_SPELL) if not spellName then do break end end if spellName == 'Fodder to the Flame' then spell = 4 elseif spellName == 'The Hunt' then spell = 3 elseif spellName == 'Sinful Brand' then spell = 2 elseif spellName == 'Elysian Decree' then spell = 1 end i = i + 1 end return spell"); CustomFunctions.Add("GetLegendarySpellID", "local power = 0 for i=1,15,1 do local xcs = ItemLocation:CreateFromEquipmentSlot(i) if(C_Item.DoesItemExist(xcs)) then if(C_LegendaryCrafting.IsRuneforgeLegendary(xcs)) then local id = C_LegendaryCrafting.GetRuneforgeLegendaryComponentInfo(xcs)[\"powerID\"] power = C_LegendaryCrafting.GetRuneforgePowerInfo(id)[\"descriptionSpellID\"] end end end return power"); }
public override void Initialize() { // Aimsharp.DebugMode(); Aimsharp.PrintMessage("Perfect Simcraft Series: Boomkin - v 1.0", Color.Blue); Aimsharp.PrintMessage("Recommended talents: 1333331", Color.Blue); Aimsharp.PrintMessage("These macros can be used for manual control:", Color.Blue); Aimsharp.PrintMessage("/xxxxx Potions", Color.Blue); Aimsharp.PrintMessage("--Toggles using buff potions on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("/xxxxx SaveCooldowns", Color.Blue); Aimsharp.PrintMessage("--Toggles the use of big cooldowns on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("/xxxxx AOE", Color.Blue); Aimsharp.PrintMessage("--Toggles AOE mode on/off.", Color.Blue); Aimsharp.PrintMessage(" "); // Aimsharp.PrintMessage("/xxxxx Prepull 10", Color.Blue); // Aimsharp.PrintMessage("--Starts the prepull actions.", Color.Blue); // Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("--Replace xxxxx with first 5 letters of your addon, lowercase.", Color.Blue); Aimsharp.Latency = 50; Aimsharp.QuickDelay = 100; Aimsharp.SlowDelay = 300; MajorPower = GetDropDown("Major Power"); TopTrinket = GetDropDown("Top Trinket"); BotTrinket = GetDropDown("Bot Trinket"); RacialPower = GetDropDown("Racial Power"); Spellbook.Add(MajorPower); if (RacialPower == "Orc") { Spellbook.Add("Blood Fury"); } if (RacialPower == "Troll") { Spellbook.Add("Berserking"); } if (RacialPower == "Dark Iron Dwarf") { Spellbook.Add("Fireblood"); } if (RacialPower == "Mag'har Orc") { Spellbook.Add("Ancestral Call"); } if (RacialPower == "Lightforged Draenei") { Spellbook.Add("Light's Judgment"); } if (RacialPower == "Bloodelf") { Spellbook.Add("Arcane Torrent"); } Spellbook.Add("Moonkin Form"); Spellbook.Add("Celestial Alignment"); Spellbook.Add("Incarnation: Chosen of Elune"); Spellbook.Add("Moonfire"); Spellbook.Add("Sunfire"); Spellbook.Add("Stellar Flare"); Spellbook.Add("Thorns"); Spellbook.Add("Warrior of Elune"); Spellbook.Add("Innervate"); Spellbook.Add("Force of Nature"); Spellbook.Add("Fury of Elune"); Spellbook.Add("Starfall"); Spellbook.Add("Starsurge"); Spellbook.Add("New Moon"); Spellbook.Add("Half Moon"); Spellbook.Add("Full Moon"); Spellbook.Add("Lunar Strike"); Spellbook.Add("Solar Wrath"); Buffs.Add("Bloodlust"); Buffs.Add("Heroism"); Buffs.Add("Time Warp"); Buffs.Add("Ancient Hysteria"); Buffs.Add("Netherwinds"); Buffs.Add("Drums of Rage"); Buffs.Add("Lifeblood"); Buffs.Add("Memory of Lucid Dreams"); Buffs.Add("Reckless Force"); Buffs.Add("Guardian of Azeroth"); Buffs.Add("Moonkin Form"); Buffs.Add("Celestial Alignment"); Buffs.Add("Incarnation: Chosen of Elune"); Buffs.Add("Starlord"); Buffs.Add("Warrior of Elune"); Buffs.Add("Lively Spirit"); Buffs.Add("Blessing of Elune"); Buffs.Add("Arcanic Pulsar"); Buffs.Add("Lunar Empowerment"); Buffs.Add("Solar Empowerment"); Debuffs.Add("Razor Coral"); Debuffs.Add("Conductive Ink"); Debuffs.Add("Shiver Venom"); Debuffs.Add("Moonfire"); Debuffs.Add("Sunfire"); Debuffs.Add("Stellar Flare"); Items.Add(TopTrinket); Items.Add(BotTrinket); Items.Add(GetDropDown("Potion Type")); Items.Add("Neural Synapse Enhancer"); Macros.Add(TopTrinket, "/use " + TopTrinket); Macros.Add(BotTrinket, "/use " + BotTrinket); Macros.Add("potion", "/use " + GetDropDown("Potion Type")); Macros.Add("TopTrink", "/use 13"); Macros.Add("BotTrink", "/use 14"); Macros.Add("neural", "/use Neural Synapse Enhancer"); Macros.Add("force cursor", "/cast [@cursor] Force of Nature"); Macros.Add("cancel star", "/cancelaura Starlord"); Macros.Add("starfall cursor", "/cast [@cursor] Starfall"); //Macros.Add("inn player", "/cast [@player] Innervate"); //doesn't work can only hit healers Macros.Add("thorns player", "/cast [@player] Thorns"); CustomCommands.Add("Potions"); CustomCommands.Add("SaveCooldowns"); CustomCommands.Add("AOE"); // CustomCommands.Add("Prepull"); // CustomCommands.Add("LightAOE"); }
public override void Initialize() { //Aimsharp.DebugMode(); Aimsharp.PrintMessage("Perfect Simcraft Series: Windwalker Monk - v 1.0", Color.Blue); Aimsharp.PrintMessage("These macros can be used for manual control:", Color.Blue); Aimsharp.PrintMessage("/xxxxx Potions", Color.Blue); Aimsharp.PrintMessage("--Toggles using buff potions on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("/xxxxx SaveCooldowns", Color.Blue); Aimsharp.PrintMessage("--Toggles the use of big cooldowns on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("/xxxxx AOE", Color.Blue); Aimsharp.PrintMessage("--Toggles AOE mode on/off.", Color.Blue); //Aimsharp.PrintMessage(" "); // Aimsharp.PrintMessage("/xxxxx Prepull 10", Color.Blue); // Aimsharp.PrintMessage("--Starts the prepull actions.", Color.Blue); // Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("--Replace xxxxx with first 5 letters of your addon, lowercase.", Color.Blue); Aimsharp.Latency = 50; Aimsharp.QuickDelay = 125; Aimsharp.SlowDelay = 250; MajorPower = GetDropDown("Major Power"); TopTrinket = GetDropDown("Top Trinket"); BotTrinket = GetDropDown("Bot Trinket"); RacialPower = GetDropDown("Racial Power"); Spellbook.Add(MajorPower); if (RacialPower == "Orc") { Spellbook.Add("Blood Fury"); } if (RacialPower == "Troll") { Spellbook.Add("Berserking"); } if (RacialPower == "Dark Iron Dwarf") { Spellbook.Add("Fireblood"); } if (RacialPower == "Mag'har Orc") { Spellbook.Add("Ancestral Call"); } if (RacialPower == "Lightforged Draenei") { Spellbook.Add("Light's Judgment"); } if (RacialPower == "Bloodelf") { Spellbook.Add("Arcane Torrent"); } Spellbook.Add("Serenity"); Spellbook.Add("Touch of Death"); Spellbook.Add("Rising Sun Kick"); Spellbook.Add("Fists of Fury"); Spellbook.Add("Spinning Crane Kick"); Spellbook.Add("Fist of the White Tiger"); Spellbook.Add("Blackout Kick"); Spellbook.Add("Tiger Palm"); Spellbook.Add("Chi Wave"); Spellbook.Add("Invoke Xuen, the White Tiger"); Spellbook.Add("Storm, Earth, and Fire"); Spellbook.Add("Whirling Dragon Punch"); Spellbook.Add("Rushing Jade Wind"); Spellbook.Add("Energizing Elixir"); Spellbook.Add("Chi Burst"); Spellbook.Add("Flying Serpent Kick"); Buffs.Add("Bloodlust"); Buffs.Add("Heroism"); Buffs.Add("Time Warp"); Buffs.Add("Ancient Hysteria"); Buffs.Add("Netherwinds"); Buffs.Add("Drums of Rage"); Buffs.Add("Lifeblood"); Buffs.Add("Memory of Lucid Dreams"); Buffs.Add("Reckless Force"); Buffs.Add("Guardian of Azeroth"); Buffs.Add("Serenity"); Buffs.Add("Storm, Earth, and Fire"); Buffs.Add("Rushing Jade Wind"); Buffs.Add("Energizing Elixir"); Buffs.Add("Dance of Chi-Ji"); Buffs.Add("Blackout Kick!"); Debuffs.Add("Razor Coral"); Debuffs.Add("Conductive Ink"); Debuffs.Add("Shiver Venom"); Debuffs.Add("Touch of Death"); Debuffs.Add("Mark of the Crane"); Items.Add(TopTrinket); Items.Add(BotTrinket); Items.Add(GetDropDown("Potion Type")); Macros.Add(TopTrinket, "/use " + TopTrinket); Macros.Add(BotTrinket, "/use " + BotTrinket); Macros.Add("TopTrink", "/use 13"); Macros.Add("BotTrink", "/use 14"); Macros.Add("potion", "/use " + GetDropDown("Potion Type")); CustomCommands.Add("Potions"); CustomCommands.Add("SaveCooldowns"); CustomCommands.Add("AOE"); // CustomCommands.Add("Prepull"); }
public override void Initialize() { Aimsharp.DebugMode(); Aimsharp.PrintMessage("Vid Marksman - v 1.0", Color.Yellow); Aimsharp.PrintMessage("These macros can be used for manual control:", Color.Blue); Aimsharp.PrintMessage("/xxxxx NoAOE --Toggles AOE mode on/off.", Color.Blue); Aimsharp.PrintMessage("/xxxxx Potions --Toggles using buff potions on/off.", Color.Blue); Aimsharp.PrintMessage("/xxxxx SaveCooldowns --Toggles the use of big cooldowns on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("--Replace xxxxx with first 5 letters of your addon, lowercase.", Color.Blue); MajorPower = GetDropDown("Major Power"); TopTrinket = GetDropDown("Top Trinket"); BotTrinket = GetDropDown("Bot Trinket"); RacialPower = GetDropDown("Racial Power"); usableitems = GetString("Use item: Case Sens"); AzeritePrimalInstinctsEnabled = GetCheckBox("Azerite Primal Instincts"); AzeriteRapidReloadEnabled = GetCheckBox(("Azerite Rapid Reload")); AzeriteDanceOfDeathRank = GetSlider("Azerite Dance of Death Rank: "); if (RacialPower == "Orc") { Spellbook.Add("Blood Fury"); } if (RacialPower == "Troll") { Spellbook.Add("Berserking"); } if (RacialPower == "Dark Iron Dwarf") { Spellbook.Add("Fireblood"); } if (RacialPower == "Mag'har Orc") { Spellbook.Add("Ancestral Call"); } if (RacialPower == "Lightforged Draenei") { Spellbook.Add("Light's Judgment"); } Spellbook.Add(MajorPower); Spellbook.Add("Bestial Wrath"); Spellbook.Add("Hunter's Mark"); Spellbook.Add("Kill Command"); Spellbook.Add("Cobra Shot"); Spellbook.Add("Multi-Shot"); Spellbook.Add("Barbed Shot"); Spellbook.Add("Barrage"); Spellbook.Add("Dire Beast"); Spellbook.Add("Stampede"); Spellbook.Add("Kill Shot"); Spellbook.Add("Bloodshed"); Spellbook.Add("Exhilaration"); Spellbook.Add("Arcane Shot"); Spellbook.Add("Aspect of the Wild"); Buffs.Add("Lifeblood"); Buffs.Add("Beast Cleave"); Buffs.Add("Trick Shots"); Buffs.Add("Trueshot"); Buffs.Add("Memory of Lucid Dreams"); Debuffs.Add("Razor Coral"); Debuffs.Add("Hunter's Mark"); Items.Add(TopTrinket); Items.Add(BotTrinket); Items.Add(usableitems); Macros.Add("ItemUse", "/use " + usableitems); Macros.Add("TopTrink", "/use 13"); Macros.Add("BotTrink", "/use 14"); CustomCommands.Add("NoAOE"); CustomCommands.Add("Potions"); CustomCommands.Add("SaveCooldowns"); }
public override void Initialize() { // Aimsharp.DebugMode(); Aimsharp.PrintMessage("Perfect Simcraft Series: Ret Paladin - v 1.0", Color.Blue); Aimsharp.PrintMessage("Recommended talents: 3313213", Color.Blue); Aimsharp.PrintMessage("These macros can be used for manual control:", Color.Blue); Aimsharp.PrintMessage("/xxxxx Potions", Color.Blue); Aimsharp.PrintMessage("--Toggles using buff potions on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("/xxxxx SaveCooldowns", Color.Blue); Aimsharp.PrintMessage("--Toggles the use of big cooldowns on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("/xxxxx AOE", Color.Blue); Aimsharp.PrintMessage("--Toggles AOE mode on/off.", Color.Blue); Aimsharp.PrintMessage(" "); // Aimsharp.PrintMessage("/xxxxx Prepull 10", Color.Blue); // Aimsharp.PrintMessage("--Starts the prepull actions.", Color.Blue); // Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("--Replace xxxxx with first 5 letters of your addon, lowercase.", Color.Blue); Aimsharp.Latency = 0; Aimsharp.QuickDelay = 125; MajorPower = GetDropDown("Major Power"); TopTrinket = GetDropDown("Top Trinket"); BotTrinket = GetDropDown("Bot Trinket"); RacialPower = GetDropDown("Racial Power"); Spellbook.Add(MajorPower); if (RacialPower == "Orc") { Spellbook.Add("Blood Fury"); } if (RacialPower == "Troll") { Spellbook.Add("Berserking"); } if (RacialPower == "Dark Iron Dwarf") { Spellbook.Add("Fireblood"); } if (RacialPower == "Mag'har Orc") { Spellbook.Add("Ancestral Call"); } if (RacialPower == "Lightforged Draenei") { Spellbook.Add("Light's Judgment"); } if (RacialPower == "Bloodelf") { Spellbook.Add("Arcane Torrent"); } Spellbook.Add("Rebuke"); Spellbook.Add("Shield of Vengeance"); Spellbook.Add("Crusade"); Spellbook.Add("Avenging Wrath"); Spellbook.Add("Inquisition"); Spellbook.Add("Blade of Justice"); Spellbook.Add("Judgment"); Spellbook.Add("Execution Sentence"); Spellbook.Add("Divine Storm"); Spellbook.Add("Templar's Verdict"); Spellbook.Add("Wake of Ashes"); Spellbook.Add("Hammer of Wrath"); Spellbook.Add("Consecration"); Spellbook.Add("Crusader Strike"); Buffs.Add("Bloodlust"); Buffs.Add("Heroism"); Buffs.Add("Time Warp"); Buffs.Add("Ancient Hysteria"); Buffs.Add("Netherwinds"); Buffs.Add("Drums of Rage"); Buffs.Add("Lifeblood"); Buffs.Add("Memory of Lucid Dreams"); Buffs.Add("Reckless Force"); Buffs.Add("Guardian of Azeroth"); Buffs.Add("Avenging Wrath"); Buffs.Add("Crusade"); Buffs.Add("Seething Rage"); Buffs.Add("Inquisition"); Buffs.Add("Empyrean Power"); Buffs.Add("Divine Purpose"); Debuffs.Add("Razor Coral"); Debuffs.Add("Conductive Ink"); Debuffs.Add("Shiver Venom"); Debuffs.Add("Judgment"); Items.Add(TopTrinket); Items.Add(BotTrinket); Items.Add(GetDropDown("Potion Type")); Macros.Add(TopTrinket, "/use " + TopTrinket); Macros.Add(BotTrinket, "/use " + BotTrinket); Macros.Add("TopTrink", "/use 13"); Macros.Add("BotTrink", "/use 14"); Macros.Add("potion", "/use " + GetDropDown("Potion Type")); CustomCommands.Add("Potions"); CustomCommands.Add("SaveCooldowns"); CustomCommands.Add("AOE"); // CustomCommands.Add("Prepull"); // CustomCommands.Add("LightAOE"); }
public override void Initialize() { Aimsharp.PrintMessage("Perfect Simcraft Series: Fury Warrior - v 1.0", Color.Blue); Aimsharp.PrintMessage("Recommended talents: 2123123", Color.Blue); Aimsharp.PrintMessage("These macros can be used for manual control:", Color.Blue); Aimsharp.PrintMessage("/xxxxx Potions", Color.Blue); Aimsharp.PrintMessage("--Toggles using buff potions on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("/xxxxx SaveCooldowns", Color.Blue); Aimsharp.PrintMessage("--Toggles the use of big cooldowns on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("/xxxxx AOE", Color.Blue); Aimsharp.PrintMessage("--Toggles AOE mode on/off.", Color.Blue); // Aimsharp.PrintMessage(" "); // Aimsharp.PrintMessage("/xxxxx Prepull 10", Color.Blue); // Aimsharp.PrintMessage("--Starts the prepull actions.", Color.Blue); // Aimsharp.PrintMessage(" "); // Aimsharp.PrintMessage("--Replace xxxxx with first 5 letters of your addon, lowercase.", Color.Blue); Aimsharp.Latency = 100; Aimsharp.QuickDelay = 125; MajorPower = GetDropDown("Major Power"); TopTrinket = GetDropDown("Top Trinket"); BotTrinket = GetDropDown("Bot Trinket"); RacialPower = GetDropDown("Racial Power"); Spellbook.Add(MajorPower); if (RacialPower == "Orc") { Spellbook.Add("Blood Fury"); } if (RacialPower == "Troll") { Spellbook.Add("Berserking"); } if (RacialPower == "Dark Iron Dwarf") { Spellbook.Add("Fireblood"); } if (RacialPower == "Mag'har Orc") { Spellbook.Add("Ancestral Call"); } if (RacialPower == "Lightforged Draenei") { Spellbook.Add("Light's Judgment"); } Spellbook.Add("Charge"); Spellbook.Add("Heroic Leap"); Spellbook.Add("Rampage"); Spellbook.Add("Recklessness"); Spellbook.Add("Siegebreaker"); Spellbook.Add("Whirlwind"); Spellbook.Add("Execute"); Spellbook.Add("Furious Slash"); Spellbook.Add("Bladestorm"); Spellbook.Add("Bloodthirst"); Spellbook.Add("Dragon Roar"); Spellbook.Add("Raging Blow"); Buffs.Add("Bloodlust"); Buffs.Add("Heroism"); Buffs.Add("Time Warp"); Buffs.Add("Ancient Hysteria"); Buffs.Add("Netherwinds"); Buffs.Add("Drums of Rage"); Buffs.Add("Lifeblood"); Buffs.Add("Memory of Lucid Dreams"); Buffs.Add("Reckless Force"); Buffs.Add("Guardian of Azeroth"); Buffs.Add("Recklessness"); Buffs.Add("Meat Cleaver"); Buffs.Add("Enrage"); Buffs.Add("Furious Slash"); Buffs.Add("Whirlwind"); Debuffs.Add("Razor Coral"); Debuffs.Add("Conductive Ink"); Debuffs.Add("Shiver Venom"); Debuffs.Add("Siegebreaker"); Items.Add(TopTrinket); Items.Add(BotTrinket); Items.Add(GetDropDown("Potion Type")); Macros.Add(TopTrinket, "/use " + TopTrinket); Macros.Add(BotTrinket, "/use " + BotTrinket); Macros.Add("potion", "/use " + GetDropDown("Potion Type")); Macros.Add("leap cursor", "/cast [@cursor] Heroic Leap"); Macros.Add("TopTrink", "/use 13"); Macros.Add("BotTrink", "/use 14"); CustomCommands.Add("Potions"); CustomCommands.Add("SaveCooldowns"); CustomCommands.Add("AOE"); }
public override void Initialize() { Aimsharp.PrintMessage("Kyber Destruction Warlock - v 1.0", Color.Blue); Aimsharp.PrintMessage("These macros can be used for manual control:", Color.Blue); Aimsharp.PrintMessage("Recommended talents: 3203012", Color.Blue); Aimsharp.PrintMessage("/xxxxx SaveCovenant", Color.Blue); Aimsharp.PrintMessage("--Toggles using Covenant abilities on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("/xxxxx SaveCooldowns", Color.Blue); Aimsharp.PrintMessage("--Toggles the use of big cooldowns on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("/xxxxx AOE", Color.Blue); Aimsharp.PrintMessage("--Toggles AOE mode on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("--Replace xxxxx with first 5 letters of your addon, lowercase.", Color.Blue); Aimsharp.PrintMessage("This rotation will use Havoc on your focus target, so please make a macro to set focus quickly.", Color.Blue); Aimsharp.PrintMessage("/focus [@mouseover,nodead,exists]; [@target,exists]", Color.Blue); Aimsharp.Latency = 50; Aimsharp.QuickDelay = 125; Aimsharp.SlowDelay = 250; foreach (string Spell in SpellsList) { Spellbook.Add(Spell); } foreach (string Spell in CovenantAbilities) { Spellbook.Add(Spell); } foreach (string Spell in Racials) { Spellbook.Add(Spell); } foreach (string Buff in GeneralBuffs) { Buffs.Add(Buff); } foreach (string Buff in BuffsList) { Buffs.Add(Buff); } foreach (string Buff in BloodlustEffects) { Buffs.Add(Buff); } foreach (string Debuff in DebuffsList) { Debuffs.Add(Debuff); } foreach (string Debuff in GeneralDebuffs) { Debuffs.Add(Debuff); } foreach (string Totem in TotemsList) { Totems.Add(Totem); } Items.Add(GetString("Potion name:")); Macros.Add("DPS Pot", "/use " + GetString("Potion name:")); Macros.Add("havoc focus", "/cast [@focus] Havoc"); Macros.Add("cata cursor", "/cast [@cursor] Cataclysm"); Macros.Add("rof cursor", "/cast [@cursor] Rain of Fire"); Macros.Add("inf cursor", "/cast [@cursor] Summon Infernal"); Macros.Add("TopTrink", "/use 13"); Macros.Add("BotTrink", "/use 14"); foreach (string MacroCommand in MacroCommands) { CustomCommands.Add(MacroCommand); } CustomFunctions.Add("GetCovenant", "local spell = 0 local i = 1 while true do local spellName, spellSub = GetSpellBookItemName(i, BOOKTYPE_SPELL) if not spellName then do break end end if spellName == 'Decimating Bolt' then spell = 4 elseif spellName == 'Soul Rot' then spell = 3 elseif spellName == 'Impending Catastrophe' then spell = 2 elseif spellName == 'Scouring Tithe' then spell = 1 end i = i + 1 end return spell"); CustomFunctions.Add("GetLegendarySpellID", "local power = 0 for i=1,15,1 do local xcs = ItemLocation:CreateFromEquipmentSlot(i) if(C_Item.DoesItemExist(xcs)) then if(C_LegendaryCrafting.IsRuneforgeLegendary(xcs)) then local id = C_LegendaryCrafting.GetRuneforgeLegendaryComponentInfo(xcs)[\"powerID\"] power = C_LegendaryCrafting.GetRuneforgePowerInfo(id)[\"descriptionSpellID\"] end end end return power"); }
public override void Initialize() { Aimsharp.DebugMode(); Aimsharp.PrintMessage("Vid Fury Warrior 1.02", Color.Yellow); Aimsharp.PrintMessage("Recommended Single Target talents: 2133123", Color.Yellow); Aimsharp.PrintMessage("Recommended Dungeon talents: 3133222", Color.Yellow); Aimsharp.PrintMessage("Default mode: PVE, AOE ON, USE CDs/Pots", Color.Yellow); Aimsharp.PrintMessage("These macros can be used for manual control:", Color.Yellow); Aimsharp.PrintMessage("/xxxxx Potions --Toggles using buff potions on/off.", Color.Blue); Aimsharp.PrintMessage("/xxxxx SaveCooldowns --Toggles the use of big cooldowns on/off.", Color.Blue); Aimsharp.PrintMessage("/xxxxx noaoe --Toggles to turn off PVE AOE on/off.", Color.Orange); Aimsharp.PrintMessage("/xxxxx AzeriteBeamOff --Toggles to turn off AzeriteBeam usage.", Color.Orange); Aimsharp.PrintMessage("/xxxxx savepp -- Toggles the use of prepull", Color.Orange); Aimsharp.PrintMessage("/xxxxx StormBolt --Queues Storm Bolt up to be used on the next GCD.", Color.Red); Aimsharp.PrintMessage("/xxxxx RallyingCry --Queues Rallying Cry up to be used on the next GCD.", Color.Red); Aimsharp.PrintMessage("/xxxxx IntimidatingShout --Queues Intimidating SHout up to be used on the next GCD.", Color.Red); Aimsharp.PrintMessage("/xxxxx Bladestorm --Queues Bladestorm up to be used on the next GCD.", Color.Red); Aimsharp.Latency = 100; Aimsharp.QuickDelay = 125; MajorPower = GetDropDown("Major Power"); TopTrinket = GetDropDown("Top Trinket"); BotTrinket = GetDropDown("Bot Trinket"); RacialPower = GetDropDown("Racial Power"); usableitems = GetString("Use item: Case Sens"); AzeriteColdSteel = GetSlider("Cold Steel, Hot Blood Trait Number:"); FiveLetters = GetString("First 5 Letters of the Addon:"); Spellbook.Add(MajorPower); if (RacialPower == "Orc") { Spellbook.Add("Blood Fury"); } if (RacialPower == "Troll") { Spellbook.Add("Berserking"); } if (RacialPower == "Dark Iron Dwarf") { Spellbook.Add("Fireblood"); } if (RacialPower == "Mag'har Orc") { Spellbook.Add("Ancestral Call"); } if (RacialPower == "Lightforged Draenei") { Spellbook.Add("Light's Judgment"); } Spellbook.Add("Victory Rush"); Spellbook.Add("Enraged Regeneration"); Spellbook.Add("Avatar"); Spellbook.Add("Battle Shout"); Spellbook.Add("Heroic Throw"); Spellbook.Add("Hamstring"); Spellbook.Add("Rallying Cry"); Spellbook.Add("Defensive Stance"); Spellbook.Add("Charge"); Spellbook.Add("Heroic Leap"); Spellbook.Add("Rampage"); Spellbook.Add("Recklessness"); Spellbook.Add("Siegebreaker"); Spellbook.Add("Whirlwind"); Spellbook.Add("Execute"); Spellbook.Add("Furious Slash"); Spellbook.Add("Bladestorm"); Spellbook.Add("Bloodthirst"); Spellbook.Add("Dragon Roar"); Spellbook.Add("Raging Blow"); Spellbook.Add("Storm Bolt"); Spellbook.Add("Intimidating Shout"); Spellbook.Add("Rallying Cry"); Spellbook.Add("Onslaught"); Spellbook.Add("Enraged Regeneration"); Spellbook.Add("Bloodbath"); Spellbook.Add("Crushing Blow"); Buffs.Add("Bloodlust"); Buffs.Add("Heroism"); Buffs.Add("Time Warp"); Buffs.Add("Ancient Hysteria"); Buffs.Add("Netherwinds"); Buffs.Add("Drums of Rage"); Buffs.Add("Lifeblood"); Buffs.Add("Memory of Lucid Dreams"); Buffs.Add("Reckless Force"); Buffs.Add("Guardian of Azeroth"); Buffs.Add("Bloodlust"); Buffs.Add("Heroism"); Buffs.Add("Time Warp"); Buffs.Add("Ancient Hysteria"); Buffs.Add("Netherwinds"); Buffs.Add("Drums of Rage"); Buffs.Add("Lifeblood"); Buffs.Add("Memory of Lucid Dreams"); Buffs.Add("Reckless Force"); Buffs.Add("Guardian of Azeroth"); Buffs.Add("Recklessness"); Buffs.Add("Meat Cleaver"); Buffs.Add("Enrage"); Buffs.Add("Furious Slash"); Buffs.Add("Whirlwind"); Debuffs.Add("Razor Coral"); Debuffs.Add("Conductive Ink"); Debuffs.Add("Shiver Venom"); Debuffs.Add("Siegebreaker"); Buffs.Add("Berserker Rage"); Buffs.Add("Meat Cleaver"); Buffs.Add("Enrage"); Buffs.Add("Furious Slash"); Buffs.Add("Whirlwind"); Buffs.Add("Test of Might"); Buffs.Add("Avatar"); Buffs.Add("Sharpen Blade"); Buffs.Add("Battle Shout"); Buffs.Add("Overpower"); Buffs.Add("Bladestorm"); Buffs.Add("Defensive Stance"); Buffs.Add("Sweeping Strikes"); Buffs.Add("Sudden Death"); Debuffs.Add("Razor Coral"); Debuffs.Add("Conductive Ink"); Debuffs.Add("Shiver Venom"); Debuffs.Add("Siegebreaker"); Debuffs.Add("Rend"); Debuffs.Add("Hamstring"); Debuffs.Add("Deep Wounds"); Items.Add(TopTrinket); Items.Add(BotTrinket); Items.Add(usableitems); Macros.Add("ItemUse", "/use " + usableitems); Macros.Add("TopTrink", "/use 13"); Macros.Add("BotTrink", "/use 14"); Macros.Add("StormBoltOff", "/" + FiveLetters + " StormBolt"); Macros.Add("IntimidatingShoutOff", "/" + FiveLetters + " IntimidatingShout"); Macros.Add("RallyingCryOff", "/" + FiveLetters + " RallyingCry"); Macros.Add("BladestormOff", "/" + FiveLetters + " Bladestorm"); CustomCommands.Add("Potions"); CustomCommands.Add("SaveCooldowns"); CustomCommands.Add("noaoe"); CustomCommands.Add("pvp"); CustomCommands.Add("savepp"); CustomCommands.Add("StormBolt"); CustomCommands.Add("RallyingCry"); CustomCommands.Add("IntimidatingShout"); CustomCommands.Add("Bladestorm"); CustomCommands.Add("AzeriteBeamOff"); }
public override void Initialize() { Aimsharp.PrintMessage("Vid Frost Deathknight 1.00", Color.Yellow); Aimsharp.PrintMessage("These macros can be used for manual control:", Color.Yellow); Aimsharp.PrintMessage("/xxxxx Potions --Toggles using buff potions on/off.", Color.Blue); Aimsharp.PrintMessage("/xxxxx SaveCooldowns --Toggles the use of big cooldowns on/off.", Color.Blue); Aimsharp.PrintMessage("/xxxxx noaoe --Toggles to turn off PVE AOE on/off.", Color.Orange); Aimsharp.PrintMessage("/xxxxx savepp -- Toggles the use of prepull", Color.Orange); Aimsharp.PrintMessage("/xxxxx StormBolt --Queues Storm Bolt up to be used on the next GCD.", Color.Red); Aimsharp.PrintMessage("/xxxxx RallyingCry --Queues Rallying Cry up to be used on the next GCD.", Color.Red); Aimsharp.PrintMessage("/xxxxx IntimidatingShout --Queues Intimidating SHout up to be used on the next GCD.", Color.Red); Aimsharp.PrintMessage("/xxxxx Bladestorm --Queues Bladestorm up to be used on the next GCD.", Color.Red); Aimsharp.PrintMessage("/xxxxx pvp --Toggles PVP Mode.", Color.Red); Aimsharp.PrintMessage("/xxxxx Burst --Toggles Burst for pvp on.", Color.Red); Aimsharp.Latency = 100; Aimsharp.QuickDelay = 125; MajorPower = GetDropDown("Major Power"); RacialPower = GetDropDown("Racial Power"); FiveLetters = GetString("First 5 Letters of the Addon:"); #region Spells if (RacialPower == "Orc") { Spellbook.Add("Blood Fury"); } if (RacialPower == "Troll") { Spellbook.Add("Berserking"); } if (RacialPower == "Dark Iron Dwarf") { Spellbook.Add("Fireblood"); } if (RacialPower == "Mag'har Orc") { Spellbook.Add("Ancestral Call"); } if (RacialPower == "Lightforged Draenei") { Spellbook.Add("Light's Judgment"); } Spellbook.Add("Howling BLast"); Spellbook.Add("Obliterate"); Spellbook.Add("Frost Strike"); Spellbook.Add("Remorseless Winter"); Spellbook.Add("Anti-Magic Shell"); Spellbook.Add("Breath of Sindragosa"); Spellbook.Add("Glacial Advance"); #endregion #region Buffs/Procs Buffs.Add("Icy Talons"); Buffs.Add("Pillar of Frost"); Buffs.Add("Breath of Sindragosa"); Buffs.Add("Empowered Rune Weapon"); Buffs.Add("Cold Heart"); Buffs.Add("Unholy Strength"); Buffs.Add("Reckless Force"); Buffs.Add("Seething Rage"); #endregion #region Debuffs Debuffs.Add("Frost Fever"); Debuffs.Add("Razor Ice"); #endregion }
public override void Initialize() { Aimsharp.PrintMessage("Kyber Vengenace DH V3.1", Color.Blue); Aimsharp.PrintMessage("These macros can be used for manual control:", Color.Blue); Aimsharp.PrintMessage("/xxxxx SaveCovenant", Color.Blue); Aimsharp.PrintMessage("--Toggles the use of Covenant abilities on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("/xxxxx AOE", Color.Blue); Aimsharp.PrintMessage("--Toggles AOE mode on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("/xxxxx SaveMeta", Color.Blue); Aimsharp.PrintMessage("--Toggles the use of Metamorphosis on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("/xxxxx SaveInfernal", Color.Blue); Aimsharp.PrintMessage("--Toggles the use of Infernal Strike on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("/xxxxx SaveFiery", Color.Blue); Aimsharp.PrintMessage("--Toggles the use of Fiery Brand on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("/xxxxx SaveFelDev", Color.Blue); Aimsharp.PrintMessage("--Toggles the use of Fel Devastation on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("/xxxxx Shriekwing", Color.Blue); Aimsharp.PrintMessage("--Toggles Shriekwing Tanking on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("--Replace xxxxx with first 5 letters of your addon, lowercase.", Color.Blue); Aimsharp.Latency = 40; Aimsharp.QuickDelay = 100; Aimsharp.SlowDelay = 225; //Main Skills foreach (string skill in VengeanceSpells) { Spellbook.Add(skill); } //Covenant foreach (string Spell in CovenantAbilities) { Spellbook.Add(Spell); } //Buffs foreach (string buff in VengeanceBuffs) { Buffs.Add(buff); } //Debuffs foreach (string debuff in VengeanceDebuffs) { Debuffs.Add(debuff); } foreach (string Buff in BloodlustEffects) { Buffs.Add(Buff); } addonName = GetString("First 5 Letter of your Addon:"); Items.Add(GetString("Potion name:")); Macros.Add("TopTrinket", "/use 13"); Macros.Add("BottomTrinket", "/use 14"); Macros.Add("DPS Pot", "/use " + GetString("Potion name:")); Macros.Add("sigil self", "/cast [@player] Sigil of Flame"); Macros.Add("Elysian self", "/cast [@player] Elysian Decree"); Macros.Add("sigilC", "/cast [@cursor] Sigil of Flame"); Macros.Add("ElysianC", "/cast [@cursor] Elysian Decree"); Macros.Add("infernal self","/cast [@player] Infernal Strike"); Macros.Add("ElysianDisable", "/" + addonName + " UseElysian"); Macros.Add("FieryDisable", "/" + addonName + " UseFiery"); Macros.Add("FelDevDisable", "/" + addonName + " UseFelDev"); Macros.Add("SigilMDisable", "/" + addonName + " UseMisery"); Macros.Add("SigilSDisable", "/" + addonName + " UseSilence"); Macros.Add("SigilCDisable", "/" + addonName + " UseChains"); Macros.Add("SigilMC", "/cast [@cursor] Sigil of Misery"); Macros.Add("SigilMSelf", "/cast [@player] Sigil of Misery"); Macros.Add("SigilSC", "/cast [@cursor] Sigil of Silence"); Macros.Add("SigilSSelf", "/cast [@player] Sigil of Silence"); Macros.Add("SigilCC", "/cast [@cursor] Sigil of Chains"); Macros.Add("SigilCSelf", "/cast [@player] Sigil of Chains"); Macros.Add("BoP Killer", "/cancelaura Blessing of Protection"); CustomCommands.Add("AOE"); CustomCommands.Add("SaveCovenant"); CustomCommands.Add("SaveFiery"); CustomCommands.Add("SaveFelDev"); CustomCommands.Add("UseFiery"); CustomCommands.Add("UseMisery"); CustomCommands.Add("UseSilence"); CustomCommands.Add("UseChains"); CustomCommands.Add("UseElysian"); CustomCommands.Add("UseFelDev"); CustomCommands.Add("SaveMeta"); CustomCommands.Add("SaveInfernal"); CustomCommands.Add("Shriekwing"); CustomFunctions.Add("ThreatStatus", "if (UnitDetailedThreatSituation(\"player\", \"target\"))\nthen\nreturn 1;\nend\nreturn 0;"); CustomFunctions.Add("GetLegendarySpellID", "local power = 0 for i=1,15,1 do local xcs = ItemLocation:CreateFromEquipmentSlot(i) if(C_Item.DoesItemExist(xcs)) then if(C_LegendaryCrafting.IsRuneforgeLegendary(xcs)) then local id = C_LegendaryCrafting.GetRuneforgeLegendaryComponentInfo(xcs)[\"powerID\"] power = C_LegendaryCrafting.GetRuneforgePowerInfo(id)[\"descriptionSpellID\"] end end end return power"); }
public override void Initialize() { Aimsharp.DebugMode(); Aimsharp.PrintMessage("Vid Marksman - v 1.0", Color.Yellow); Aimsharp.PrintMessage("These macros can be used for manual control:", Color.Blue); Aimsharp.PrintMessage("/xxxxx NoAOE --Toggles AOE mode on/off.", Color.Blue); Aimsharp.PrintMessage("/xxxxx Potions --Toggles using buff potions on/off.", Color.Blue); Aimsharp.PrintMessage("/xxxxx SaveCooldowns --Toggles the use of big cooldowns on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("--Replace xxxxx with first 5 letters of your addon, lowercase.", Color.Blue); MajorPower = GetDropDown("Major Power"); TopTrinket = GetDropDown("Top Trinket"); BotTrinket = GetDropDown("Bot Trinket"); RacialPower = GetDropDown("Racial Power"); usableitems = GetString("Use item: Case Sens"); AzeriteFocusedFireEnabled = GetCheckBox("Azerite Focused Fire"); AzeriteSurgingShotsEnabled = GetCheckBox(("Azerite Surging Shots")); AzeriteInTheRythmRank = GetSlider("Azerite In the Rythm Rank: "); if (RacialPower == "Orc") { Spellbook.Add("Blood Fury"); } if (RacialPower == "Troll") { Spellbook.Add("Berserking"); } if (RacialPower == "Dark Iron Dwarf") { Spellbook.Add("Fireblood"); } if (RacialPower == "Mag'har Orc") { Spellbook.Add("Ancestral Call"); } if (RacialPower == "Lightforged Draenei") { Spellbook.Add("Light's Judgment"); } if (RacialPower == "Furry") { Spellbook.Add("Bag of Tricks"); } Spellbook.Add(MajorPower); Spellbook.Add("Rapid Fire"); Spellbook.Add("Hunter's Mark"); Spellbook.Add("Aimed Shot"); Spellbook.Add("Steady Shot"); Spellbook.Add("Multi-Shot"); Spellbook.Add("Trueshot"); Spellbook.Add("Barrage"); Spellbook.Add("Explosive Shot"); Spellbook.Add("Arcane Shot"); Spellbook.Add("Kill Shot"); Spellbook.Add("Bursting Shot"); Spellbook.Add("Exhilaration"); Spellbook.Add("Double Tap"); Spellbook.Add("Chimaera Shot"); Spellbook.Add("A Murder of Crows"); Buffs.Add("Lifeblood"); Buffs.Add("Precise Shots"); Buffs.Add("Trick Shots"); Buffs.Add("Trueshot"); Debuffs.Add("Razor Coral"); Debuffs.Add("Hunter's Mark"); Items.Add(TopTrinket); Items.Add(BotTrinket); Items.Add(usableitems); Macros.Add("ItemUse", "/use " + usableitems); Macros.Add("TopTrink", "/use 13"); Macros.Add("BotTrink", "/use 14"); CustomCommands.Add("NoAOE"); CustomCommands.Add("Potions"); CustomCommands.Add("SaveCooldowns"); }
public override void Initialize() { Aimsharp.PrintMessage("Perfect Simcraft Series: Shadow Priest - v 1.0", Color.Blue); Aimsharp.PrintMessage("Recommended talents: 3111111", Color.Blue); Aimsharp.PrintMessage("These macros can be used for manual control:", Color.Blue); Aimsharp.PrintMessage("/xxxxx AOE", Color.Blue); Aimsharp.PrintMessage("--Toggles AOE mode on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("/xxxxx Potions", Color.Blue); Aimsharp.PrintMessage("--Toggles using buff potions on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("/xxxxx SaveCooldowns", Color.Blue); Aimsharp.PrintMessage("--Toggles the use of big cooldowns on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("--Replace xxxxx with first 5 letters of your addon, lowercase.", Color.Blue); Aimsharp.Latency = 0; Aimsharp.QuickDelay = 125; Aimsharp.SlowDelay = 300; MajorPower = GetDropDown("Major Power"); TopTrinket = GetDropDown("Top Trinket"); BotTrinket = GetDropDown("Bot Trinket"); Spellbook.Add(MajorPower); Spellbook.Add("Void Eruption"); Spellbook.Add("Dark Ascension"); Spellbook.Add("Void Bolt"); Spellbook.Add("Mind Sear"); Spellbook.Add("Shadow Word: Death"); Spellbook.Add("Surrender to Madness"); Spellbook.Add("Dark Void"); Spellbook.Add("Mindbender"); Spellbook.Add("Shadowfiend"); Spellbook.Add("Shadow Crash"); Spellbook.Add("Mind Blast"); Spellbook.Add("Void Torrent"); Spellbook.Add("Shadow Word: Pain"); Spellbook.Add("Vampiric Touch"); Spellbook.Add("Mind Flay"); Spellbook.Add("Shadowform"); Spellbook.Add("Shadow Word: Void"); Buffs.Add("Bloodlust"); Buffs.Add("Heroism"); Buffs.Add("Time Warp"); Buffs.Add("Ancient Hysteria"); Buffs.Add("Netherwinds"); Buffs.Add("Drums of Rage"); Buffs.Add("Chorus of Insanity"); Buffs.Add("Lifeblood"); Buffs.Add("Harvested Thoughts"); Buffs.Add("Voidform"); Buffs.Add("Shadowform"); Debuffs.Add("Shadow Word: Pain"); Debuffs.Add("Vampiric Touch"); Debuffs.Add("Shiver Venom"); Items.Add(TopTrinket); Items.Add(BotTrinket); Items.Add(GetDropDown("Potion Type")); Macros.Add(TopTrinket, "/use " + TopTrinket); Macros.Add(BotTrinket, "/use " + BotTrinket); Macros.Add("TopTrink", "/use 13"); Macros.Add("BotTrink", "/use 14"); Macros.Add("potion", "/use " + GetDropDown("Potion Type")); Macros.Add("crash cursor", "/cast [@cursor] Shadow Crash"); CustomCommands.Add("AOE"); CustomCommands.Add("Prepull"); CustomCommands.Add("Potions"); CustomCommands.Add("SaveCooldowns"); }
public override void Initialize() { //Aimsharp.DebugMode(); Aimsharp.PrintMessage("Vid Shadow - v 1.0", Color.Blue); Aimsharp.PrintMessage("These macros can be used for manual control:", Color.Blue); Aimsharp.PrintMessage("/xxxxx NoAOE", Color.Blue); Aimsharp.PrintMessage("--Toggles AOE mode on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("/xxxxx Potions", Color.Blue); Aimsharp.PrintMessage("--Toggles using buff potions on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("/xxxxx SaveCooldowns", Color.Blue); Aimsharp.PrintMessage("--Toggles the use of big cooldowns on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("/xxxxx CouncilDotsOff", Color.Blue); Aimsharp.PrintMessage("--Will keep SW:P and VT up on focus and Boss 1-4.", Color.Blue); Aimsharp.PrintMessage("/xxxxx StartCombat", Color.Blue); Aimsharp.PrintMessage("--Will initiate combat on by itself.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("--Replace xxxxx with first 5 letters of your addon, lowercase.", Color.Blue); Aimsharp.Latency = 50; Aimsharp.QuickDelay = 125; Aimsharp.SlowDelay = 250; MajorPower = GetDropDown("Major Power"); TopTrinket = GetDropDown("Top Trinket"); BotTrinket = GetDropDown("Bot Trinket"); FiveLetters = GetString("First 5 Letters of the Addon:"); AmountHP = GetSlider("Don't dot below HP Amount"); PercentHP = GetSlider("Don't dot below HP%"); Spellbook.Add(MajorPower); Spellbook.Add("Agony"); Spellbook.Add("Corruption"); Spellbook.Add("Seed of Corruption"); Spellbook.Add("Unstable Affliction"); Spellbook.Add("Summon Darkglare"); Spellbook.Add("Unending Resolve"); Spellbook.Add("Command Demon"); Spellbook.Add("Malefic Rapture"); Spellbook.Add("Siphon Life"); Spellbook.Add("Vile Taint"); Spellbook.Add("Phantom Singularity"); Spellbook.Add("Shadow Bolt"); Spellbook.Add("Drain Soul"); Spellbook.Add("Haunt"); Spellbook.Add("Dark Soul: Misery"); Spellbook.Add("Unending Resolve"); Items.Add("Healthstone"); Buffs.Add("Bloodlust"); Buffs.Add("Heroism"); Buffs.Add("Time Warp"); Buffs.Add("Ancient Hysteria"); Buffs.Add("Netherwinds"); Buffs.Add("Drums of Rage"); Buffs.Add("Lifeblood"); Buffs.Add("Void Miasma"); Debuffs.Add("Concentrated Flame"); Debuffs.Add("Corruption"); Debuffs.Add("Siphon Life"); Debuffs.Add("Agony"); Debuffs.Add("Unstable Affliction"); Debuffs.Add("Vile Taint"); Debuffs.Add("Phantom Singularity"); Debuffs.Add("Seed of Corruption"); Items.Add(TopTrinket); Items.Add(BotTrinket); Items.Add(GetDropDown("Potion Type")); Macros.Add(TopTrinket, "/use " + TopTrinket); Macros.Add(BotTrinket, "/use " + BotTrinket); Macros.Add("TopTrink", "/use 13"); Macros.Add("BotTrink", "/use 14"); Macros.Add("potion", "/use " + GetDropDown("Potion Type")); Macros.Add("Healthstone", "/use Healthstone"); Macros.Add("crash cursor", "/cast [@cursor] Shadow Crash"); Macros.Add("MassDispel", "/cast [@cursor] Mass Dispel"); Macros.Add("MassDispelOff", "/" + FiveLetters + " MassDispel"); Macros.Add("S2MOff", "/" + FiveLetters + " S2M"); Macros.Add("DispelOff", "/" + FiveLetters + " DispelMagic"); Macros.Add("DispersionOff", "/" + FiveLetters + " Dispersion"); Macros.Add("MindControlOff", "/" + FiveLetters + " MindControl"); Macros.Add("PsychicScreamOff", "/" + FiveLetters + " PsychicScream"); Macros.Add("PsychicHorrorOff", "/" + FiveLetters + " PsychicHorror"); Macros.Add("DispelMagicOff", "/" + FiveLetters + " DispelMagic"); Macros.Add("AgonyFocus", "/cast [@focus] Agony"); Macros.Add("AgonyBoss1", "/cast [@boss1] Agony"); Macros.Add("AgonyBoss2", "/cast [@boss2] Agony"); Macros.Add("AgonyBoss3", "/cast [@boss3] Agony"); Macros.Add("AgonyBoss4", "/cast [@boss4] Agony"); Macros.Add("CorruptionFocus", "/cast [@focus] Corruption"); Macros.Add("CorruptionBoss1", "/cast [@boss1] Corruption"); Macros.Add("CorruptionBoss2", "/cast [@boss2] Corruption"); Macros.Add("CorruptionBoss3", "/cast [@boss3] Corruption"); Macros.Add("CorruptionBoss4", "/cast [@boss4] Corruption"); Macros.Add("SLFocus", "/cast [@focus] Siphon Life"); Macros.Add("SLBoss1", "/cast [@boss1] Siphon Life"); Macros.Add("SLBoss2", "/cast [@boss2] Siphon Life"); Macros.Add("SLBoss3", "/cast [@boss3] Siphon Life"); Macros.Add("SLBoss4", "/cast [@boss4] Siphon Life"); CustomCommands.Add("NoAOE"); CustomCommands.Add("Prepull"); CustomCommands.Add("Potions"); CustomCommands.Add("SaveCooldowns"); CustomCommands.Add("MassDispel"); CustomCommands.Add("JustEssences"); CustomCommands.Add("CouncilDotsOff"); CustomCommands.Add("SavePS"); CustomCommands.Add("StartCombat"); CustomFunctions.Add("UACount", "local UACount = 0\nfor i=1,20 do\nlocal unit = \"nameplate\" .. i\nif UnitExists(unit) then\nif UnitCanAttack(\"player\", unit) then\nfor j = 1, 40 do\nlocal name,_,_,_,_,_,source = UnitDebuff(unit, j)\nif name == \"Unstable Affliction\" and source == \"player\" then\nUACount = UACount + 1\nend\nend\nend\nend\nend\nreturn UACount"); CustomFunctions.Add("CorruptionCount", "local CorruptionCount = 0\nfor i=1,20 do\nlocal unit = \"nameplate\" .. i\nif UnitExists(unit) then\nif UnitCanAttack(\"player\", unit) then\nfor j = 1, 40 do\nlocal name,_,_,_,_,_,source = UnitDebuff(unit, j)\nif name == \"Corruption\" and source == \"player\" then\nCorruptionCount = CorruptionCount + 1\nend\nend\nend\nend\nend\nreturn CorruptionCount"); CustomFunctions.Add("CorruptionTargets", "local CorruptionTargets = 0\nfor i=1,20 do\nlocal unit = \"nameplate\" .. i\nif UnitExists(unit) then\nif UnitCanAttack(\"player\", unit) and UnitHealthMax(unit) > 90000 and UnitHealth(unit) > 60000 then\nCorruptionTargets = CorruptionTargets + 1\nend\nend\nend\nreturn CorruptionTargets"); CustomFunctions.Add("SoCCount", "local SoCCount = 0\nfor i=1,20 do\nlocal unit = \"nameplate\" .. i\nif UnitExists(unit) then\nif UnitCanAttack(\"player\", unit) then\nfor j = 1, 40 do\nlocal name,_,_,_,_,_,source = UnitDebuff(unit, j)\nif name == \"Seed of Corruption\" and source == \"player\" then\nSoCCount = SoCCount + 1\nend\nend\nend\nend\nend\nreturn SoCCount"); CustomFunctions.Add("TargetID", "local TargetID = 0;" + "\nif UnitExists(\"target\") then" + "\nTargetID = tonumber(UnitGUID(\"target\"):match(\"-(%d+)-%x+$\"), 10);" + "\nend" + "\nreturn TargetID;" ); CustomFunctions.Add("Boss1ID", "local Boss1ID = 0;" + "\nif UnitExists(\"boss1\") and UnitCanAttack(\"player\", \"boss1\") then" + "\nBoss1ID = tonumber(UnitGUID(\"boss1\"):match(\"-(%d+)-%x+$\"), 10);" + "\nend" + "\nreturn Boss1ID;" ); CustomFunctions.Add("Boss2ID", "local Boss2ID = 0;" + "\nif UnitExists(\"boss2\") and UnitCanAttack(\"player\", \"boss2\") then" + "\nBoss2ID = tonumber(UnitGUID(\"boss2\"):match(\"-(%d+)-%x+$\"), 10);" + "\nend" + "\nreturn Boss2ID;" ); CustomFunctions.Add("Boss3ID", "local Boss3ID = 0;" + "\nif UnitExists(\"boss3\") and UnitCanAttack(\"player\", \"boss3\") then" + "\nBoss3ID = tonumber(UnitGUID(\"boss3\"):match(\"-(%d+)-%x+$\"), 10);" + "\nend" + "\nreturn Boss3ID;" ); CustomFunctions.Add("Boss4ID", "local Boss4ID = 0;" + "\nif UnitExists(\"boss4\") and UnitCanAttack(\"player\", \"boss4\") then" + "\nBoss4ID = tonumber(UnitGUID(\"boss4\"):match(\"-(%d+)-%x+$\"), 10);" + "\nend" + "\nreturn Boss4ID;" ); }
public override void Initialize() { //Aimsharp.DebugMode(); Aimsharp.PrintMessage("Perfect Simcraft Series: Elemental Shaman - v 1.0", Color.Blue); Aimsharp.PrintMessage("These macros can be used for manual control:", Color.Blue); Aimsharp.PrintMessage("/xxxxx Potions", Color.Blue); Aimsharp.PrintMessage("--Toggles using buff potions on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("/xxxxx SaveCooldowns", Color.Blue); Aimsharp.PrintMessage("--Toggles the use of big cooldowns on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("/xxxxx AOE", Color.Blue); Aimsharp.PrintMessage("--Toggles AOE mode on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("/xxxxx LightAOE", Color.Blue); Aimsharp.PrintMessage("--Toggles light AOE mode on/off (3 targets).", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("/xxxxx Prepull 10", Color.Blue); Aimsharp.PrintMessage("--Starts the prepull actions.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("--Replace xxxxx with first 5 letters of your addon, lowercase.", Color.Blue); Aimsharp.Latency = 150; Aimsharp.QuickDelay = 100; Aimsharp.SlowDelay = 350; MajorPower = GetDropDown("Major Power"); TopTrinket = GetDropDown("Top Trinket"); BotTrinket = GetDropDown("Bot Trinket"); RacialPower = GetDropDown("Racial Power"); Spellbook.Add(MajorPower); if (RacialPower == "Orc") { Spellbook.Add("Blood Fury"); } if (RacialPower == "Troll") { Spellbook.Add("Berserking"); } if (RacialPower == "Dark Iron Dwarf") { Spellbook.Add("Fireblood"); } if (RacialPower == "Mag'har Orc") { Spellbook.Add("Ancestral Call"); } Spellbook.Add("Totem Mastery"); Spellbook.Add("Fire Elemental"); Spellbook.Add("Storm Elemental"); Spellbook.Add("Earth Elemental"); Spellbook.Add("Blood Fury"); Spellbook.Add("Berserking"); Spellbook.Add("Fireblood"); Spellbook.Add("Ancestral Call"); Spellbook.Add("Icefury"); Spellbook.Add("Ascendance"); Spellbook.Add("Stormkeeper"); Spellbook.Add("Flame Shock"); Spellbook.Add("Lava Burst"); Spellbook.Add("Elemental Blast"); Spellbook.Add("Liquid Magma Totem"); Spellbook.Add("Lightning Bolt"); Spellbook.Add("Earthquake"); Spellbook.Add("Earth Shock"); Spellbook.Add("Lightning Lasso"); Spellbook.Add("Frost Shock"); Spellbook.Add("Lava Beam"); Spellbook.Add("Chain Lightning"); Spellbook.Add("Call Lightning"); Spellbook.Add("Eye of the Storm"); Buffs.Add("Bloodlust"); Buffs.Add("Heroism"); Buffs.Add("Time Warp"); Buffs.Add("Ancient Hysteria"); Buffs.Add("Netherwinds"); Buffs.Add("Drums of Rage"); Buffs.Add("Resonance Totem"); Buffs.Add("Stormkeeper"); Buffs.Add("Lifeblood"); Buffs.Add("Memory of Lucid Dreams"); Buffs.Add("Icefury"); Buffs.Add("Ascendance"); Buffs.Add("Wind Gust"); Buffs.Add("Lava Surge"); Buffs.Add("Surge of Power"); Buffs.Add("Master of the Elements"); Buffs.Add("Lava Shock"); Buffs.Add("Call Lightning"); Debuffs.Add("Razor Coral"); Debuffs.Add("Conductive Ink"); Debuffs.Add("Flame Shock"); Debuffs.Add("Shiver Venom"); Items.Add(TopTrinket); Items.Add(BotTrinket); Items.Add(GetDropDown("Potion Type")); Items.Add("Neural Synapse Enhancer"); Macros.Add(TopTrinket, "/use " + TopTrinket); Macros.Add(BotTrinket, "/use " + BotTrinket); Macros.Add("potion", "/use " + GetDropDown("Potion Type")); Macros.Add("eq cursor", "/cast [@cursor] Earthquake"); Macros.Add("Magma Cursor", "/cast [@cursor] Liquid Magma Totem"); Macros.Add("nse", "/use Neural Synapse Enhancer"); Macros.Add("TopTrink", "/use 13"); Macros.Add("BotTrink", "/use 14"); CustomCommands.Add("Potions"); CustomCommands.Add("SaveCooldowns"); CustomCommands.Add("AOE"); CustomCommands.Add("Prepull"); CustomCommands.Add("LightAOE"); }
public override void Initialize() { Aimsharp.PrintMessage("Perfect Simcraft Series: Havoc DH - v 1.0", Color.Blue); Aimsharp.PrintMessage("Recommended talents: 2313221", Color.Blue); Aimsharp.PrintMessage("These macros can be used for manual control:", Color.Blue); Aimsharp.PrintMessage("/xxxxx Potions", Color.Blue); Aimsharp.PrintMessage("--Toggles using buff potions on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("/xxxxx SaveCooldowns", Color.Blue); Aimsharp.PrintMessage("--Toggles the use of big cooldowns on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("/xxxxx AOE", Color.Blue); Aimsharp.PrintMessage("--Toggles AOE mode on/off.", Color.Blue); Aimsharp.PrintMessage("--Replace xxxxx with first 5 letters of your addon, lowercase.", Color.Blue); Aimsharp.Latency = 50; Aimsharp.QuickDelay = 125; MajorPower = GetDropDown("Major Power"); TopTrinket = GetDropDown("Top Trinket"); BotTrinket = GetDropDown("Bot Trinket"); Spellbook.Add(MajorPower); Spellbook.Add("Blade Dance"); Spellbook.Add("Metamorphosis"); Spellbook.Add("Nemesis"); Spellbook.Add("Eye Beam"); Spellbook.Add("Dark Slash"); Spellbook.Add("Fel Barrage"); Spellbook.Add("Chaos Strike"); Spellbook.Add("Death Sweep"); Spellbook.Add("Immolation Aura"); Spellbook.Add("Annihilation"); Spellbook.Add("Felblade"); Spellbook.Add("Demon's Bite"); Spellbook.Add("Throw Glaive"); Buffs.Add("Revolving Blades"); Buffs.Add("Metamorphosis"); Buffs.Add("Momentum"); Buffs.Add("Memory of Lucid Dreams"); Buffs.Add("Thirsting Blades"); Buffs.Add("Prepared"); Buffs.Add("Lifeblood"); Debuffs.Add("Razor Coral"); Debuffs.Add("Conductive Ink"); Debuffs.Add("Dark Slash"); Items.Add(TopTrinket); Items.Add(BotTrinket); Items.Add(GetDropDown("Potion Type")); Macros.Add("TopTrink", "/use 13"); Macros.Add("BotTrink", "/use 14"); Macros.Add(TopTrinket, "/use " + TopTrinket); Macros.Add(BotTrinket, "/use " + BotTrinket); Macros.Add("potion", "/use " + GetDropDown("Potion Type")); Macros.Add("meta self", "/cast [@player] Metamorphosis"); CustomCommands.Add("Potions"); CustomCommands.Add("SaveCooldowns"); CustomCommands.Add("AOE"); }
public override void Initialize() { // Aimsharp.DebugMode(); Aimsharp.PrintMessage("Vid Protection Warrior", Color.Blue); Aimsharp.PrintMessage("These macros can be used for manual control:", Color.Blue); Aimsharp.PrintMessage("/xxxxx Potions", Color.Blue); Aimsharp.PrintMessage("--Toggles using buff potions on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("/xxxxx SaveCooldowns", Color.Blue); Aimsharp.PrintMessage("--Toggles the use of big cooldowns on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("/xxxxx AOE", Color.Blue); Aimsharp.PrintMessage("--Toggles AOE mode on/off.", Color.Blue); Aimsharp.PrintMessage("/xxxxx StormBolt --Queues Storm Bolt up to be used on the next GCD.", Color.Red); Aimsharp.PrintMessage("/xxxxx RallyingCry --Queues Rallying Cry up to be used on the next GCD.", Color.Red); Aimsharp.PrintMessage("/xxxxx IntimidatingShout --Queues Intimidating SHout up to be used on the next GCD.", Color.Red); //Aimsharp.PrintMessage(" "); // Aimsharp.PrintMessage("/xxxxx Prepull 10", Color.Blue); // Aimsharp.PrintMessage("--Starts the prepull actions.", Color.Blue); // Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("--Replace xxxxx with first 5 letters of your addon, lowercase.", Color.Blue); Aimsharp.Latency = 50; Aimsharp.QuickDelay = 125; Aimsharp.SlowDelay = 250; MajorPower = GetDropDown("Major Power"); TopTrinket = GetDropDown("Top Trinket"); BotTrinket = GetDropDown("Bot Trinket"); RacialPower = GetDropDown("Racial Power"); FiveLetters = GetString("First 5 Letters of the Addon:"); Spellbook.Add(MajorPower); if (RacialPower == "Orc") { Spellbook.Add("Blood Fury"); } if (RacialPower == "Troll") { Spellbook.Add("Berserking"); } if (RacialPower == "Dark Iron Dwarf") { Spellbook.Add("Fireblood"); } if (RacialPower == "Mag'har Orc") { Spellbook.Add("Ancestral Call"); } if (RacialPower == "Lightforged Draenei") { Spellbook.Add("Light's Judgment"); } if (RacialPower == "Bloodelf") { Spellbook.Add("Arcane Torrent"); } Spellbook.Add("Intercept"); Spellbook.Add("Avatar"); Spellbook.Add("Ignore Pain"); Spellbook.Add("Demoralizing Shout"); Spellbook.Add("Last Stand"); Spellbook.Add("Thunder Clap"); Spellbook.Add("Ravager"); Spellbook.Add("Shield Block"); Spellbook.Add("Shield Slam"); Spellbook.Add("Devastate"); Spellbook.Add("Victory Rush"); Spellbook.Add("Revenge"); Spellbook.Add("Intimidating Shout"); Spellbook.Add("Shockwave"); Spellbook.Add("Storm Bolt"); Spellbook.Add("Rallying Cry"); Buffs.Add("Bloodlust"); Buffs.Add("Heroism"); Buffs.Add("Time Warp"); Buffs.Add("Ancient Hysteria"); Buffs.Add("Netherwinds"); Buffs.Add("Drums of Rage"); Buffs.Add("Lifeblood"); Buffs.Add("Memory of Lucid Dreams"); Buffs.Add("Reckless Force"); Buffs.Add("Guardian of Azeroth"); Buffs.Add("Victorious"); Buffs.Add("Avatar"); Buffs.Add("Ignore Pain"); Buffs.Add("Shield Block"); Buffs.Add("Revenge!"); Debuffs.Add("Razor Coral"); Debuffs.Add("Conductive Ink"); Debuffs.Add("Shiver Venom"); Items.Add(TopTrinket); Items.Add(BotTrinket); Items.Add(GetDropDown("Potion Type")); Macros.Add(TopTrinket, "/use " + TopTrinket); Macros.Add(BotTrinket, "/use " + BotTrinket); Macros.Add("potion", "/use " + GetDropDown("Potion Type")); Macros.Add("StormBoltOff", "/" + FiveLetters + " StormBolt"); Macros.Add("IntimidatingShoutOff", "/" + FiveLetters + " IntimidatingShout"); Macros.Add("RallyingCryOff", "/" + FiveLetters + " RallyingCry"); Macros.Add("ShockWaveOff", "/" + FiveLetters + " ShockWave"); CustomCommands.Add("Potions"); CustomCommands.Add("SaveCooldowns"); CustomCommands.Add("AOE"); // CustomCommands.Add("Prepull"); CustomCommands.Add("StormBolt"); CustomCommands.Add("RallyingCry"); CustomCommands.Add("IntimidatingShout"); CustomCommands.Add("ShockWave"); Macros.Add("RavageSelf", "/cast [@player] Ravager"); }
public override void Initialize() { Aimsharp.DebugMode(); Aimsharp.PrintMessage("Ice Series: Assassination Rogue - v 1.0", Color.Blue); Aimsharp.PrintMessage("These macros can be used for manual control:", Color.Blue); Aimsharp.PrintMessage("/xxxxx Potions", Color.Blue); Aimsharp.PrintMessage("--Toggles using buff potions on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("/xxxxx SaveCooldowns", Color.Blue); Aimsharp.PrintMessage("--Toggles the use of big cooldowns on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("/xxxxx AOE", Color.Blue); Aimsharp.PrintMessage("--Toggles AOE mode on/off.", Color.Blue); //Aimsharp.PrintMessage(" "); // Aimsharp.PrintMessage("/xxxxx Prepull 10", Color.Blue); // Aimsharp.PrintMessage("--Starts the prepull actions.", Color.Blue); // Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("--Replace xxxxx with first 5 letters of your addon, lowercase.", Color.Blue); Aimsharp.Latency = 50; Aimsharp.QuickDelay = 125; Aimsharp.SlowDelay = 250; MajorPower = GetDropDown("Major Power"); TopTrinket = GetDropDown("Top Trinket"); BotTrinket = GetDropDown("Bot Trinket"); RacialPower = GetDropDown("Racial Power"); Spellbook.Add(MajorPower); if (RacialPower == "Orc") { Spellbook.Add("Blood Fury"); } if (RacialPower == "Troll") { Spellbook.Add("Berserking"); } if (RacialPower == "Dark Iron Dwarf") { Spellbook.Add("Fireblood"); } if (RacialPower == "Mag'har Orc") { Spellbook.Add("Ancestral Call"); } if (RacialPower == "Lightforged Draenei") { Spellbook.Add("Light's Judgment"); } if (RacialPower == "Bloodelf") { Spellbook.Add("Arcane Torrent"); } Spellbook.Add("Stealth"); Spellbook.Add("Garrote"); Spellbook.Add("Rupture"); Spellbook.Add("Exsanguinate"); Spellbook.Add("Toxic Blade"); Spellbook.Add("Vendetta"); Spellbook.Add("Marked for Death"); Spellbook.Add("Vanish"); Spellbook.Add("Crimson Tempest"); Spellbook.Add("Envenom"); Spellbook.Add("Fan of Knives"); Spellbook.Add("Blindside"); Spellbook.Add("Mutilate"); Buffs.Add("Bloodlust"); Buffs.Add("Heroism"); Buffs.Add("Time Warp"); Buffs.Add("Ancient Hysteria"); Buffs.Add("Netherwinds"); Buffs.Add("Drums of Rage"); Buffs.Add("Lifeblood"); Buffs.Add("Memory of Lucid Dreams"); Buffs.Add("Reckless Force"); Buffs.Add("Guardian of Azeroth"); Buffs.Add("Stealth"); Buffs.Add("Subterfuge"); Buffs.Add("Vanish"); Buffs.Add("Master Assassin"); Buffs.Add("Blindside"); Debuffs.Add("Razor Coral"); Debuffs.Add("Conductive Ink"); Debuffs.Add("Shiver Venom"); Debuffs.Add("Rupture"); Debuffs.Add("Garrote"); Debuffs.Add("Deadly Poison"); Debuffs.Add("Crippling Poison"); Debuffs.Add("Wound Poison"); Debuffs.Add("Vendetta"); Debuffs.Add("Toxic Blade"); Items.Add(TopTrinket); Items.Add(BotTrinket); Items.Add(GetDropDown("Potion Type")); Macros.Add("TopTrink", "/use 13"); Macros.Add("BotTrink", "/use 14"); Macros.Add("potion", "/use " + GetDropDown("Potion Type")); CustomCommands.Add("Potions"); CustomCommands.Add("SaveCooldowns"); CustomCommands.Add("AOE"); // CustomCommands.Add("Prepull"); }
public override void Initialize() { Aimsharp.PrintMessage("Perfect Simcraft Series: BM Hunter - v 1.0", Color.Blue); Aimsharp.PrintMessage("Recommended talents: 2222212", Color.Blue); Aimsharp.PrintMessage("These macros can be used for manual control:", Color.Blue); Aimsharp.PrintMessage("/xxxxx AOE", Color.Blue); Aimsharp.PrintMessage("--Toggles AOE mode on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("/xxxxx Potions", Color.Blue); Aimsharp.PrintMessage("--Toggles using buff potions on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("/xxxxx SaveCooldowns", Color.Blue); Aimsharp.PrintMessage("--Toggles the use of big cooldowns on/off.", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("/xxxxx Prepull 6", Color.Blue); Aimsharp.PrintMessage("--Starts prepull rotation (hit it at around 6 seconds before)", Color.Blue); Aimsharp.PrintMessage(" "); Aimsharp.PrintMessage("--Replace xxxxx with first 5 letters of your addon, lowercase.", Color.Blue); MajorPower = GetDropDown("Major Power"); TopTrinket = GetDropDown("Top Trinket"); BotTrinket = GetDropDown("Bot Trinket"); RacialPower = GetDropDown("Racial Power"); if (RacialPower == "Orc") { Spellbook.Add("Blood Fury"); } if (RacialPower == "Troll") { Spellbook.Add("Berserking"); } if (RacialPower == "Dark Iron Dwarf") { Spellbook.Add("Fireblood"); } if (RacialPower == "Mag'har Orc") { Spellbook.Add("Ancestral Call"); } if (RacialPower == "Lightforged Draenei") { Spellbook.Add("Light's Judgment"); } Spellbook.Add(MajorPower); Spellbook.Add("Aspect of the Wild"); Spellbook.Add("Bestial Wrath"); Spellbook.Add("Barbed Shot"); Spellbook.Add("Stampede"); Spellbook.Add("Kill Command"); Spellbook.Add("Chimaera Shot"); Spellbook.Add("Dire Beast"); Spellbook.Add("Barrage"); Spellbook.Add("Cobra Shot"); Spellbook.Add("Spitting Cobra"); Spellbook.Add("A Murder of Crows"); Spellbook.Add("Multi-Shot"); Buffs.Add("Aspect of the Wild"); Buffs.Add("Bestial Wrath"); Buffs.Add("Frenzy"); Buffs.Add("Lifeblood"); Buffs.Add("Dance of Death"); Buffs.Add("Beast Cleave"); Buffs.Add("Barbed Shot"); Debuffs.Add("Razor Coral"); Items.Add(TopTrinket); Items.Add(BotTrinket); Items.Add(GetDropDown("Potion Type")); Macros.Add(TopTrinket, "/use " + TopTrinket); Macros.Add(BotTrinket, "/use " + BotTrinket); Macros.Add("potion", "/use " + GetDropDown("Potion Type")); Macros.Add("TopTrink", "/use 13"); Macros.Add("BotTrink", "/use 14"); CustomCommands.Add("AOE"); CustomCommands.Add("Prepull"); CustomCommands.Add("Potions"); CustomCommands.Add("SaveCooldowns"); }