Self casting should not increase PvP time.
This commit is contained in:
parent
d8129e0362
commit
f27e223be9
@ -652,11 +652,15 @@ public class SkillCaster implements Runnable
|
||||
|| (obj.isFakePlayer() //
|
||||
&& (!((L2Npc) obj).isScriptValue(0) //
|
||||
|| (((L2Npc) obj).getReputation() < 0))))
|
||||
{
|
||||
// Self casting should not increase PvP time.
|
||||
if (obj != player)
|
||||
{
|
||||
player.updatePvPStatus();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Mobs in range 1000 see spell
|
||||
L2World.getInstance().forEachVisibleObjectInRange(player, L2Npc.class, 1000, npcMob ->
|
||||
|
@ -652,11 +652,15 @@ public class SkillCaster implements Runnable
|
||||
|| (obj.isFakePlayer() //
|
||||
&& (!((L2Npc) obj).isScriptValue(0) //
|
||||
|| (((L2Npc) obj).getReputation() < 0))))
|
||||
{
|
||||
// Self casting should not increase PvP time.
|
||||
if (obj != player)
|
||||
{
|
||||
player.updatePvPStatus();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Mobs in range 1000 see spell
|
||||
L2World.getInstance().forEachVisibleObjectInRange(player, L2Npc.class, 1000, npcMob ->
|
||||
|
@ -652,11 +652,15 @@ public class SkillCaster implements Runnable
|
||||
|| (obj.isFakePlayer() //
|
||||
&& (!((L2Npc) obj).isScriptValue(0) //
|
||||
|| (((L2Npc) obj).getReputation() < 0))))
|
||||
{
|
||||
// Self casting should not increase PvP time.
|
||||
if (obj != player)
|
||||
{
|
||||
player.updatePvPStatus();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Mobs in range 1000 see spell
|
||||
L2World.getInstance().forEachVisibleObjectInRange(player, L2Npc.class, 1000, npcMob ->
|
||||
|
@ -652,11 +652,15 @@ public class SkillCaster implements Runnable
|
||||
|| (obj.isFakePlayer() //
|
||||
&& (!((L2Npc) obj).isScriptValue(0) //
|
||||
|| (((L2Npc) obj).getReputation() < 0))))
|
||||
{
|
||||
// Self casting should not increase PvP time.
|
||||
if (obj != player)
|
||||
{
|
||||
player.updatePvPStatus();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Mobs in range 1000 see spell
|
||||
L2World.getInstance().forEachVisibleObjectInRange(player, L2Npc.class, 1000, npcMob ->
|
||||
|
@ -652,11 +652,15 @@ public class SkillCaster implements Runnable
|
||||
|| (obj.isFakePlayer() //
|
||||
&& (!((L2Npc) obj).isScriptValue(0) //
|
||||
|| (((L2Npc) obj).getReputation() < 0))))
|
||||
{
|
||||
// Self casting should not increase PvP time.
|
||||
if (obj != player)
|
||||
{
|
||||
player.updatePvPStatus();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Mobs in range 1000 see spell
|
||||
L2World.getInstance().forEachVisibleObjectInRange(player, L2Npc.class, 1000, npcMob ->
|
||||
|
@ -652,11 +652,15 @@ public class SkillCaster implements Runnable
|
||||
|| (obj.isFakePlayer() //
|
||||
&& (!((L2Npc) obj).isScriptValue(0) //
|
||||
|| (((L2Npc) obj).getReputation() < 0))))
|
||||
{
|
||||
// Self casting should not increase PvP time.
|
||||
if (obj != player)
|
||||
{
|
||||
player.updatePvPStatus();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Mobs in range 1000 see spell
|
||||
L2World.getInstance().forEachVisibleObjectInRange(player, L2Npc.class, 1000, npcMob ->
|
||||
|
@ -652,11 +652,15 @@ public class SkillCaster implements Runnable
|
||||
|| (obj.isFakePlayer() //
|
||||
&& (!((L2Npc) obj).isScriptValue(0) //
|
||||
|| (((L2Npc) obj).getReputation() < 0))))
|
||||
{
|
||||
// Self casting should not increase PvP time.
|
||||
if (obj != player)
|
||||
{
|
||||
player.updatePvPStatus();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Mobs in range 1000 see spell
|
||||
L2World.getInstance().forEachVisibleObjectInRange(player, L2Npc.class, 1000, npcMob ->
|
||||
|
@ -652,11 +652,15 @@ public class SkillCaster implements Runnable
|
||||
|| (obj.isFakePlayer() //
|
||||
&& (!((L2Npc) obj).isScriptValue(0) //
|
||||
|| (((L2Npc) obj).getReputation() < 0))))
|
||||
{
|
||||
// Self casting should not increase PvP time.
|
||||
if (obj != player)
|
||||
{
|
||||
player.updatePvPStatus();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Mobs in range 1000 see spell
|
||||
L2World.getInstance().forEachVisibleObjectInRange(player, L2Npc.class, 1000, npcMob ->
|
||||
|
@ -652,11 +652,15 @@ public class SkillCaster implements Runnable
|
||||
|| (obj.isFakePlayer() //
|
||||
&& (!((L2Npc) obj).isScriptValue(0) //
|
||||
|| (((L2Npc) obj).getReputation() < 0))))
|
||||
{
|
||||
// Self casting should not increase PvP time.
|
||||
if (obj != player)
|
||||
{
|
||||
player.updatePvPStatus();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Mobs in range 1000 see spell
|
||||
L2World.getInstance().forEachVisibleObjectInRange(player, L2Npc.class, 1000, npcMob ->
|
||||
|
@ -652,11 +652,15 @@ public class SkillCaster implements Runnable
|
||||
|| (obj.isFakePlayer() //
|
||||
&& (!((L2Npc) obj).isScriptValue(0) //
|
||||
|| (((L2Npc) obj).getReputation() < 0))))
|
||||
{
|
||||
// Self casting should not increase PvP time.
|
||||
if (obj != player)
|
||||
{
|
||||
player.updatePvPStatus();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Mobs in range 1000 see spell
|
||||
L2World.getInstance().forEachVisibleObjectInRange(player, L2Npc.class, 1000, npcMob ->
|
||||
|
Loading…
Reference in New Issue
Block a user