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.
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.
8 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now