Does any1 of pro devs know if this will work for GuardKnownList
if (player.getKarma() > 0 && !object.isVisible())
{
if (_log.isDebugEnabled()) _log.debug(getActiveChar().getObjectId()+": PK "+player.getObjectId()+" entered scan range");
// Set the L2GuardInstance Intention to AI_INTENTION_ACTIVE
if (getActiveChar().getAI().getIntention() == CtrlIntention.AI_INTENTION_IDLE)
getActiveChar().getAI().setIntention(CtrlIntention.AI_INTENTION_ACTIVE, null);
}
else if (player.getKarma() > 0)
{
if (_log.isDebugEnabled()) _log.debug(getActiveChar().getObjectId()+": PK "+player.getObjectId()+" entered scan range");
// Set the L2GuardInstance Intention to AI_INTENTION_ACTIVE
if (getActiveChar().getAI().getIntention() == CtrlIntention.AI_INTENTION_IDLE)
getActiveChar().getAI().setIntention(CtrlIntention.AI_INTENTION_ACTIVE, null);
}[/Code]
Bug appeared with L2Guard, if player is invisible and even if he have karma he isnt added to GuardKnownList i think, cuz they dont attack player.
This bug goes like: Pk some1, use Silent Move, and u r free to go. Guards will not touch u.
If this has nothing with knownlist than pls tell me what file should be edited to have this working.
Less than 2 days for IL update and start of the newbie bonus program! Don't miss it out if you were thinking to start here, we're transitioning at 17th May, 9:00 (GMT +2)
The description of bonus program is written in the post above.
The problem is that many changes are not directly doable from the datapack scripts (or not easily doable), you need to put your hands in the core.
So I suggest you look some guide on how to import the project on intellij and start from that. It will be worth in the long run.
Question
down
Does any1 of pro devs know if this will work for GuardKnownList
Bug appeared with L2Guard, if player is invisible and even if he have karma he isnt added to GuardKnownList i think, cuz they dont attack player.
This bug goes like: Pk some1, use Silent Move, and u r free to go. Guards will not touch u.
If this has nothing with knownlist than pls tell me what file should be edited to have this working.
Link to comment
Share on other sites
8 answers 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.