Flame

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Xan
Posts: 20
Joined: Wed May 11, 2011 6:35 am

Flame

#1 Post by Xan »

Hello and good morning all :)

I have a question. Is possible to use only certain skill on certain mobs? For example. I am in KS. I am a mage and i want use Purgatory Fire on all mobs. But it's a bit slow to kill the bosses only with Purgatory Fire, so i want to use Flame instead of Purg. In Profile.xml i can edit only the "priority" of the skills. I was thinking, if it is possible, to use some skills in the Waypoint.xml. So is this possible or not? :D
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Flame

#2 Post by lisa »

Couple of ways to go around it

First decision is if you want to change your profile to always act like this or do you want to use flame when doing normal botting outside of KS.

If you want to always use purg and flame only on mobs with max HP 100,000 + then you need to change your profile

If you want bot to only act like this in KS then need to do some coding in the WP.
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
Xan
Posts: 20
Joined: Wed May 11, 2011 6:35 am

Re: Flame

#3 Post by Xan »

I want to always use purg and flame only on mobs with max HP 100,000 + :D

What i should change in my profile? :)
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Flame

#4 Post by lisa »

Ok firstly you need to have the flame skill in your skills as usual, make sure to re-adjust ur priority to a high number.
then add in some code

Code: Select all

<onPreSkillCast><![CDATA[
if arg1.Name == "MAGE_FLAME" then
 local target = player:getTarget();
if target.MaxHP > 100000 then 
return true
else return false
end
end
 ]]></onPreSkillCast>
And that should do exactly what you want.

if you don't already have the onpreskillcast event then just add it down the bottom of the file before the
</profile>

Edit, I forgot the "" when using MAGE_FLAME. code should work now
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
Xan
Posts: 20
Joined: Wed May 11, 2011 6:35 am

Re: Flame

#5 Post by Xan »

I will try tomorrow, thanks a lot :D
Post Reply