how to create it one skilltype or stacktype please?
can you make a guide for that plz?
Created a Skilltype
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- DrHouse
- L2j Inner Circle
- Posts: 912
- Joined: Mon Jan 22, 2007 12:14 am
- Location: Spain
Re: Created a Skilltype
What do you mean?

Leadership and management are not talk and talk, but talk and do
Proud of being a part of this project
- BiggBoss
- L2j Veteran
- Posts: 1104
- Joined: Wed Apr 15, 2009 3:11 pm
- Location: Spain
Re: Created a Skilltype
Code: Select all
<set name="skillType" val="BUFF"><set name="skillType" val="PDAM">
handler/skillhandler
- Lunawang
- Posts: 41
- Joined: Sat Mar 07, 2009 8:00 pm
Re: Created a Skilltype
if i have this effect?
how to created a skilltype OPEN_DOOR?
how to created a skilltype OPEN_DOOR?
Code: Select all
package net.sf.l2j.gameserver.handler.skillhandlers; import net.sf.l2j.gameserver.handler.ISkillHandler;import net.sf.l2j.gameserver.model.L2Skill;import net.sf.l2j.gameserver.model.actor.L2Character;import net.sf.l2j.gameserver.model.actor.instance.L2DoorInstance;import net.sf.l2j.gameserver.templates.skills.L2SkillType; public class OpenDoor implements ISkillHandler{ private static final L2SkillType[] SKILL_IDS = { L2SkillType.OPEN_DOOR }; public void useSkill(L2Character activeChar, L2Skill skill, L2Character... targets) { for (L2Character element : targets) { if (element instanceof L2DoorInstance) { L2DoorInstance door = (L2DoorInstance) element; door.openMe(); door.onOpen(); activeChar.sendMessage("Unlock the door!"); } } } public L2SkillType[] getSkillIds() { return SKILL_IDS; }}
- DrHouse
- L2j Inner Circle
- Posts: 912
- Joined: Mon Jan 22, 2007 12:14 am
- Location: Spain
Re: Created a Skilltype
There is an enum called L2SkillType, in gameserver.skills package. I guess you mean that.
BTW you dont have any effect there, just an skillhandler!
BTW you dont have any effect there, just an skillhandler!

Leadership and management are not talk and talk, but talk and do
Proud of being a part of this project