Skill Vanish

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
master121
Posts: 45
Joined: Mon Dec 29, 2008 10:40 am

Skill Vanish

#1 Post by master121 » Fri Aug 21, 2009 9:51 am

I want to use the rogue skill Vanish.
But after the bot uses that skill he attacks again instead of resting...
So how can i make the bot resting after using that skill ?

d003232
Posts: 1252
Joined: Wed Jun 03, 2009 4:27 pm

Re: Skill Vanish

#2 Post by d003232 » Fri Aug 21, 2009 11:39 am

master121 wrote:I want to use the rogue skill Vanish.
But after the bot uses that skill he attacks again instead of resting...
So how can i make the bot resting after using that skill ?
I don't understand, what's the purpose of using that skill? What do you want to do?
The RoM Bot Online Wiki needs your help!

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: Skill Vanish

#3 Post by Administrator » Fri Aug 21, 2009 12:20 pm

master121 wrote:I want to use the rogue skill Vanish.
But after the bot uses that skill he attacks again instead of resting...
So how can i make the bot resting after using that skill ?

Yes, what do you want to do? There are two things you could do, though:
1) When hurt and in combat, break combat, vanish, then rest.
2) When out of combat and vanish is cooled down, vanish and rest.

Depending on how you want to use vanish, you will set it up two different ways. However, to rest after vanish, you can use a skill hook:

Code: Select all

<onSkillCast>
  if( arg1.Name == "ROGUE_VANISH" ) then
    player:sleep();
  end
</onSkillCast>
This will make your character wait for HP/MP to regenerate and fight any monsters that attack you first whenever you cast vanish.

master121
Posts: 45
Joined: Mon Dec 29, 2008 10:40 am

Re: Skill Vanish

#4 Post by master121 » Sat Aug 22, 2009 1:37 am

thats what i need but where should i put that ?

Edit : I found it :P

d003232
Posts: 1252
Joined: Wed Jun 03, 2009 4:27 pm

Re: Skill Vanish

#5 Post by d003232 » Sat Aug 22, 2009 1:42 am

master121 wrote:thats what i need but where should i put that ?

Edit : I found it :P
Do you want to sleep or to rest? Depending from that, there are different functions. See here.
The RoM Bot Online Wiki needs your help!

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 0 guests