Thats a addon for World of Warcraft 5.4.8 that can perform automatic skill rotations. Users can make their own scripts for each classes to perform automatic casts based on conditions, so it can be used for example to maximize DPS. Try to understand the project, ill provide to you a example script and a guide for the specific class i want so you can make a script for it to maximize the DPS, okay?.
Assistant
User
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Okay, I understand. This is a World of Warcraft addon called "ProbablyEngine" designed to automate skill rotations based on custom scripts and conditions. It appears to be targeting the 5.4.8 patch.
Here's what I've gathered about the project:
Core Functionality:
Rotation Automation: The addon allows users to define spell sequences and conditions under which they should be cast. This enables automated rotations for maximizing DPS, healing, or other desired outcomes.
Customizable Scripts: Users can create their own scripts for each class and specialization, defining specific spell priorities and conditions.
Condition-Based Casting: Spells are cast based on a flexible condition system that can evaluate various game states, such as player health, buffs, debuffs, cooldowns, and more.
Dynamic Cycle: The addon seems to have an option for dynamic cycle time, possibly to reduce CPU usage.
Out of Combat Rotations: The addon supports separate rotations for in-combat and out-of-combat scenarios.
Module Based: The addon uses a module system for additional functionality.
DSL: The addon uses a Domain Specific Language (DSL) for scripting the conditions.
Key Components:
ProbablyEngine.lua: The main file that initializes the addon and holds core variables.
rotation.lua: Handles the registration and management of rotations for different specializations.
condition.lua: Defines the core conditions that can be used within the DSL.
dsl.lua: Implements the Domain Specific Language for defining complex conditions.
spellcache.lua: Caches spell information.
library.lua: Allows users to load custom libraries with custom functions.
module.lua: Used to register module functionality.
command.lua: Handles slash commands.
set.lua: Implements a set for storing information.
timer.lua: Handles timer events.
player.lua: Module for storing player information.
target.lua: Module for storing target information.
queue.lua: Module for action queueing.
listeners: Event listeners for various WoW events.
rotations: Directory storing all the class specific rotation files.
How it Works (General):
Registration: Rotations are registered using ProbablyEngine.rotation.register for each specialization ID.
Conditions: The dsl.lua parses and evaluates conditions before attempting to cast a spell. The conditions use functions and modules registered in other core files to determine state.
Casting: When a condition evaluates as true, the corresponding spell is added to the queue.
Event-Driven: The addon uses game events to determine when to perform the cast and update state.
Ready for Your Example:
I'm ready to receive the example script and class guide you have. Please provide those, and I'll do my best to create a script for your chosen class. I'll focus on understanding your specific needs and then apply the project structure and DSL to create an effective rotation.
Ill provide the example script and guide now, do not forget that this is for version 5.4.8 of wow.
The example script (its for other class but you can use for example as its made by a user):
and now the guide, i get it in a forum so it can be not be the best guide possible so you can optimize IF you think its needed:
Introduction
This Guide is aimed towards people who are new to playing Arcane Mage in Mist of Pandaria. From this Guide you can learn to play arcane mage from Scratch,I will make this guide User Friendy as much as possible . The information in this guide is gathered from my knowledge of arcane mage and sources all over the Internet which i will include at the end of the guide.
General Information
The type of armour Mages wear is cloth . The primary stat for mage is Intellect. The only Resource Mage use is Mana, And we are a DPS only Class.
All of our Spec's are DPS based namely Frost | Arcane | Fire.
Mage's are able to travel around between continents due to their ability to conjure portals and teleport themselves to various parts of the world.
Mage's are also a Caster type class aka ranged class.
Arcane Mages use Mage Armor :- Increases your Mastery by 3000. The duration of all harmful Magic effects used against you is reduced by 25%.
Racial Perks
Some Racial's are better suited for playing mage. They can the give mage a small dps boost. In the end its totally up to you.
[Redacted Person] : Rocket Barrage,Rocket Jump,Time is Money
Undead :Cannibalize,Will of the Forsaken,Touch of the Grave
Blood Elf : Arcane Torrent
Pandaren : Quacking Palm,Bouncy,Epicurean
Horde Racial Order best Suited for [Redacted Person] :- Troll > Orc > Goblins > Undead > Blood Elf > Pandaren ( Pandaren is last cause if you die in a fight you Loose Epicurean Buff )
[Redacted Person] : Viciousness,Darkflight
Gnome : Shortblade Specialization,Escape Artist
Night Elf : Shadowmeld,Quickness
Human : Mace Specialization,Sword Specialization,Every Man for Himself
Pandaren : Quacking Palm,Bouncy,Epicurean
Dwarf : Stoneform,Mace Specialization
Alliance Best Suited Racial Perks :- Worgen > Gnome > Night Elf > Human > Pandaren >= Dwarf ( Pandaren is one before last cause if you die in a fight you Loose Epicurean Buff )
Final Racial Perks thought's : In the end it's how well you can play your mage, Racial perks do provide some perks but you need to learn most of your strengths and weaknesses of Mages through Trial & Error.
3.Stat Priority
Intellect > Hit Rating 15% (5100) > Mastery > Haste > Critical Strike
Intellect :- Is your primary stat. You should look for this stat in all of your upgrades. It provides you with Spell Power, which increases the damage of your spells, and also increases your critical strike chance.
Hit Rating :- Decreases the chance that your spells will miss their target (15% against a raid boss). Therefore, your goal is to reach the 15% hit cap, which will ensure that your attacks never miss.
Mastery :- Increases all spell damage done based on the amount of mana the Mage has unspent. ( Mastery: Mana Adept )
Haste :- Increases the cast speed of your spells and your Water Elemental and increases the number of ticks on you mage bombs.
Critical Strike :- Increases your chance to critically hit.Remember that your chance to critical hit
Talents & Glyphs
Tier 1 Talents :- Are intended to enhance your movement when attacking a target.
->Presence of Mind - Grants you an instant-cast for any spell of your choice every 90 seconds.
->Blazing Speed - Suppresses slowing effects and increases your movement speed by 150% for 1.5 seconds . Mostly a PvP talent but it has its used in PvE such as getting out of tricky situations or moving from Point A to B.
->Ice Floes - After activating this spell it Allows you to cast Spells while Moving it has 3 charges.
I Personally use Blazing Speed
It really comes down to personal Choice which of these you want to pick, Try them all and see what suits your play style.
Tier 2 Talents :- These talents help you survive when you about to take Normal to Moderate damage
->Temporal Shield - Offers 15% damage taken reduction for 4 seconds, on a 25-second cooldown.Every time you take damage while this damage reduction is active, it is healed back over the course of 6 seconds.
->FlameGlow - As small passive shield that always absorbs a bit of the damage you receive.
->Ice Barrier - Absorbs a Hefty chunk of damage (the absorption effect scales with Spell Power) and prevents spell casting from being delayed, while active.
In my opinion Ice Barrier is Generally better if you know when you are about to receive a large hit from a Raid boss which cannot be avoided such as Raid Wide Damage.
Tier 3 Talents :- These Talents help to Crowd Control { CC } mobs / Adds
->Ring of Frost - Summons a 10-yard ring that lasts for 10 seconds and that freezes for 10 seconds, enemies entering it (up to a maximum of 10 enemies ).
->Ice Ward - Places a Ice Ward on a friend target and causes all enemies within 10 yards of a friendly target to become frozen for 5 seconds when the friendly target is struck.
->FrostJaw - Silences and freezes the target in place for 8 seconds , Damage caused will break the effect.
These are mainly PvP talents but Ring of Frost is a solid choice for Raiding as it can help you Crowd Control Mobs / Adds during certain Raid mechanics.
Tier 4 Talents :- These Talents also help you Survive when you mess up.
->Greater Invisibility - Improves Invisibility giving it an instant effect and making you take 90% less damage while Greater Invisibility is active ( And for 3 seconds after coming out of Invisibility ).
->Cauterize - It's basically like a second chance to live in case you mess up really bad in a Raid Mechanic.
-> Cold Snap - When activated, this spell finishes the cooldown of your Ice Block, Frost Nova, and Cone of Cold spells, and heals you for 30% of your maximum health.This spell is usable while stunned, frozen, incapacitated, feared or asleep, and is not on the global cooldown.
It mainly Comes Down to Greater Invisibility VS Cauterize Alot of people go with Cauterize as it's a life saver when you are in a tight situation.
Tier 5 Talents :- Enables you to choose ONE of these damage over time bombs to include in your rotation and increase your DPS
->Nether Tempest - This can be considered as our Area of Effect (AOE)
Bomb is best used on targets greater than 3 in Close Proximity.
->Living Bomb - This Bomb is best used on 1 and 3 Targets, Is our most
Powerful Bomb.
->Frost Bomb - Places a Frost Bomb on the target. After 4 seconds, the bomb explodes Dealing AOE damge but is on a 10 Second cooldown.
Tier 6 :- These are Mana Management talents
->Invocation - Removes Evocation's Evocation, cooldown and reduces its channel period and duration by 50%.
Completing an Evocation causes you to deal 15% increased spell damage, but passively regenerate 50% less mana, for 1 minute.
Upon Completing an Evocation with the Invocation you gain a buff Invoker's Energy
->Rune of Power - Places a Rune of Power on the ground, which lasts for 1 minute. While standing within 5 yds of your own Rune of Power, your mana regeneration is increased by 75% and your spell damage is increased by 15%. Only 2 Runes of Power can be placed at one time. Replaces Evocation
->Incanter's Ward - Passively increases damage done by 6%.
Places a magical ward on you, absorbing damage for 8 seconds. Absorbed damage will restore up to 18% of your maximum mana. When this effect ends, you gain up to 15% increased spell damage for 25 seconds, based on the absorption used.
Arcane Mages should use only Rune of Power .
Major Glyphs
~ Glyph of Arcane Power :- Increases the duration and cooldown of Arcane Power by 100%.
~Glyph of Slow :- Your Arcane Blast spell applies the Slow spell to any target it damages if no target is currently affected by your Slow.
~Glyph of Evocation :- Your Evocation ability also causes you to regain 60% of your health over its duration. With the Invocation talent, you instead gain 10% of your health upon completing an Evocation. With the Rune of Power talent, you gain 1% of your health per second while standing in your own Rune of Power.
Minor Glyphs
~Glyph of Loose Mana :- Your Mana Gem now restores mana over 6 sec, rather than instantly.
~Glyph of Momentum :- Your Blink spell teleports you in the direction you are moving instead of the direction you are facing.
~Glyph of Mirror Image :- Your Mirror Images cast Arcane Blast or Fireball instead of Frostbolt depending on your primary talent tree.
Main Spells & Rotations
5.1 Main Spells
-> Arcane Blast :- Blasts the target with energy dealing Arcane damage. Generates an Arcane Charge
-> Arcane Charge :- An arcane charge, generated by Arcane Blast, Arcane Missiles, and Arcane Explosion, and consumed by Arcane Barrage and Evocation.
Arcane Blast :- Generates a charge. Arcane Blast's damage is increased by 50% per charge, and its mana cost increased by 150% per charge.
Arcane Missiles :- Arcane Missiles' damage is increased by 50% per Arcane Charge. Arcane Missiles has a chance to be activated after each of your damaging spell casts , Limit 2 charges.
Arcane Explosion :- Refreshes charges and has a 30% chance to generate a charge if at least one target is hit.
Arcane Barrage :- Consumes all charges. Arcane Barrage's damage is increased by 50% per charge, and it hits 1 additional nearby target/targets per charge for 50% damage.
->Living Bomb :- Keep this on the target / targets as the mage bomb's are a crucial part of a mages DPS.
->Nether Tempest - This can be considered as our Area of Effect (AOE) Bomb is best used on targets greater than 3 in Close Proximity.
->Mirror Image :- Creates 3 copies of the caster nearby, which cast spells and attack the Mage's enemies. Lasts 30 seconds. Use on cooldown & try to use when you have Time Warp / Bloodlust is availabe , Potions are activated , Trinkets are activated to maximise DPS output.
->Ice Block :- You become encased in a block of ice, protecting you from all physical attacks and spells for 10 seconds, but during that time you cannot attack, move or cast spells. Causes Hypothermia, preventing you from recasting Ice Block for 30 seconds.
+Use this if you are going to die or want to avoid some Heavy Damage in a Raid Mechanic.
+Ice Block can be used to remove some DE-BUFF'S on yourself such asCauterize
->Ice Barrier :- Provides you with a Shield that can absorb a Normal toModerate amount of damage, Scales with spell power.
->Alter Time :- Alter the fabric of time, causing the caster to return to their current location, health, mana, buffs, and debuffs, when cast a second time, or after 6 seconds. Effect negated if the caster dies within the 6 seconds before the effect occurs or moves too far away.
A very important Cooldown Spell of the mage Learn to use it when your doing highest amount of DPS with much as possible item activations , Trinket are activated Bloodlust or Timewarp is activated .
A lot of Mage's mess up using this spell Properly. ( Best way Learn this spell is to Practice using this spell until you're confident to use Alter Time Properly.)
->Blink :- Teleports the caster 20 yards forward, unless something is in the way. Also frees the caster from stuns and bonds.
->Blazing Speed :- Suppresses movement slowing effects and increases your movement speed by 150% for 1 second. This spell may be cast while a cast time spell is in progress and is not on the global cooldown.
->Rune of Power :- Places a Rune of Power on the ground, which lasts for 1 minute. While standing within 5 yds of your own Rune of Power, your mana regeneration is increased by 75% and your spell damage is increased by 15%. Only 2 Runes of Power can be placed at one time , Replaces Evocation.
->Invisibility :- Turns the caster invisible over 3 seconds, reducing threat each second. While invisible, you are untargetable by enemies. Lasts 20 seconds. Invisibility is cancelled if you perform any actions.
Time Warp :- Warp the flow of time, increasing melee, ranged, and spell haste by 30% for all party and raid members. Lasts 40 seconds.Allies receiving this effect will become unstuck in time, and be unable to benefit from Bloodlust, Heroism, or Time Warp again for 10 minutes.
Before using Time Warp Discuss with your Raid leader DO NOT USE IT UNTIL CALLED FOR.
->Arcane Brilliance :- Infuses the target with brilliance, increasing their spell power by 10% and their critical strike chance by 5% for 1 hour.
5.2 Rotations
Single Target Rotation
Put down Rune of Power ( Remember To REFRESH Rune of Power When under 10 Seconds of duration )
Prepot Potion of the Jade Serpent
Apply Living Bomb and maintain it on the target ( Recast Living Bomb on target when its under 3 Seconds to make the current active Living Bomb Explode and Apply new Living Bomb
Cast Mirror Image
Cast Arcane Blast :- This is your Main Filler spell that you will be casting Throughout the fight.
Cast Arcane Missiles When there are 4 Stacks of Arcane Charge
Cast Arcane Barrage :- Use to Dump Arcane Charge
Important :- Cast Alter Time When you are having Trinket Proc's ,Timewarp/Bloodlst & Potions are Active. (Learning to use this come from self Practice, Teaching to use this spell from a Guide is impossible, Practising from Trial & Error is the only way of learning to use this spell).
Multi Target Rotation
For 2 and 3 targets that are spread out use Living Bomb.
Between 2 and 4 enemies that are stacked together Cast Nether Tempest and use Arcane Explosion
The Spell Blizzard is also an AOE spell which should be cast as a filler during AOE situations only.
Important :- At least have a stack of Tome of the Clear Mind To change out the talents According to a Raid's Mechanics .
Consumables
Flask :- Flask of the Warm Sun
Potion :- Potion of the Jade Serpent
Food :- Mogu Fish Stew OR Braised Turtle
Okay, I've reviewed the provided example script for the Arms Warrior and the Arcane Mage guide. This gives me a good understanding of how the rotations should be structured, and I'll focus on creating a functional Arcane Mage rotation script based on the guide you have provided.
Here's my plan, focusing on the ProbablyEngine structure:
1. Understanding the Guide:
Stat Priority: Intellect > Hit Rating (15%) > Mastery > Haste > Critical Strike
Talents: Rune of Power, Living Bomb.
Glyphs: Glyph of Arcane Power, Glyph of Slow, Glyph of Evocation.
Buffs: Maintain Mage Armor and Arcane Brilliance.
Single Target Rotation:
Rune of Power (maintain)
Potion of the Jade Serpent
Living Bomb (maintain)
Mirror Image (on cooldown with buffs)
Arcane Blast (as filler)
Arcane Missiles (at 4 Arcane Charges)
Arcane Barrage (to dump charges)
Alter Time (with procs, buffs, potion etc..)
Multi-Target Rotation:
2-3 Targets: Living Bomb
4+ Targets: Nether Tempest + Arcane Explosion
Important Spells: Arcane Blast, Arcane Missiles, Arcane Barrage, Living Bomb, Nether Tempest, Mirror Image, Ice Block, Ice Barrier, Alter Time, Rune of Power.
2. Script Structure
I'll translate the guide's instructions into a ProbablyEngine script using the DSL:
Buffs: Will make sure the mage always have active buffs.
Rotation: Prioritize spells according to their role in the rotation and their cooldowns.
Cooldowns: Use Mirror Image and Alter Time, making sure the correct conditions are met.
Conditions: Use the DSL functions player.buff, target.debuff, player.mana, player.moving etc.
3. Implementation
Here's the code based on all of the above and the format from the example:
Spec ID: The rotation is registered for 62 which is the Arcane Mage specialization ID.
Buffs: It checks for the presence of Mage Armor and Arcane Brilliance buffs on the player and casts them if they are missing.
Gems: Uses Mana Gem or Brilliant Mana Gem when mana is lower then 70%.
Rune of Power: Places the Rune of Power on the ground using the modifier.shift conditional.
Mirror Image: Uses modifier.cooldowns so users can control when the skill is casted.
Dots: Applies and maintains Nether Tempest on multitarget and Living Bomb on single target
Moving: Casts Arcane Barrage, Fire Blast and Ice Lance while the player is moving.
Alter Time / Arcane Power: Uses a toggle to allow users to enable or disable those skills.
Rotation:
Prioritizes Arcane Missiles if available (triggered by the passive).
Casts Arcane Barrage when at 4 Arcane Charges and not having the Arcane Missiles buff.
Uses Arcane Blast as filler spell
4. Next Steps
Testing and Refinement: This script is a good starting point. You'll need to test it in-game and make adjustments as needed based on your playstyle and specific encounters.
Customization: You can further customize the rotation by adding conditions and priorities as needed.
Multi-Target logic: I have added a condition for Nether Tempest to only cast on multitarget situations.
Alter Time Toggle: I have added a toggle that enables a user to use the alter time and arcane power cooldowns.
Rune of Power Placement: Now the player needs to press shift for placing the rune.
What I Need From You:
In-Game Testing: Please try out the script and let me know how it performs.
Feedback: Tell me if there's anything specific that you'd like to change or optimize.
Specific Encounter Adaptations: If there are any raid encounters that require specific adjustments, please let me know.
I'm ready to help refine this script further. Let me know how it goes!