Hi!
I run a Gracia T2.1 server (http://www.l2jserver.com/nightly/index. ... %2FT2.1%2F).
I have a problem with adding this to the Soul Cry Skill:
<add order="0x40" stat="absorbDamMana" val="10" />
I get this error message:
Unknown name 'absorbsDamMana' for enum Basestats
My Soul Cry skill looks like this:
<skill id="1001" levels="10" name="Soul Cry">
<table name="#patk-add"> 4.5 14 33.5 66.5 90.5 141.5 208.5 247.0 310.0 375.5 </table>
<table name="#mpRegen-sub"> 3 6 9 12 15 18 21 24 27 30 </table>
<table name="#mpConsume_Init"> 1 2 3 3 4 5 6 6 7 7 </table>
<set name="mpInitialConsume" val="#mpConsume_Init"/>
<set name="power" val="0.0"/>
<set name="target" val="TARGET_SELF"/>
<set name="skillType" val="CONT"/>
<set name="operateType" val="OP_TOGGLE"/>
<set name="castRange" val="-1"/>
<set name="effectRange" val="-1"/>
<for>
<effect count="0x7fffffff" name="ManaDamOverTime" time="3" val="#mpConsume_Init">
<add order="0x40" stat="pAtk" val="#patk-add"/>
<add order="0x40" stat="absorbDamMana" val="10" />
</effect>
</for>
</skill>
I got that row from the Gracia T2.4 server files, but in T2.1 seems that does not work....
I found this in the forum, but don't know how and where to add it, can anyone help me pls?
http://trac.l2jserver.com/changeset/3193#file0
Thanks for any help!
[SOLVED] Soul Cry mana gain
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- Lanamer
- Posts: 14
- Joined: Tue Feb 05, 2013 2:29 pm
- Location: Slovakia
[SOLVED] Soul Cry mana gain
Last edited by Lanamer on Fri Apr 18, 2014 1:16 pm, edited 2 times in total.
- St3eT
- Posts: 961
- Joined: Sun Mar 07, 2010 6:50 pm
- Lanamer
- Posts: 14
- Joined: Tue Feb 05, 2013 2:29 pm
- Location: Slovakia
Re: Soul Cry mana gain
I've Managed to open the gameserver jar, but I don't have L2Character.java, only L2Character.class and it looks totally different, so I don't know what to do with it, how to add that function....
Can anyone tell me pls how to do it?
Can anyone tell me pls how to do it?
You do not have the required permissions to view the files attached to this post.
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Soul Cry mana gain
You what??I've Managed to open the gameserver jar
http://www.l2jserver.com/wiki/Setup_Eclipse_and_SVN
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.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
- Lanamer
- Posts: 14
- Joined: Tue Feb 05, 2013 2:29 pm
- Location: Slovakia
Re: Soul Cry mana gain
I opened it with winrar...jurchiks wrote:You what??I've Managed to open the gameserver jar
http://www.l2jserver.com/wiki/Setup_Eclipse_and_SVN
I'm not a programmer, so i don't know how to work with java and stuff, just trying to get the L2Character.java file, but don't know how to get to it...
- Zoey76
- L2j Inner Circle
- Posts: 7007
- Joined: Tue Aug 11, 2009 3:36 am
Re: Soul Cry mana gain
The basic idea is, you can't edit compiled code.
You need to get the source code, from the SVN, use an IDE such as Eclipse, perform modifications on the code and finally compile it and deploy it.
You need to get the source code, from the SVN, use an IDE such as Eclipse, perform modifications on the code and finally compile it and deploy it.
Powered by Eclipse 4.30
| Eclipse Temurin 21
| MariaDB 11.3.2
| L2J Server 2.6.3.0 - High Five 
Join our Discord! 

- Lanamer
- Posts: 14
- Joined: Tue Feb 05, 2013 2:29 pm
- Location: Slovakia
Re: Soul Cry mana gain
Oh, ok, now I see...Zoey76 wrote:The basic idea is, you can't edit compiled code.
You need to get the source code, from the SVN, use an IDE such as Eclipse, perform modifications on the code and finally compile it and deploy it.
- Lanamer
- Posts: 14
- Joined: Tue Feb 05, 2013 2:29 pm
- Location: Slovakia
Re: Soul Cry mana gain
Thank You very much, I've managed to get it work as i wanted. With the eclipse I could add the necessary rows and compiled it afterwards. But needed to change the absorbDamage and maxCanAbsorb to absorbDamageMP and maxCanAbsorbMP from the script I've found, and now it's working properly.Zoey76 wrote:The basic idea is, you can't edit compiled code.
You need to get the source code, from the SVN, use an IDE such as Eclipse, perform modifications on the code and finally compile it and deploy it.
Thanks a lot for the guiding, I'm not a programmer, just trying to change and add a few missing skills and stuff to that build, but basically I'm just doing trial and failure till I get things working
