Hi i just find a code for Make a PK Guard Detect daggers Even if them go in "Silent Move"(so high lvl daggers will can't go there Pking and going Silent Move to evade Pk Guards)
The code i find is this:
L2AttackableAI
// Check if the target isn't dead, is in the Aggro range and is at the same height
if (target.isAlikeDead() || !me.isInsideRadius(target, me.getAggroRange(), false, false) || Math.abs(_actor.getZ() - target.getZ()) > 300)
return false;
if (_selfAnalysis.cannotMoveOnLand && !target.isInsideZone(L2Character.ZONE_WATER))
return false;
// Check if the target is a L2PlayableInstance
if (target instanceof L2PlayableInstance)
{
// Check if the AI isn't a Raid Boss and the target isn't in silent move mode
-- if (!(me instanceof L2RaidBossInstance) && ((L2PlayableInstance) target).isSilentMoving())
+ if (!(meinstanceof L2RaidBossInstance) && !(me instanceof L2GuardInstance) && ((L2PlayableInstance)target).isSilentMoving())
return false;
}
But in High Five this looks a bit diferent:
{
// Check if the AI isn't a Raid Boss, can See Silent Moving players and the target isn't in silent move mode
[color=green]if (!(me.isRaid()) && !(me.canSeeThroughSilentMove()) && ((L2Playable) target).isSilentMoving())[/color]
return false;
}
So if someone can tell me the correct code for make this work in HI5 would be great. Ty.
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.
Hello everyone,
Given that he has lots of different projects but no concrete opinions..
I pose my request here.
Which serious Lineage2 HighFive project is the best choice?
For a server that can be custom and which can be suitable for a classic x10 server and an x1000 server for example?
L2J
Or we ideally have the source, in order to be able to add the farming systems, weapons and armor, npc...
Free or paid, it doesn't matter.
THANKS
Hello everyone,
Given that he has lots of different projects
but no concrete opinions..
I pose my request here.
Which serious Lineage2 HighFive project/emulator
is the best choice?
For a server that can be custom and
which can be suitable for a classic x10 server
and an x1000 server for example?
L2Java ideally
Or we ideally have the source,
in order to be able to add the farming systems,
weapons and armor, npc...
Free or paid, it doesn't matter.
THANKS
Question
Chakl22
Hi i just find a code for Make a PK Guard Detect daggers Even if them go in "Silent Move" (so high lvl daggers will can't go there Pking and going Silent Move to evade Pk Guards)
The code i find is this:
L2AttackableAI
But in High Five this looks a bit diferent:
So if someone can tell me the correct code for make this work in HI5 would be great. Ty.
2 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.
Note: Your post will require moderator approval before it will be visible.