Skip to content

Weapon Destrict for some Classes

Featured Replies

Hello all i need help . I want a java code to dissallow classes like tank to wear bow ! like l2jfrozen e.x

 

#Disable Bow for classes: write here classes id

#that you dnt want allow to use BOW. Class id examples,

#you can find others into char_templates database table

#

# classId className

# 88 Duelist

# 89 DreadNought

# 90 Phoenix Knight

# 91 Hell Knight

# 92 Sagittarius

# 93 Adventurer

# 94 Archmage

# 95 Soultaker

# 96 Arcana Lord

# 97 Cardinal

# 98 Hierophant

# 99 Eva Templar

# 100 Sword Muse

# 101 Wind Rider

# 102 Moonlight Sentinel

# 103 Mystic Muse

# 104 Elemental Master

# 105 Eva Saint

# 106 Shillien Templar

# 107 Spectral Dancer

# 108 Ghost Hunter

# 109 Ghost Sentinel

# 110 Storm Screamer

# 111 Spectral Master

# 112 Shillen Saint

# 113 Titan

# 114 Grand Khauatari

# 115 Dominator

# 116 Doomcryer

# 117 Fortune Seeker

# 118 Maestro

#

# e.g. DisableBowForClasses=107,110

DisableBowForClasses = can anyone help me ? :/

Wrong section, anyway:

 

<cond>
      <player class_id_restriction=” " />
</cond>

Add it in the xml file of the weapon as condition.

 

  • Author

Wrong section, anyway:

 

<cond>
      <player class_id_restriction=” " />
</cond>

Add it in the xml file of the weapon as condition.

 

 

 

Sorry for wrong section. I tested and it doesn't work btw thank you :/

wrong section and you alredy have that topic open in dev help.

 

locked

Guest
This topic is now closed to further replies.

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.