Using healing skills and buffs too late

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Rickster
Posts: 291
Joined: Sun Oct 24, 2010 4:23 pm

Using healing skills and buffs too late

#1 Post by Rickster »

Hi,

i have a level 22 mage/druid, set up with three skills in its profile

Code: Select all

		<skill name="MAGE_ELECTROSTATIC_CHARGE"	hotkey="MACRO" priority="100" hpper="40" />
		<skill name="DRUID_RECOVER"          	hotkey="MACRO" priority="95" hpper="50" />
		<skill name="MAGE_FLAME"                hotkey="MACRO" priority="80" />
As you can see in the MM output below it casts DRUID_RECOVER on the enemy instead on itself.
And it does not cast MAGE_ELECTROSTATIC_CHARGE during the fight although it is set up to use it at first priority and at 40% hp.

Code: Select all

Wir greifen den Gegner 'Feuermähnen-Schwein' an.
Drücke MACRO: MAGE_FLAME           =>   * Cast gescheitert *
Drücke MACRO: MAGE_FLAME          =>   Feuermähnen-Schwein (2133/2133)
Drücke MACRO: MAGE_FLAME          =>   Feuermähnen-Schwein (1467/2133)
Drücke MACRO: MAGE_FLAME          =>   Feuermähnen-Schwein (1467/2133)
Drücke MACRO: MAGE_FLAME          =>   Feuermähnen-Schwein (806/2133)
Drücke MACRO: DRUID_RECOVER       =>   Feuermähnen-Schwein (806/2133)
Drücke MACRO: DRUID_RECOVER       =>   Feuermähnen-Schwein (806/2133)
Drücke MACRO: MAGE_FLAME          =>   Feuermähnen-Schwein (129/2133)
Drücke MACRO: DRUID_RECOVER       =>   Feuermähnen-Schwein (78/2133)
MACRO: Benutze Heiltrank 595/1868 (31%): Barbarenkr+ñuter (Anz 99)
Kampf beendet. 1 Feuermähnen-Schwein getötet. (Kampf #1 / Laufzeit 0 Minuten)
Haltbarkeit: 99.981818181818
Lösche Ziel.
Wir gehen zum Wegpunkt #87, (-6399, 4532)
MACRO: Benutze Heiltrank 608/1868 (32%): Salbe (Anz 8)
Drücke MACRO: MAGE_ELECTROSTATIC_C=>   Mychar (1221/1868)
Drücke MACRO: DRUID_RECOVER       =>   Mychar (1222/1868)
Can you see what I did wrong?

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

Re: Using healing skills and buffs too late

#2 Post by rock5 »

Firstly Recover is not cast on the mob, it just doesn't work on mobs. If you have a mob targeted and cast Recover you end up healing yourself. The bot is just telling you that you have that mob targeted when you cast Recover.

Otherwise it's hard to tell what's going on because there is a lot we can't see. What exactly is your hp levels? Are you running out of mana? Is Electrostatic Charge on Cooldown? Do you stll have the buff on? Are you using priority casting?
  • 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
Rickster
Posts: 291
Joined: Sun Oct 24, 2010 4:23 pm

Re: Using healing skills and buffs too late

#3 Post by Rickster »

Ah ok, I did not recognise this healing thing before and was so confused about the MM output, that I did not have a look at the char, who for sure, heals itself :) ... sorry for that one.

Electrostatic Charge (EC) thing:
mana is almost at 100%
hp is between 30-60%
EC ist not at cooldown and i do not have the buff.

I want it to use recover below 50% hp and if this is not enough or hp are already below 40% to use EC.
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Using healing skills and buffs too late

#4 Post by rock5 »

Maybe for the few moments you drop below 40% it is doing something else and by the time it gets to Electrostatic Charge your HP has 'Recovered' to above 40%.

Example, say your hp drops below %40 half way through casting recover. The next skill in the list is Flame so it casts that. So thats about 4s before it checks EC.
  • 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: Using healing skills and buffs too late

#5 Post by lisa »

You will probably find that your HP dropped below the 50% and then you cast a heal which got your HP up again and then it dropped below 50 and cast heal again.

To do what you really want to do you will probably have to add code into the onskillcast or onpreskillcast of your 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
Rickster
Posts: 291
Joined: Sun Oct 24, 2010 4:23 pm

Re: Using healing skills and buffs too late

#6 Post by Rickster »

ok, got the point. i´ll work on this a little bit ... to say, its not too important .

@Rock: you asked
Are you using priority casting?
I never heard of this ... are there different methods? Can I read about it soewhere?

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

Re: Using healing skills and buffs too late

#7 Post by rock5 »

You know how it is, documentation is woefully out dated. I think there is only a reference to it in my changelog for 709
http://www.solarstrike.net/phpBB3/viewt ... 225#p37225

Basically, what it used to do (and still does by default) is go through all the skills in order based on the priority value. So even though the variable is called 'priority' it is actually sequencially casting. If you set
PRIORITY_CASTING to 'true' then it will use the 'priority' value for true priority casting. What this means is it always casts the first available skill with the highest priority. So as soon as it finds a skills it can cast, it casts it and goes back to the beginning of the list. So your least popular skills at the end of your skill list will seldom if ever get cast.

This does mean that if you have a spammable skill first it will just keep using that and that would mean no benefitial skills would get cast. For this reason, priority casting only affects attack skills. All buffs and heals are still checked each loop. So in each loop through your skills, the first available attack skill will be cast and all the benefitial skills will be checked.

So in your case you only have 1 attack skill so that option should have no effect. So it was actually a mistake that I mentioned it.
  • 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
Rickster
Posts: 291
Joined: Sun Oct 24, 2010 4:23 pm

Re: Using healing skills and buffs too late

#8 Post by Rickster »

but it was a "good" mistake :) now i know about this great option!
Post Reply