Priority based skill casting

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Priority based skill casting

#1 Post by rock5 » Wed Apr 25, 2012 12:59 am

I've thought about this before but there wasn't much demand for it and I thought it would be too much work but I've thought of a way to add it really easily.

Currently skills are cast in order (based on the 'priority' value) and it goes through the whole list before starting at the beginning again. Of course it skips skills it can't cast. This is 'sequentially' based casting. This has it's limitations and for many of us who were used to 'priority' based casting from addons such as 'uberflex' this was fustrating.

'Priority' based casting means it looks through the list of skills and when it finds a skill it can cast it casts it then starts at the begining again. That means it casts your best skills more often and your worst skills less often if at all. Buffs and heals would still have to be checked though.

So my simple solution (which would be added as an option) would cast the attack skills by 'priority' and the heals and buffs 'sequentially' as before.

What do you think? Did anyone understand that? :)
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Priority based skill casting

#2 Post by rock5 » Wed Apr 25, 2012 4:03 am

To give you an idea how this is working for me with PRIORITY_CASTING enabled, this is how I have my M/Wd skills set up at the moment.

Code: Select all

		<skill name="MAGE_THUNDERSTORM" 		hotkey="MACRO" priority="100" aoemobcount="3"/>
		<skill name="MAGE_EARTH_SURGE"          hotkey="MACRO" priority="90" />
		<skill name="MAGE_EARTH_GROANING_WIND_BLADE"          hotkey="MACRO" priority="80" />
		<skill name="MAGE_FIREBALL" 			hotkey="MACRO" priority="70" />
		<skill name="MAGE_PLASMA_ARROW" 			hotkey="MACRO" priority="60" />
		<skill name="MAGE_EARTH_SCEPTER" 		hotkey="MACRO" priority="55" />
		<skill name="WARDEN_BRIAR_SHIELD" 		hotkey="MACRO" priority="40" />
If there is 3 or more mobs together it spams Thunderstorm because that's spamable (use of Thunderstorm and aoemobcount option is an upcoming feature). When there are less than 2 left it switches to the other skills. When attacking 1 mob it typically casts

Earth Surge
Earth Groaning Wind Blade
Fireball
Earth Surge


Notice it goes back to Earth Surge when it's off cooldown. It usually doesn't cast Plasma Arrow but will if all the other skills are on cooldown.

I think this is working perfectly with no need for special code in the onLeaveCombat or onPreSkillCast sections of the profile which is what you would need to get the same effect with the current revision.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

BillDoorNZ
Posts: 446
Joined: Wed Aug 03, 2011 7:37 pm

Re: Priority based skill casting

#3 Post by BillDoorNZ » Wed Apr 25, 2012 2:38 pm

looks good to me Rock and should result in more efficient rotations :)

kx9488
Posts: 60
Joined: Wed Jan 26, 2011 6:27 pm

Re: Priority based skill casting

#4 Post by kx9488 » Sat Apr 28, 2012 1:35 pm

firstly i would like to say that i greatly appreciate all of your contributions to this community, and this looks sweet.

i'm wondering if it could be part of, or used with a user function so that it can be turned off and on, or maybe it wouldn't have to from the way i am understanding it's use?

i would personally like to use this for boss-fighting so that my single target DPS skills get spammed off their cool-downs to burn down bosses,
then turned off to only spam my AoE skills in my profile through the instance's trash mobs (i'm loving you are adding thunderstorm).

putting a priority value on the skills instead of using a sequential list might eliminate the need to remove all single-target skills in my profile if i only want to use AoE skills for trash mobs and skip bosses.

so i guess my question about this feature:
since purgatory fire/thunderstorm really don't have cool downs, how would someone toggle between only using those skills to farm weak mobs, then skipping their cast on boss encounters with this feature?

will it just count the # of mobs?
or is there a ChangeProFileoption_Mage_Purgatory_fire_priority(100) function that can be used in way point for skills to be altered before/after boss encounters?
Image

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Priority based skill casting

#5 Post by rock5 » Sun Apr 29, 2012 12:14 am

kx9488 wrote:i'm wondering if it could be part of, or used with a user function so that it can be turned off and on, or maybe it wouldn't have to from the way i am understanding it's use?
The variable will be stored in

Code: Select all

settings.profile.options.PRIORITY_CASTING
So you could just change that value to turn it off and on.
kx9488 wrote:i would personally like to use this for boss-fighting so that my single target DPS skills get spammed off their cool-downs to burn down bosses,
then turned off to only spam my AoE skills in my profile through the instance's trash mobs (i'm loving you are adding thunderstorm).
You're talking about changing skills priority or sequence. I'm not looking to add support for that but you could put your aoe skills with higher priority and add a 'mobcount' value so they don't get used until a group of mobs or adds appear.
kx9488 wrote:putting a priority value on the skills instead of using a sequential list might eliminate the need to remove all single-target skills in my profile if i only want to use AoE skills for trash mobs and skip bosses.
Yeah, if set up properly the intention is that it can use aoe as part of the regular rotation. And I'm not "putting a priority value on the skills". Enabling priority casting just changes the meaning of the 'priority' values from, the sequence it gets cast to a true priority value.
kx9488 wrote:so i guess my question about this feature:
since purgatory fire/thunderstorm really don't have cool downs, how would someone toggle between only using those skills to farm weak mobs, then skipping their cast on boss encounters with this feature?

will it just count the # of mobs?
Well there's your answer. You use the mobcount value to control when aoes are used.
kx9488 wrote:or is there a ChangeProFileoption_Mage_Purgatory_fire_priority(100) function that can be used in way point for skills to be altered before/after boss encounters?
You can't change the priority of skills after they are loaded. The priority is only used when loading the skills so changing them afterwards would have no effect.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Priority based skill casting

#6 Post by lisa » Fri Jul 20, 2012 2:01 am

is aoemobcount="3" working?
I have it on thunderstorm but bot is casting it on single mobs or did I need the mob count userfunction for it?
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Priority based skill casting

#7 Post by rock5 » Fri Jul 20, 2012 3:34 am

The option should be

Code: Select all

mobcount = "3"
and no, you don't need the mobcount userfunction.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Priority based skill casting

#8 Post by lisa » Fri Jul 20, 2012 3:39 am

yup that got it, thanks =)

Should add in a couple of things in the default profile =)
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

aspart
Posts: 42
Joined: Tue Jul 26, 2011 3:21 pm

Re: Priority based skill casting

#9 Post by aspart » Fri Jul 20, 2012 10:40 am

I understood it and think it would be a great add I would definitely use it!

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest