Change skill requirements without editing skills.xml

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Mushroomstamp
Posts: 210
Joined: Wed Oct 27, 2010 11:34 am

Change skill requirements without editing skills.xml

#1 Post 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?
User avatar
Administrator
Site Admin
Posts: 5353
Joined: Sat Jan 05, 2008 4:21 pm

Re: Change skill requirements without editing skills.xml

#2 Post 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>
Post Reply