Page 1 of 1

Where Some Skills Are Calculated?

Posted: Tue Jan 18, 2011 5:39 pm
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

Re: Where Some Skills Are Calculated?

Posted: Tue Jan 18, 2011 6:46 pm
by WoWan-SM
Maybe here?

data/scripts/handlers.skillhandlers;

or here

com.l2jserver.gameserver.skills/Formulas

Re: Where Some Skills Are Calculated?

Posted: Tue Jan 18, 2011 7:30 pm
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.

Re: Where Some Skills Are Calculated?

Posted: Tue Jan 18, 2011 9:08 pm
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

Re: Where Some Skills Are Calculated?

Posted: Tue Jan 25, 2011 11:10 pm
by ryouu
Lucky :D

This informations are located in:

npcskills.sql
npc_elementals.sql

Thx for all help!