Crackling Cast - v1.0.3 yet another Hover Script<Attachment removed because of forbidden 1st round cast>
Yet another new Hover Script, this time it works with and was in fact designed with Reloader in mind.
Key Selling Blurb- Functionally based off HoverPlay
- Designed to work with Vanilla Reloader v1.1+ (as Chrome/Iron native script), but should work with Reloader 1.3.3+ (untested, for Chrome/Iron with TamperMonkey)
- Internally a little streamlined
Basic SetupToward the top of the script you will find a Settings Block.
I have added comments for the more interesting settings in the script.
Special Note: Spell Names are case-sensitive, also the script will only do what you tell it to, it has no default action. If you want to fall back on Attack or are Melee, you
will have to add 'Attack' to the hover list. In case you're not sure about the exact spelling of a spell, check a little lower in the Spells list.
The script ships with 1H settings by default. Here are two examples for Mage and 1H specs that worked out for me.
Example Mage Settings
CODE
use_reloader : true, // set to true if you're using a Reloader
spells : { // Pay Attention to typos. Is case-sensitive
hover : ['Inferno', 'Fiery Blast'], // List of Hover spells
newround: ['Flames of Loki'], // List to cast on new round
num : ['Imperil'] // List to cast when number key is pressed
},
limits : { // Limits are percentage based. i.e. 0.8 = 80%
heal : 0.4, // Heal rotation threshold
hdraught: 0.8, // Use Health Draught at or below
mdraught: 0.7, // Use Mana Draught at or below
mpotion : 0.55, // Use Mana Potion at or below
melixir : 0.15, // Use Mana Elixir at or below
sdraught: 0.7, // Use Spirit Draught at or below
spotion : 0.4, // Use Spirit Potion at or below
selixir : 0.25, // Use Spirit Elixir at or below
oc : 300 / 250 // Use Spirit Stance at or below (If > 1, never use spirit stance)
},
Example 1H Settings
CODE
use_reloader : true, // set to true if you're using a Reloader
spells : { // Pay Attention to typos. Is case-sensitive
hover : ['Attack'], // List of Hover spells
newround: ['Orbital Friendship Cannon'], // List to cast on new round
num : ['Orbital Friendship Cannon'] // List to cast when number key is pressed
},
limits : { // Limits are percentage based. i.e. 0.8 = 80%
heal : 0.4, // Heal rotation threshold
hdraught: 0.0, // Use Health Draught at or below
mdraught: 0.6, // Use Mana Draught at or below
mpotion : 0.4, // Use Mana Potion at or below
melixir : 0.15, // Use Mana Elixir at or below
sdraught: 0.6, // Use Spirit Draught at or below
spotion : 0.4, // Use Spirit Potion at or below
selixir : 0.25, // Use Spirit Elixir at or below
oc : 100 / 250 // Use Spirit Stance at or below (If > 1, never use spirit stance)
},
Using itAfter the setup the script will allow you to hover the mobs as you're used to doing.
If you reach the point where you told the script to warn you about taking a potion, heal or rebuff, you can as usual either hover the icon, press space bar or right click.
The script will pause in these events and the hover is disabled until there is no longer a conflict.
Shift will suspend the script, you will see an icon in the lower right hand corner.
Quirks you should know aboutAlt-Casting only works for self-buffs, as the following number key or hover will pick the next available spell from the corresponding list. If you want to cast by hand, you have to suspend the script by pressing shift.
-----------
Advanced SetupA little further down in the settings block you will find the following block
CODE
/**
* Heal Rotation, switch order or remove options to affect heal rotation
*/
heal_rotation: [
Common.recovery.cure,
Common.recovery.hpotion,
Common.recovery.fullcure,
Common.recovery.helixir
],
You can swap these lines around to determine your heal order (for example if you prefer fullcure over the others) or comment out/delete lines if you for example don't want to use health elixirs. The script will always use the first available spell in the order provided.
Technical StuffTested and developed as Iron native user script on Iron Version 35.0.1900.0
Tested by FabulousCupcake on Chrome with TamperMonkey
As usual, Untested on Firefox as far as i know
In case you find any more bugs, please let me know as usual.
Thanks and Kudos blockVoid Domain for initial testing
FabulousCupcake for extensive debugging and finding way too many errors (IMG:[
invalid]
style_emoticons/default/happy.gif)
Owyn for unwittingly letting me steal the HoverPlay dynamics (IMG:[
invalid]
style_emoticons/default/heh.gif)
Famous last wordsThere's like 60-140hours worth of coding and testing altogether in these 800 something lines of code. So please be nice (IMG:[
invalid]
style_emoticons/default/laugh.gif)
// Edit: Changed Scripts for FF version
This post has been edited by simrock87: Feb 20 2017, 21:43