panjoo Posted March 25, 2010 Posted March 25, 2010 Hello guys this topic is for them who uses l2jteon packs... as you know Mirage does't work there so here is code... import net.sf.l2j.gameserver.datatables.SkillTable; import net.sf.l2j.gameserver.model.L2Effect; import net.sf.l2j.gameserver.model.L2Skill; import net.sf.l2j.gameserver.skills.Env; /** * @author kombat */ final class EffectBestowSkill extends L2Effect { public EffectBestowSkill(Env env, EffectTemplate template) { super(env, template); } /** * @see net.sf.l2j.gameserver.model.L2Effect#getEffectType() */ @Override public EffectType getEffectType() { return EffectType.BUFF; } /** * @see net.sf.l2j.gameserver.model.L2Effect#onstart() */ @Override public void onstart() { L2Skill tempSkill = SkillTable.getInstance().getInfo(getSkill().getTriggeredId(), getSkill().getTriggeredLevel()); if (tempSkill != null) { getEffected().addSkill(tempSkill); return; } return; } /** * @see net.sf.l2j.gameserver.model.L2Effect#onExit() */ @Override public void onExit() { getEffected().removeSkill(getSkill().getTriggeredId()); } /** * @see net.sf.l2j.gameserver.model.L2Effect#onActionTime() */ @Override public boolean onActionTime() { return false; } } Credits:L2jBrasil....
Horus Posted March 25, 2010 Posted March 25, 2010 Actually credits are to JFree lool since the 'L2jBrazil' guys just copied it. Still its np, hope someone finds this useful ^^
Loren Posted March 25, 2010 Posted March 25, 2010 thx for share mate i really need it.. Fix your prefix [share].
Jimaras22 Posted March 25, 2010 Posted March 25, 2010 Make it diff.It's better Anyway it's a good share for those who use teon.
Setekh Posted March 25, 2010 Posted March 25, 2010 Actually credits are to JFree lool since the 'L2jBrazil' guys just copied it. Still its np, hope someone finds this useful ^^ its oneo :)
SupeRMarios Posted March 25, 2010 Posted March 25, 2010 l2jteon is very unstable pack! anyway thnx for share
reyhanbjk Posted April 2, 2010 Posted April 2, 2010 Would you explain how to add it? to create a new file? if yes.. File name? file location? How should the skill look?
IPXS Posted April 2, 2010 Posted April 2, 2010 Open eclipse and make svn then you see it :D Man use search...
Matim Posted April 2, 2010 Posted April 2, 2010 Would you explain how to add it? to create a new file? if yes.. File name? file location? How should the skill look? You should read few Guides about How to Compile and other guides related with Java in L2J.
reyhanbjk Posted April 3, 2010 Posted April 3, 2010 You should read few Guides about How to Compile and other guides related with Java in L2J. I know how to compile but only with diff files... I don't know what I have to do with this... Little explaination please :p
Recommended Posts