Page 1 of 1

Change skill requirements without editing skills.xml

Posted: Sat Apr 09, 2011 8:39 am
by Mushroomstamp
I use onskillcast with my warrior to cast "Open Flank" immediately after "Probing Attack". I have edited the rage requirement for "Probing Attack" in skills.xml so that it only casts if I have enough rage for both skills. Is there a way to accomplish this without editing skills.xml?

Re: Change skill requirements without editing skills.xml

Posted: Sat Apr 09, 2011 3:54 pm
by Administrator
I believe just putting rage="80" (or whatever you need) in the skill description in your profile might work. I'm not sure if rage overrides were ever in place or not.

Additionally, you could use the onPreSkillCast event to filter it out.

Code: Select all

<onPreSkillCast><![CDATA[
  if( arg1.Name == "WARRIOR_PROBING_ATTACK" ) then
    if( player.Rage < 80 ) then
      return false;
    end
  end
]]></onPreSkillCast>