Holy Power Explosion

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
reeprich
Posts: 2
Joined: Fri Jun 07, 2013 6:06 pm

Holy Power Explosion

#1 Post by reeprich »

Hi,
please can someone help me with script for my P/K?
in 6.0.0 Mana Return skill was changed to Holy Power Explosion.
With ItemPreview I just found that ID for this skill is : 490172, so I tried to add it to skills database:

Code: Select all

  <skill name="KNIGHT_HOLY_POWER_EXPLOSION" id="490172" type="buff" buffname="501827" target="self" />
What I need is:
cast Holy power explosion and then for example Urgent heal to receive mana, instead of using mana potion..

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

Re: Holy Power Explosion

#2 Post by rock5 »

Lets start with your skill. It's for recovering Mana right? So maybe you should add a maxmanaper value. If I read it correctly it can recover 30% of your mana. Of course you can be using mana while it's recovering so I would set it about half way at 15%. The cooldown needs to be specified too.

Code: Select all

 <skill name="KNIGHT_HOLY_POWER_EXPLOSION" id="490172" cooldown="40" type="buff" buffname="501827" target="self" maxmanaper="75"/>
Now the bot wont use a healing after using this skill but you can set it up in your profile <onskillcast>

Code: Select all

	<onSkillCast>
		if arg1.Name == "KNIGHT_HOLY_POWER_EXPLOSION" then
			player:cast("PRIEST_URGENT_HEAL")
		end
	</onSkillCast>
Lastly to stop using too many potions just modify you potion settings in your profile. In particular set MP_LOW_POTION and PHIRIUS_MP_LOW to values much lower than the 75% used for the skill, for eg. 50%.

As a user of the skill, let us know if you think any of those settings should be different.
  • 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
reeprich
Posts: 2
Joined: Fri Jun 07, 2013 6:06 pm

Re: Holy Power Explosion

#3 Post by reeprich »

Nice, thank you...

the only thing I had to add is pause between casting

Code: Select all

if arg1.Name == "KNIGHT_HOLY_POWER_EXPLOSION" then
         yrest(1000);
         player:cast("PRIEST_URGENT_HEAL")
      end
now it is working fine....

ANd what if I want to cast "PRIEST_URGENT_HEAL" several times in a row (preferably until mana is full)? Every cast gives me some amount of mana, when "KNIGHT_HOLY_POWER_EXPLOSION" is active (for 20seconds)....
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Holy Power Explosion

#4 Post by rock5 »

Well you could just cast a few in a row

Code: Select all

         yrest(1000);
         player:cast("PRIEST_URGENT_HEAL")
         yrest(1000);
         player:cast("PRIEST_URGENT_HEAL")
         yrest(1000);
         player:cast("PRIEST_URGENT_HEAL")
Or if you want to check your mp

Code: Select all

repeat
         yrest(1000);
         player:cast("PRIEST_URGENT_HEAL")
         player:updateMP()
until player:hasBuff(501827) == false or player.MP/player.MaxMP*100 >= 100 -- % you want to fill to
  • 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