Page 1 of 1

Vanish

Posted: Wed May 26, 2010 8:27 am
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.

Re: Vanish

Posted: Wed May 26, 2010 8:46 am
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>