public boolean doDie(L2Character killer)
{
// Kill the L2PcInstance
if (KILL_STEAK>0)
{
if (KILL_STEAK>=5&&KILL_STEAK<10)
Announcements.getInstance().announceToAll(killer.getName()+" has stopped "+getName()+"'s killing spree of "+KILL_STEAK+" kills!!");
else if (KILL_STEAK<20)
{
sendMessage(killer.getName()+" has stopped "+getName()+"'s killing spree of "+KILL_STEAK+" kills!!");
if (!hadHero)
setHero(false);
}
else if (KILL_STEAK<60)
{
sendMessage(killer.getName()+" has ended "+getName()+"'s rampage of "+KILL_STEAK+" strait kills!");
stopAbnormalEffect(AbnormalEffect.STEALTH);
if (!hadHero)
setHero(false);
}
else if (KILL_STEAK>60)
{
sendMessage(killer.getName()+" has given an end to "+getName()+"'s reign of terror of "+KILL_STEAK+" strait kills!!!");
stopAbnormalEffect(AbnormalEffect.STEALTH);
if (!hadHero)
setHero(false);
}
KILL_STEAK=0;
}
if (!super.doDie(killer))
return false;
}
private int KILL_STEAK=0;
final boolean hadHero=Hero.getInstance().isHero(getObjectId());
i get red line at that "isHero" some one can find what is happenning? l2jfrozen i use here
final boolean hadHero=Hero.getInstance().isHero(getObjectId());
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
I'm also looking for more information so I can use the interlude version. The idea would be to activate it when I reach a certain level of enchantment.
Question
ThelwHelpRePaidia
i get red line at that "isHero" some one can find what is happenning? l2jfrozen i use here
Edited by ThelwHelpRePaidia1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.