SCOUT_DISARMAMENT_ARROW

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
User avatar
MiesterMan
Posts: 543
Joined: Tue Jul 06, 2010 9:15 pm
Location: Between the Second and Third Circles of Hell

SCOUT_DISARMAMENT_ARROW

#1 Post by MiesterMan »

I found this wasn't in the database so here ya go...

Code: Select all

<skill name="SCOUT_DISARMAMENT_ARROW" id="492950" mana="20" manainc="4.0" range="200" cooldown="8" type="damage" target="enemy" />
User avatar
MiesterMan
Posts: 543
Joined: Tue Jul 06, 2010 9:15 pm
Location: Between the Second and Third Circles of Hell

Re: SCOUT_DISARMAMENT_ARROW

#2 Post by MiesterMan »

Also, can something be done about mana conversion?

It shouldn't cast unless concentration gets below 20 or 30 and only in combat.
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: SCOUT_DISARMAMENT_ARROW

#3 Post by rock5 »

Is Disarmament Arrow an Elite or Set items skill? The entry in runesdatabase says it's a Knight skill.

There is no facility included at the moment for checking if concentration is below a certain point. You could just add autouse="false" then do a check in <onSkillCast>

Code: Select all

if player.Class1== CLASS_SCOUT and player.Battling and 30 > player.Concentration then
    player:cast("SCOUT_MANA_CONVERSION")
end
I think that's right.
  • 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
MiesterMan
Posts: 543
Joined: Tue Jul 06, 2010 9:15 pm
Location: Between the Second and Third Circles of Hell

Re: SCOUT_DISARMAMENT_ARROW

#4 Post by MiesterMan »

Cool, will do that for now. I know it's a bit confusing, maybe it should under knight. The skill comes from the elite upgrade and shows up in the knight tab using the same TP as disarmament. However, you can only use it on your scout.

If the prefix tells the bot something about the location of the skill then it should be prefixed with knight cause that's where it is. Seems to be working fine with the scout prefix though.

Again, thx for that code. Very quick fix! :)
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: SCOUT_DISARMAMENT_ARROW

#5 Post by rock5 »

MiesterMan wrote:Cool, will do that for now. I know it's a bit confusing, maybe it should under knight. The skill comes from the elite upgrade and shows up in the knight tab using the same TP as disarmament. However, you can only use it on your scout.
Ah, sounds like a passive elite that upgrades a skill. Is that "Armor-piercing Arrow"? "Extends the range of disarmament".

So it is a bit confusing. It's a knight skill but is not available as a knight and it's from a scout elite. It should work with either prefix. I'm not 100% sure, but I think you are right, maybe it should have a knight prefix.
  • 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
Post Reply