Vanish

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Shadowad
Posts: 5
Joined: Sun May 16, 2010 7:09 am

Vanish

#1 Post by Shadowad »

Just a quick query really. I am a Rogue/Scout so my survivability with regards to more than more than one mob attacking me at once is rather rubbish. There are times the character is aggroing 2-3 mobs resulting in death. Just wondering if there is anyway to set vanish to be cast after a certain percentage of health is left and then for him to rest afterwards instead of attacking again straight away. Any help would be awesome, Nathan.
User avatar
Administrator
Site Admin
Posts: 5353
Joined: Sat Jan 05, 2008 4:21 pm

Re: Vanish

#2 Post by Administrator »

Code: Select all

<skill name="ROGUE_VANISH" hotkey="VK_1" hpper="25" priority="150" />

Code: Select all

<onSkillCast><![CDATA[

  if( arg1.Name == "ROGUE_VANISH" ) then
    player:rest(3, 30, "full", 0); -- Stop and rest a minimum of 3 seconds, max of 30 or until full HP
  end

]]></onSkillCast>
Post Reply