Condition on weapons

MrTitan

Knight
Customer
Can somebody explain me how this works?

HTML:
 <cond msgId="113" addName="1">
    <or>
        <player classId="93,101,102,103,108"/>
    </or>
   </cond>

I added this code for example to 2h sword. And when I tried to use the weapon with class 101 or 93 I can equip it .. but if I use Mystic Muse (103) class I cant equip it..
I want to restrict for example the daggers to can't use 2h sword.
 
Can somebody explain me how this works?

HTML:
 <cond msgId="113" addName="1">
    <or>
        <player classId="93,101,102,103,108"/>
    </or>
   </cond>

I added this code for example to 2h sword. And when I tried to use the weapon with class 101 or 93 I can equip it .. but if I use Mystic Muse (103) class I cant equip it..
I want to restrict for example the daggers to can't use 2h sword.
You already correctly indicated everything in the example. Enter the classes that can be used there. This is a list of player classes that can use a particular item.

For example, in the dagger

XML:
  <weapon id="6591" name="Angel Slayer" add_name="HP Drain">
    <!-- [angel_slayer_hpdrain] -->
    <set name="crystal_count" value="2440"/>
    <set name="crystal_type" value="S"/>
    <set name="crystallizable" value="true"/>
    <set name="icon" value="icon.weapon_angel_slayer_i01"/>
    <set name="price" value="48800000"/>
    <set name="rnd_dam" value="5"/>
    <set name="soulshots" value="1"/>
    <set name="spiritshots" value="1"/>
    <set name="type" value="DAGGER"/>
    <set name="weight" value="950"/>
    <cond msgId="113" addName="1">
     <or>
        <player classId="93,101,102,103,108"/>
     </or>
    <equip>
      <slot id="RIGHT_HAND"/>
    </equip>
    <skills>
      <skill id="3568" level="1"/>
    </skills>
    <for>
      <add stat="pAtk" order="0x10" value="246"/>
      <add stat="mAtk" order="0x10" value="132"/>
      <set stat="baseCrit" order="0x08" value="120"/>
      <set stat="atkBaseSpeed" order="0x08" value="433"/>
      <add stat="accCombat" order="0x10" value="-4.0000"/>
      <enchant stat="pAtk" order="0x0C" value="0"/>
      <enchant stat="mAtk" order="0x0C" value="0"/>
    </for>
  </weapon>
 
т.е. другие классы одеть не смогут? я скоро хочу себе дино добавить, еще не вникал в это дело
 
Back
Top