Seal of Ruler - Core Support

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
airyina
Posts: 11
Joined: Fri Feb 19, 2010 5:08 pm

Seal of Ruler - Core Support

Post by airyina »

I've searched for forums for about 3 hours for an answer to this question. How can I make Seal of Ruler uninteruptable by aggression or hate? The closest answer I've come to is make the skill act like "Scroll of Escape" does. Ok, that is fine and dandy, how do I do that? I'm no noob to Java etc, however I am having problems finding the support for skills in the core. Can someone direct me as to where I can find the functions for skills, more specifically, SoE and SoR?

Thank you.
Probe
Posts: 915
Joined: Thu Sep 03, 2009 6:36 pm
Location: Israel
Contact:

Re: Seal of Ruler - Core Support

Post by Probe »

you can add a new parameter for skills
<set name="canBeInterrupted" val="false" />

by adding another boolean to L2Skill,
and then search for where skills are interrupted in core and put a check the to not interrupt if !skill.canBeInterrupted()
airyina
Posts: 11
Joined: Fri Feb 19, 2010 5:08 pm

Re: Seal of Ruler - Core Support

Post by airyina »

Probe wrote:you can add a new parameter for skills
<set name="canBeInterrupted" val="false" />

by adding another boolean to L2Skill,
and then search for where skills are interrupted in core and put a check the to not interrupt if !skill.canBeInterrupted()
This isn't exactly what I want. I don't want to add another boolean to L2Skill, that is way too much work for something so simple. Aside from that, I don't think I'm good enough with L2j to be adding things to the core.
Probe
Posts: 915
Joined: Thu Sep 03, 2009 6:36 pm
Location: Israel
Contact:

Re: Seal of Ruler - Core Support

Post by Probe »

what do you want then? to hardcode seal of ruler into not being interrupted? sry I like my way better, and it's really not that complicated, you're gonna have to learn the core anyway if you plan on adding features etc, why not start now?
airyina
Posts: 11
Joined: Fri Feb 19, 2010 5:08 pm

Re: Seal of Ruler - Core Support

Post by airyina »

Probe wrote:what do you want then? to hardcode seal of ruler into not being interrupted? sry I like my way better, and it's really not that complicated, you're gonna have to learn the core anyway if you plan on adding features etc, why not start now?
Then help me with it, I barely know anything about the core. I haven't done much with it since I started. Learning about it is hard as there are not many threads here about core.
Post Reply