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 ?
Skill Vanish
Re: Skill Vanish
I don't understand, what's the purpose of using that skill? What do you want to do?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 ?
The RoM Bot Online Wiki needs your help!
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Skill Vanish
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>
Re: Skill Vanish
thats what i need but where should i put that ?
Edit : I found it
Edit : I found it
Re: Skill Vanish
Do you want to sleep or to rest? Depending from that, there are different functions. See here.master121 wrote:thats what i need but where should i put that ?
Edit : I found it
The RoM Bot Online Wiki needs your help!
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 0 guests