Hide Skill Bug
Posted: Tue Jan 19, 2010 4:39 pm
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number: 3733
L2JDP Revision Number: 6820
Hide effect should worn off if you attack someone. Sometimes it does and sometimes it doesnt. I didnt have much time to look into it so I added a quick fix in L2PcInstance:
» Find Revision
L2J Revision Number: 3733
L2JDP Revision Number: 6820
Hide effect should worn off if you attack someone. Sometimes it does and sometimes it doesnt. I didnt have much time to look into it so I added a quick fix in L2PcInstance:
Code: Select all
@Override public void doAttack(L2Character target) { if (getAppearance().getInvisible()) { L2Effect eInvisible = getFirstEffect(L2EffectType.HIDE); if (eInvisible != null) eInvisible.exit(); } super.doAttack(target); // cancel the recent fake-death protection instantly if the player attacks or casts spells getPlayer().setRecentFakeDeath(false); } @Override public void doCast(L2Skill skill) { if (getAppearance().getInvisible()) { L2Effect eInvisible = getFirstEffect(L2EffectType.HIDE); if (eInvisible != null) eInvisible.exit(); } super.doCast(skill); // cancel the recent fake-death protection instantly if the player attacks or casts spells getPlayer().setRecentFakeDeath(false); }