doesnt stop healing

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
ograso
Posts: 24
Joined: Thu Oct 14, 2010 8:11 am

doesnt stop healing

#1 Post by ograso » Sat Mar 30, 2013 9:16 am

Hey guys,

I have a problem about healing.

My character is an M/P and everything is goingon perfectly except healing himself.

the char lose lots of HP and using to skill "PRIEST_URGENT_HEAL" and he succeded. When the falling down after complete to autosell from pancer. But he never stop healing himself and ofcourse waiting there :(

And also; script continue if I pause and continue(press END and DELETE keys) to script.
<skills_mage>
<skill name="MAGE_LIGHTNING" hotkey="MACRO" priority="80" />
<skill name="MAGE_PURGATORY_FIRE" hotkey="MACRO" priority="80" />
<skill name="MAGE_PURGATORY_FIRE" hotkey="MACRO" priority="80" />
<skill name="MAGE_PURGATORY_FIRE" hotkey="MACRO" priority="100" />
<skill name="MAGE_THUNDERSTORM" hotkey="MACRO" priority="100" inbattle="false" mobcount="1"/>
<skill name="MAGE_ESSENCE_OF_MAGIC" hotkey="MACRO" priority="30" />
<skill name="PRIEST_URGENT_HEAL" hotkey="MACRO" priority="100" hpper="60" />
<skill name="PRIEST_REGENERATE" hotkey="MACRO" priority="100" hpper="80" />
<skill name="MAGE_ENERGY_INFLUX" hotkey="MACRO" priority="30" inbattle="true" />
<skill name="MAGE_ENERGY_WELL" hotkey="MACRO" priority="30" inbattle="true" />
<skill name="PRIEST_HOLY_AURA" hotkey="MACRO" priority="100" inbattle="true" hpper="24" />
<skill name="MAGE_ELEMENTAL_CATALYST" hotkey="MACRO" priority="30" inbattle="true" />
<skill name="PRIEST_MAGIC_BARRIER" hotkey="MACRO" priority="20" rebuffcut="60" inbattle="false" />
<skill name="MAGE_FLAME" hotkey="MACRO" priority="60" />
<skill name="MAGE_FIREBALL" hotkey="MACRO" priority="70" />
</skills_mage>

KS.XML

Code: Select all

	<!-- # 218 --><waypoint x="-16650" z="11463" type="TRAVEL" tag="toKS">	</waypoint>
	<!-- # 219 --><waypoint x="-16836" z="11573" type="TRAVEL">	</waypoint>
	<!-- # 220 --><waypoint x="-17141" z="11250" type="TRAVEL">	</waypoint>
	<!-- # 221 --><waypoint x="-17448" z="10703" type="TRAVEL">	</waypoint>
	<!-- # 222 --><waypoint x="-17668" z="10680" type="TRAVEL">	
	if player.Class1 == 5 or player.Class2 == 5 then -- priest
		while (80 > player.HP/player.MaxHP*100) do
			player:cast("PRIEST_URGENT_HEAL");
			yrest(300);
		end
	end
	if player.Class1 == 8 or player.Class2 == 8 then -- druid
		while (80 > player.HP/player.MaxHP*100) do
			player:cast("DRUID_RECOVER");
			yrest(2300);
		end
	end
	</waypoint>

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

Re: doesnt stop healing

#2 Post by lisa » Sat Mar 30, 2013 9:24 am

add a player update

Code: Select all

   if player.Class1 == 5 or player.Class2 == 5 then -- priest
      while (80 > player.HP/player.MaxHP*100) do
         player:cast("PRIEST_URGENT_HEAL");
         yrest(300);
         player:update()
      end
   end
   if player.Class1 == 8 or player.Class2 == 8 then -- druid
      while (80 > player.HP/player.MaxHP*100) do
         player:cast("DRUID_RECOVER");
         yrest(2300);
         player:update()
      end
   end
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

ograso
Posts: 24
Joined: Thu Oct 14, 2010 8:11 am

Re: doesnt stop healing

#3 Post by ograso » Sat Mar 30, 2013 9:42 am

Now he never try to use ergent_heal?

Code: Select all

	if player.Class1 == 5 or player.Class2 == 5 then -- priest
		while (80 > player.HP/player.MaxHP*100) do
			player:cast("PRIEST_URGENT_HEAL");
			yrest(300);
			player:update();
		end
	end
	if player.Class1 == 8 or player.Class2 == 8 then -- druid
		while (80 > player.HP/player.MaxHP*100) do
			player:cast("DRUID_RECOVER");
			yrest(2300);
			player:update();
		end
	end

ograso
Posts: 24
Joined: Thu Oct 14, 2010 8:11 am

Re: doesnt stop healing

#4 Post by ograso » Sat Mar 30, 2013 10:05 am

Yeah now fixed. removed ";" from player=update()

Thank you so much.

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

Re: doesnt stop healing

#5 Post by rock5 » Sat Mar 30, 2013 11:20 am

That was not the problem. ';' does absolutely nothing. You probably just had a hiccup and it fixed itself.
  • 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

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 3 guests