Self casting should not increase PvP time.

This commit is contained in:
MobiusDev 2019-01-25 03:11:41 +00:00
parent d8129e0362
commit f27e223be9
10 changed files with 50 additions and 10 deletions

View File

@ -653,7 +653,11 @@ public class SkillCaster implements Runnable
&& (!((L2Npc) obj).isScriptValue(0) //
|| (((L2Npc) obj).getReputation() < 0))))
{
player.updatePvPStatus();
// Self casting should not increase PvP time.
if (obj != player)
{
player.updatePvPStatus();
}
}
}
}

View File

@ -653,7 +653,11 @@ public class SkillCaster implements Runnable
&& (!((L2Npc) obj).isScriptValue(0) //
|| (((L2Npc) obj).getReputation() < 0))))
{
player.updatePvPStatus();
// Self casting should not increase PvP time.
if (obj != player)
{
player.updatePvPStatus();
}
}
}
}

View File

@ -653,7 +653,11 @@ public class SkillCaster implements Runnable
&& (!((L2Npc) obj).isScriptValue(0) //
|| (((L2Npc) obj).getReputation() < 0))))
{
player.updatePvPStatus();
// Self casting should not increase PvP time.
if (obj != player)
{
player.updatePvPStatus();
}
}
}
}

View File

@ -653,7 +653,11 @@ public class SkillCaster implements Runnable
&& (!((L2Npc) obj).isScriptValue(0) //
|| (((L2Npc) obj).getReputation() < 0))))
{
player.updatePvPStatus();
// Self casting should not increase PvP time.
if (obj != player)
{
player.updatePvPStatus();
}
}
}
}

View File

@ -653,7 +653,11 @@ public class SkillCaster implements Runnable
&& (!((L2Npc) obj).isScriptValue(0) //
|| (((L2Npc) obj).getReputation() < 0))))
{
player.updatePvPStatus();
// Self casting should not increase PvP time.
if (obj != player)
{
player.updatePvPStatus();
}
}
}
}

View File

@ -653,7 +653,11 @@ public class SkillCaster implements Runnable
&& (!((L2Npc) obj).isScriptValue(0) //
|| (((L2Npc) obj).getReputation() < 0))))
{
player.updatePvPStatus();
// Self casting should not increase PvP time.
if (obj != player)
{
player.updatePvPStatus();
}
}
}
}

View File

@ -653,7 +653,11 @@ public class SkillCaster implements Runnable
&& (!((L2Npc) obj).isScriptValue(0) //
|| (((L2Npc) obj).getReputation() < 0))))
{
player.updatePvPStatus();
// Self casting should not increase PvP time.
if (obj != player)
{
player.updatePvPStatus();
}
}
}
}

View File

@ -653,7 +653,11 @@ public class SkillCaster implements Runnable
&& (!((L2Npc) obj).isScriptValue(0) //
|| (((L2Npc) obj).getReputation() < 0))))
{
player.updatePvPStatus();
// Self casting should not increase PvP time.
if (obj != player)
{
player.updatePvPStatus();
}
}
}
}

View File

@ -653,7 +653,11 @@ public class SkillCaster implements Runnable
&& (!((L2Npc) obj).isScriptValue(0) //
|| (((L2Npc) obj).getReputation() < 0))))
{
player.updatePvPStatus();
// Self casting should not increase PvP time.
if (obj != player)
{
player.updatePvPStatus();
}
}
}
}

View File

@ -653,7 +653,11 @@ public class SkillCaster implements Runnable
&& (!((L2Npc) obj).isScriptValue(0) //
|| (((L2Npc) obj).getReputation() < 0))))
{
player.updatePvPStatus();
// Self casting should not increase PvP time.
if (obj != player)
{
player.updatePvPStatus();
}
}
}
}