Self casting should not increase PvP time.
This commit is contained in:
parent
d8129e0362
commit
f27e223be9
@ -653,7 +653,11 @@ public class SkillCaster implements Runnable
|
|||||||
&& (!((L2Npc) obj).isScriptValue(0) //
|
&& (!((L2Npc) obj).isScriptValue(0) //
|
||||||
|| (((L2Npc) obj).getReputation() < 0))))
|
|| (((L2Npc) obj).getReputation() < 0))))
|
||||||
{
|
{
|
||||||
player.updatePvPStatus();
|
// Self casting should not increase PvP time.
|
||||||
|
if (obj != player)
|
||||||
|
{
|
||||||
|
player.updatePvPStatus();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -653,7 +653,11 @@ public class SkillCaster implements Runnable
|
|||||||
&& (!((L2Npc) obj).isScriptValue(0) //
|
&& (!((L2Npc) obj).isScriptValue(0) //
|
||||||
|| (((L2Npc) obj).getReputation() < 0))))
|
|| (((L2Npc) obj).getReputation() < 0))))
|
||||||
{
|
{
|
||||||
player.updatePvPStatus();
|
// Self casting should not increase PvP time.
|
||||||
|
if (obj != player)
|
||||||
|
{
|
||||||
|
player.updatePvPStatus();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -653,7 +653,11 @@ public class SkillCaster implements Runnable
|
|||||||
&& (!((L2Npc) obj).isScriptValue(0) //
|
&& (!((L2Npc) obj).isScriptValue(0) //
|
||||||
|| (((L2Npc) obj).getReputation() < 0))))
|
|| (((L2Npc) obj).getReputation() < 0))))
|
||||||
{
|
{
|
||||||
player.updatePvPStatus();
|
// Self casting should not increase PvP time.
|
||||||
|
if (obj != player)
|
||||||
|
{
|
||||||
|
player.updatePvPStatus();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -653,7 +653,11 @@ public class SkillCaster implements Runnable
|
|||||||
&& (!((L2Npc) obj).isScriptValue(0) //
|
&& (!((L2Npc) obj).isScriptValue(0) //
|
||||||
|| (((L2Npc) obj).getReputation() < 0))))
|
|| (((L2Npc) obj).getReputation() < 0))))
|
||||||
{
|
{
|
||||||
player.updatePvPStatus();
|
// Self casting should not increase PvP time.
|
||||||
|
if (obj != player)
|
||||||
|
{
|
||||||
|
player.updatePvPStatus();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -653,7 +653,11 @@ public class SkillCaster implements Runnable
|
|||||||
&& (!((L2Npc) obj).isScriptValue(0) //
|
&& (!((L2Npc) obj).isScriptValue(0) //
|
||||||
|| (((L2Npc) obj).getReputation() < 0))))
|
|| (((L2Npc) obj).getReputation() < 0))))
|
||||||
{
|
{
|
||||||
player.updatePvPStatus();
|
// Self casting should not increase PvP time.
|
||||||
|
if (obj != player)
|
||||||
|
{
|
||||||
|
player.updatePvPStatus();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -653,7 +653,11 @@ public class SkillCaster implements Runnable
|
|||||||
&& (!((L2Npc) obj).isScriptValue(0) //
|
&& (!((L2Npc) obj).isScriptValue(0) //
|
||||||
|| (((L2Npc) obj).getReputation() < 0))))
|
|| (((L2Npc) obj).getReputation() < 0))))
|
||||||
{
|
{
|
||||||
player.updatePvPStatus();
|
// Self casting should not increase PvP time.
|
||||||
|
if (obj != player)
|
||||||
|
{
|
||||||
|
player.updatePvPStatus();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -653,7 +653,11 @@ public class SkillCaster implements Runnable
|
|||||||
&& (!((L2Npc) obj).isScriptValue(0) //
|
&& (!((L2Npc) obj).isScriptValue(0) //
|
||||||
|| (((L2Npc) obj).getReputation() < 0))))
|
|| (((L2Npc) obj).getReputation() < 0))))
|
||||||
{
|
{
|
||||||
player.updatePvPStatus();
|
// Self casting should not increase PvP time.
|
||||||
|
if (obj != player)
|
||||||
|
{
|
||||||
|
player.updatePvPStatus();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -653,7 +653,11 @@ public class SkillCaster implements Runnable
|
|||||||
&& (!((L2Npc) obj).isScriptValue(0) //
|
&& (!((L2Npc) obj).isScriptValue(0) //
|
||||||
|| (((L2Npc) obj).getReputation() < 0))))
|
|| (((L2Npc) obj).getReputation() < 0))))
|
||||||
{
|
{
|
||||||
player.updatePvPStatus();
|
// Self casting should not increase PvP time.
|
||||||
|
if (obj != player)
|
||||||
|
{
|
||||||
|
player.updatePvPStatus();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -653,7 +653,11 @@ public class SkillCaster implements Runnable
|
|||||||
&& (!((L2Npc) obj).isScriptValue(0) //
|
&& (!((L2Npc) obj).isScriptValue(0) //
|
||||||
|| (((L2Npc) obj).getReputation() < 0))))
|
|| (((L2Npc) obj).getReputation() < 0))))
|
||||||
{
|
{
|
||||||
player.updatePvPStatus();
|
// Self casting should not increase PvP time.
|
||||||
|
if (obj != player)
|
||||||
|
{
|
||||||
|
player.updatePvPStatus();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -653,7 +653,11 @@ public class SkillCaster implements Runnable
|
|||||||
&& (!((L2Npc) obj).isScriptValue(0) //
|
&& (!((L2Npc) obj).isScriptValue(0) //
|
||||||
|| (((L2Npc) obj).getReputation() < 0))))
|
|| (((L2Npc) obj).getReputation() < 0))))
|
||||||
{
|
{
|
||||||
player.updatePvPStatus();
|
// Self casting should not increase PvP time.
|
||||||
|
if (obj != player)
|
||||||
|
{
|
||||||
|
player.updatePvPStatus();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user