Where Some Skills Are Calculated?

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
ryouu
Posts: 14
Joined: Mon Jun 08, 2009 1:59 am

Where Some Skills Are Calculated?

Post by ryouu »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Last on 18/01/2011:
L2JDP Revision Last on 18/01/2011:

Where the above values skills are show in server files:

4275 >> Sacred Attack Weak Point
4279 >> Fire Attack Weak Point
(and same anothers)

Because the values of anothers skills stay in xml files like:

<skill id="4276" levels="5" name="Archery Attack Weak Point">
<!-- Freya retail confirmed -->
<table name="#bowVuln"> 1.11 1.25 1.43 1.67 2 </table>
<set name="target" val="TARGET_SELF" />
<set name="skillType" val="BUFF" />
<set name="operateType" val="OP_PASSIVE" />
<for>
<mul order="0x30" stat="bowWpnVuln" val="#bowVuln" />
<mul order="0x30" stat="crossbowWpnVuln" val="#bowVuln" />
</for>
</skill>

_______________________
Thx for all help :D
User avatar
WoWan-SM
Posts: 11
Joined: Tue Sep 07, 2010 2:48 pm
Location: Russia
Contact:

Re: Where Some Skills Are Calculated?

Post by WoWan-SM »

Maybe here?

data/scripts/handlers.skillhandlers;

or here

com.l2jserver.gameserver.skills/Formulas
ryouu
Posts: 14
Joined: Mon Jun 08, 2009 1:59 am

Re: Where Some Skills Are Calculated?

Post by ryouu »

I tryed but dont find anything... It's curious because the server calculate correct those skills but we (or I) cannot see the base values to calc.

I tryed use Notepad++ to find keywords like: surrender, surre, sacred, sacre and anothers but don't find nothing.

I looked in formulas and skill handles and nothing too.
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Where Some Skills Are Calculated?

Post by _DS_ »

Here simple guide:
1. Search for bowWpnVuln, you will found it it Stats.java
BOW_WPN_VULN("bowWpnVuln"),
2. Search for BOW_WPN_VULN, you will found it in NpcTable.java (loading), Siege.java (remarked), Formulas.java
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
ryouu
Posts: 14
Joined: Mon Jun 08, 2009 1:59 am

Re: Where Some Skills Are Calculated?

Post by ryouu »

Lucky :D

This informations are located in:

npcskills.sql
npc_elementals.sql

Thx for all help!
Post Reply