Dual daggers on some races

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
babyjason
Posts: 575
Joined: Wed Dec 02, 2009 7:59 pm

Dual daggers on some races

Post by babyjason »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number: 4436
L2JDP Revision Number:7766

Hello, i d like to ask how can i enable dual dagger usage for other races/classes except the ones using it now.

i mean if i give dual dagger mastery to shilien templar, it still wont be able to wear it, so i ask where to look, ty
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Dual daggers on some races

Post by _DS_ »

Add item restriction.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
User avatar
SolidSnake
Posts: 865
Joined: Wed Jan 20, 2010 6:54 pm
Location: Italy

Re: Dual daggers on some races

Post by SolidSnake »

Example "Vesper Dual Daggers":

Code: Select all

Index: data/stats/weapon/13800-13899.xml===================================================================--- data/stats/weapon/13800-13899.xml   (revision 7669)+++ data/stats/weapon/13800-13899.xml   (working copy)@@ -82,7 +82,7 @@    <item id="13884" name="Vesper Dual Daggers">        <cond msgId="1518">            <and>-               <player class_id_restriction="93, 101, 108" />+               <player class_id_restriction="93, 101, 106, 108" />                <player subclass="false" />            </and>        </cond>
Now it can be used by Shillien Templar class..
Image
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Dual daggers on some races

Post by jurchiks »

don't forget that there are races that don't have animations for dual daggers (dwarves/orcs, and, naturally, kamael), so enabling it for other RACES is NOT a good idea. For other classes of the same race it should be fine, but they still won't have any dagger skills unless you've enabled the config that allows everyone to learn any skills.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
babyjason
Posts: 575
Joined: Wed Dec 02, 2009 7:59 pm

Re: Dual daggers on some races

Post by babyjason »

SolidSnake wrote:Example "Vesper Dual Daggers":

Code: Select all

Index: data/stats/weapon/13800-13899.xml===================================================================--- data/stats/weapon/13800-13899.xml   (revision 7669)+++ data/stats/weapon/13800-13899.xml   (working copy)@@ -82,7 +82,7 @@    <item id="13884" name="Vesper Dual Daggers">        <cond msgId="1518">            <and>-               <player class_id_restriction="93, 101, 108" />+               <player class_id_restriction="93, 101, 106, 108" />                <player subclass="false" />            </and>        </cond>
Now it can be used by Shillien Templar class..
thank you v much!
Post Reply