Jump to content

[Share] L2jteon Mirage Problem...


Recommended Posts

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....

Link to comment
Share on other sites

  • 2 weeks later...

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...
Guest
This topic is now closed to further replies.
 Share



  • Posts

    • Hello, if you order, always order with refill so you are 100% sure, the followers,likes stay.   We now accept PayPal sometimes, open ticket and ask, our support team will tell you if we accept it or not.
    • AM Acumen +3 DB Clean Drac Armor set  DC robe set AS Clean TT SET +3 1.5B Adena in stock  discord : AliTarash#5255 or dm here 
    • private int _ispro; private long _isproTime; public void increasePvpKills(L2Character target) {     if (target instanceof L2PcInstance && AntiFeedManager.getInstance().check(this, target))     {         if (_isproTime < System.currentTimeMillis())             _ispro = 0;           _ispro++;         _isproTime = System.currentTimeMillis() + 60000L;   There is no need for any task or anything..
    • Hi, i make 4 new custom zone where can set zonename, but have problem bcs  still working only last zonename for all new zones...   373    0    26    16    30000.00000000    -30000.00000000    a,TvT Event\0    -1    -1    -1    -1    -1    -1    0.00000000    a, 374    0    16    16    30000.00000000    -30000.00000000    a,TvT Event\0    -1    -1    -1    -1    -1    -1    0.00000000    a, 375    0    21    11    30000.00000000    -30000.00000000    a,TvT Event\0    -1    -1    -1    -1    -1    -1    0.00000000    a, 376    0    17    16    30000.00000000    -30000.00000000    a,PvP Zone\0    -1    -1    -1    -1    -1    -1    0.00000000    a,   Some1 understand it how its working ? i need set new nbr, zone_color_id and other geodata coords + 1 map for zone... If all working good ofc i pay for it 😉 pm on discord: ! KejbL#0290 thx.
    • LF BP MAIN  PM US AT DISCORD APO#2611 OR OUR FACEBOOK PAGE !
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock