Cast Slash only if rage > 25

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Mushroomstamp
Posts: 210
Joined: Wed Oct 27, 2010 11:34 am

Cast Slash only if rage > 25

#1 Post by Mushroomstamp » Sat Nov 06, 2010 9:46 am

Is there a way to get it to check for rage before attempting to use rage-based attacks?

User avatar
jduartedj
Posts: 599
Joined: Sat Dec 19, 2009 12:18 am
Location: Lisbon
Contact:

Re: Cast Slash only if rage > 25

#2 Post by jduartedj » Sat Nov 06, 2010 10:16 am

Mushroomstamp wrote:Is there a way to get it to check for rage before attempting to use rage-based attacks?

I'm not sure about this one, i think using

Code: Select all

player.Mana
works either if your using mana, focus or rage. although i'm not sure how does rom-bot handle char with 2 types of "mana", Like a Mage/Rogue.

Also I thought That player.MP and Player MP2 was used for that but i found only player.Mana but no player.Mana2.

I would also appreciate some clarifying on this subject by the admin or rock5.
Isn't there some documentation on the classes' properties & methods?
Thanks for reading! :D

Some of you might find this useful: RoM-bot Wiki
User Functions Repository (and other useful files): Addon Repo
Latest SVN updates: SVN updates

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

Re: Cast Slash only if rage > 25

#3 Post by rock5 » Sat Nov 06, 2010 8:25 pm

Mushroomstamp wrote:Is there a way to get it to check for rage before attempting to use rage-based attacks?
It should already do that. If it is trying to cast a rage based skill when you don't have enough rage maybe the entry for that skill is not set up properly in skill.lua.
  • 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

Mushroomstamp
Posts: 210
Joined: Wed Oct 27, 2010 11:34 am

Re: Cast Slash only if rage > 25

#4 Post by Mushroomstamp » Sun Nov 07, 2010 1:01 pm

Well shit... I must be getting the "skill requirement error" from something else then. So in skills, rage="25", serves as a check for 25 rage... didn't realize that. Thanks rock

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 2 guests