[HELP] Skills Question

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
User avatar
zatei
Posts: 103
Joined: Sat Apr 10, 2010 11:25 am
Location: Russia

[HELP] Skills Question

Post by zatei »

Hi guys!

I'm making a new skill for my server and i have a problem with it. Donnow how to say it in english but i need to substitute one skill by another when a player using any of the skills.

Like a Prophecy of Water (1355) and a Prophecy of Wind (1357) skills. When i casting first skill it substitute a second skill and when i casting a second skill it substitute first skill. Hope you understand me ^) Thx.
Last edited by zatei on Fri Sep 10, 2010 11:06 am, edited 1 time in total.
Ay kan saey dat dis qest is bollsit cauise itz vaery problames in coaer drunk bear vodka matreshka balalaika...
Sorry for bad English :D
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: Skills Question

Post by MELERIX »

use "stackOrder" and "stackType"

stackType = any "word"

stackOrder = any "number"

big number will replace lower number, and if both skills have same number in stackOrder and same stackType they will replace each other.
User avatar
zatei
Posts: 103
Joined: Sat Apr 10, 2010 11:25 am
Location: Russia

Re: Skills Question

Post by zatei »

And what "words" i can insert? Maybe other skill name?
Ay kan saey dat dis qest is bollsit cauise itz vaery problames in coaer drunk bear vodka matreshka balalaika...
Sorry for bad English :D
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Skills Question

Post by jurchiks »

Well, devs usually use effect name for the stackOrder, smth like "patk_up", or "pdef_down", or simply "prophecy"
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.
User avatar
zatei
Posts: 103
Joined: Sat Apr 10, 2010 11:25 am
Location: Russia

Re: Skills Question

Post by zatei »

Thanks guys, with this knowledge i can make a great buffer and share it with you.
Ay kan saey dat dis qest is bollsit cauise itz vaery problames in coaer drunk bear vodka matreshka balalaika...
Sorry for bad English :D
Post Reply