NotFriend affect object siege zone checks.
Contributed by nasseka.
This commit is contained in:
L2J_Mobius_05.0_Salvation/dist/game/data/scripts/handlers/targethandlers/affectobject/NotFriend.java
Vendored
+1
-1
@@ -85,7 +85,7 @@ public class NotFriend implements IAffectObjectHandler
|
||||
}
|
||||
|
||||
// Arena.
|
||||
if (creature.isInsideZone(ZoneId.PVP) && target.isInsideZone(ZoneId.PVP))
|
||||
if (creature.isInsideZone(ZoneId.PVP) && !creature.isInsideZone(ZoneId.SIEGE) && target.isInsideZone(ZoneId.PVP) && !target.isInsideZone(ZoneId.SIEGE))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
+1
-1
@@ -85,7 +85,7 @@ public class NotFriendPc implements IAffectObjectHandler
|
||||
}
|
||||
|
||||
// Arena.
|
||||
if (creature.isInsideZone(ZoneId.PVP) && target.isInsideZone(ZoneId.PVP))
|
||||
if (creature.isInsideZone(ZoneId.PVP) && !creature.isInsideZone(ZoneId.SIEGE) && target.isInsideZone(ZoneId.PVP) && !target.isInsideZone(ZoneId.SIEGE))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user