Jump to content

Weapon Destrict for some Classes


Recommended Posts

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 ? :/

Link to comment
Share on other sites

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 :/

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...