If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:
L2JDP Revision Number:
Sry for wrong section but I dont have 20 posts to place it in proper one.
I would like to restrict a weapon for some classes.
Exemple: Pladain cant use a bow but Dark Avenger can.
I think that I should look for in codes similar to kamael restrictions but I am not sure.
Please tell me in which file shall I edit and what codes.
Thank you.
Regards.
Weapon restriction
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- Naonah
- Posts: 357
- Joined: Sun Apr 04, 2010 11:12 pm
Weapon restriction
public void l2jserver ()
{
if (you want l2j server == no problems)
use Linux;
else
use Windows;
}
{
if (you want l2j server == no problems)
use Linux;
else
use Windows;
}
- MELERIX
- L2j Veteran
- Posts: 6667
- Joined: Sat Sep 23, 2006 11:31 pm
- Location: Chile
- Contact:
Re: Weapon restriction
you can use conditions, same conditios that are used in skills, but for weapons, and this in the xml for weapons of course 

- Naonah
- Posts: 357
- Joined: Sun Apr 04, 2010 11:12 pm
Re: Weapon restriction
Thank you very much:)
public void l2jserver ()
{
if (you want l2j server == no problems)
use Linux;
else
use Windows;
}
{
if (you want l2j server == no problems)
use Linux;
else
use Windows;
}
-
- Posts: 87
- Joined: Sat Sep 26, 2009 11:31 am
Re: Weapon restriction
Well , i have a another question about this.
How can we restrict the stats of a weapon on spesific class?. Imean the class can equip the weapon but NOT to obtain the stats of IT. Or when equip a spesific weapon to get a penalty.(Decrease Stats.)
It might be a way to do it on spesific class skills to add extra stats that is going to look like a penalty when equiping a weapon. Thats an idea from Frenzy
,, or is there any other way?
Is that possible???
Thanks in advance
How can we restrict the stats of a weapon on spesific class?. Imean the class can equip the weapon but NOT to obtain the stats of IT. Or when equip a spesific weapon to get a penalty.(Decrease Stats.)
It might be a way to do it on spesific class skills to add extra stats that is going to look like a penalty when equiping a weapon. Thats an idea from Frenzy

Is that possible???
Thanks in advance
Always remember...
in this clever world, many people weren't borned clever!!
in this clever world, many people weren't borned clever!!