Skip to content

[HELP]Xml class restriction

Featured Replies

Hy!

Help me please if you can.

I need to add an armor to restriction any classes. So if you are saggitarious and you want to wear heavy armor you cant. (IN XML NOT JAVA)

 

Is it working? ->

<skill id="3608" levels="2" name="Apella Heavy Armor Set">

  <table name="#maxCP"> 2750 2750 </table>

  <table name="#rCrit"> 1.0 1.02621 </table>

  <table name="#cAtk"> 0 1 </table>

  <set name="target" val="TARGET_SELF"/>

  <set name="skillType" val="BUFF"/>

  <set name="operateType" val="OP_PASSIVE"/>

  <set name="castRange" val="-1"/>

  <set name="effectRange" val="-1"/>

  <for>

    <add order='0x40' stat='maxCp' val='#maxCP'/>

    <mul order='0x30' stat='regCp' val='2.05'/>

    <mul order='0x30' stat='pAtk' val='1.13'/>

    <mul order='0x30' stat='stunVuln' val='0.88'/>

    <mul order='0x30' stat='critVuln' val='0.88'/>

    <mul order='0x30' stat='darkVuln' val='0.88'/>

    <mul order='0x30' stat='bowWpnVuln' val='0.92'/>

    <mul order='0x30' stat='swordWpnVuln' val='0.92'/>

    <mul order='0x30' stat='rootVuln' val='0.92'/>

    <mul order='0x30' stat='sleepVuln' val='0.92'/>

    <mul order='0x30' stat='pAtkSpd' val='1.05'/>

    <mul order='0x30' stat='cAtk' val='1.05'/>

    <mul order='0x30' stat='maxHp' val='1.15'/>

    <add order='0x40' stat='maxMp' val='750'/>

    <add order='0x40' stat='rCrit' val='85'/>

    <add order='0x40' stat='runSpd' val='7'/>

    <add order='0x10' stat='CON' val='2'/>

    <add order='0x10' stat='STR' val='2'/>

    <mul order='0x30' stat='pDef' val='1.13'/>

    <mul order='0x30' stat='mDef' val='1.047'/>

    <mul order='0x30' stat='SDef' val='1.13'/>

  </for>

<cond msg="Incorrect class.You can't wear Heavy armor">

    <target class_id_restriction="[class id-z]"/>

  </cond>

                      CAN ANYONE TELL ME IS IT WORKS OR HOW CAN I RESTRICT ANY CLASS IN XML?!

That happens always when you leech a pack and you said its your work;)

 

I know how you can do it BUT only for 0 reason i dont help.That reason is download our pack and you said its your work nothing more!

 

Yes he talk about that:)He dont know how to config these things because he leech only the pack that i make with L2JC team and as i said before i dont want to help for those who can stole credits only:)

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.