Resurrection should not be possible in siege zones.
Contributed by Sahar.
This commit is contained in:
@@ -79,7 +79,7 @@ public class PcBody implements ITargetTypeHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
// check target is not in a active siege zone
|
// check target is not in a active siege zone
|
||||||
if (target.isPlayer() && target.isInsideZone(ZoneId.SIEGE) && !target.getActingPlayer().isInSiege())
|
if (target.isPlayer() && target.isInsideZone(ZoneId.SIEGE))
|
||||||
{
|
{
|
||||||
if (sendMessage)
|
if (sendMessage)
|
||||||
{
|
{
|
||||||
|
@@ -79,7 +79,7 @@ public class PcBody implements ITargetTypeHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
// check target is not in a active siege zone
|
// check target is not in a active siege zone
|
||||||
if (target.isPlayer() && target.isInsideZone(ZoneId.SIEGE) && !target.getActingPlayer().isInSiege())
|
if (target.isPlayer() && target.isInsideZone(ZoneId.SIEGE))
|
||||||
{
|
{
|
||||||
if (sendMessage)
|
if (sendMessage)
|
||||||
{
|
{
|
||||||
|
@@ -79,7 +79,7 @@ public class PcBody implements ITargetTypeHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
// check target is not in a active siege zone
|
// check target is not in a active siege zone
|
||||||
if (target.isPlayer() && target.isInsideZone(ZoneId.SIEGE) && !target.getActingPlayer().isInSiege())
|
if (target.isPlayer() && target.isInsideZone(ZoneId.SIEGE))
|
||||||
{
|
{
|
||||||
if (sendMessage)
|
if (sendMessage)
|
||||||
{
|
{
|
||||||
|
@@ -79,7 +79,7 @@ public class PcBody implements ITargetTypeHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
// check target is not in a active siege zone
|
// check target is not in a active siege zone
|
||||||
if (target.isPlayer() && target.isInsideZone(ZoneId.SIEGE) && !target.getActingPlayer().isInSiege())
|
if (target.isPlayer() && target.isInsideZone(ZoneId.SIEGE))
|
||||||
{
|
{
|
||||||
if (sendMessage)
|
if (sendMessage)
|
||||||
{
|
{
|
||||||
|
@@ -79,7 +79,7 @@ public class PcBody implements ITargetTypeHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
// check target is not in a active siege zone
|
// check target is not in a active siege zone
|
||||||
if (target.isPlayer() && target.isInsideZone(ZoneId.SIEGE) && !target.getActingPlayer().isInSiege())
|
if (target.isPlayer() && target.isInsideZone(ZoneId.SIEGE))
|
||||||
{
|
{
|
||||||
if (sendMessage)
|
if (sendMessage)
|
||||||
{
|
{
|
||||||
|
@@ -79,7 +79,7 @@ public class PcBody implements ITargetTypeHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
// check target is not in a active siege zone
|
// check target is not in a active siege zone
|
||||||
if (target.isPlayer() && target.isInsideZone(ZoneId.SIEGE) && !target.getActingPlayer().isInSiege())
|
if (target.isPlayer() && target.isInsideZone(ZoneId.SIEGE))
|
||||||
{
|
{
|
||||||
if (sendMessage)
|
if (sendMessage)
|
||||||
{
|
{
|
||||||
|
@@ -79,7 +79,7 @@ public class PcBody implements ITargetTypeHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
// check target is not in a active siege zone
|
// check target is not in a active siege zone
|
||||||
if (target.isPlayer() && target.isInsideZone(ZoneId.SIEGE) && !target.getActingPlayer().isInSiege())
|
if (target.isPlayer() && target.isInsideZone(ZoneId.SIEGE))
|
||||||
{
|
{
|
||||||
if (sendMessage)
|
if (sendMessage)
|
||||||
{
|
{
|
||||||
|
@@ -79,7 +79,7 @@ public class PcBody implements ITargetTypeHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
// check target is not in a active siege zone
|
// check target is not in a active siege zone
|
||||||
if (target.isPlayer() && target.isInsideZone(ZoneId.SIEGE) && !target.getActingPlayer().isInSiege())
|
if (target.isPlayer() && target.isInsideZone(ZoneId.SIEGE))
|
||||||
{
|
{
|
||||||
if (sendMessage)
|
if (sendMessage)
|
||||||
{
|
{
|
||||||
|
@@ -79,7 +79,7 @@ public class PcBody implements ITargetTypeHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
// check target is not in a active siege zone
|
// check target is not in a active siege zone
|
||||||
if (target.isPlayer() && target.isInsideZone(ZoneId.SIEGE) && !target.getActingPlayer().isInSiege())
|
if (target.isPlayer() && target.isInsideZone(ZoneId.SIEGE))
|
||||||
{
|
{
|
||||||
if (sendMessage)
|
if (sendMessage)
|
||||||
{
|
{
|
||||||
|
@@ -79,7 +79,7 @@ public class PcBody implements ITargetTypeHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
// check target is not in a active siege zone
|
// check target is not in a active siege zone
|
||||||
if (target.isPlayer() && target.isInsideZone(ZoneId.SIEGE) && !target.getActingPlayer().isInSiege())
|
if (target.isPlayer() && target.isInsideZone(ZoneId.SIEGE))
|
||||||
{
|
{
|
||||||
if (sendMessage)
|
if (sendMessage)
|
||||||
{
|
{
|
||||||
|
@@ -79,7 +79,7 @@ public class PcBody implements ITargetTypeHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
// check target is not in a active siege zone
|
// check target is not in a active siege zone
|
||||||
if (target.isPlayer() && target.isInsideZone(ZoneId.SIEGE) && !target.getActingPlayer().isInSiege())
|
if (target.isPlayer() && target.isInsideZone(ZoneId.SIEGE))
|
||||||
{
|
{
|
||||||
if (sendMessage)
|
if (sendMessage)
|
||||||
{
|
{
|
||||||
|
@@ -79,7 +79,7 @@ public class PcBody implements ITargetTypeHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
// check target is not in a active siege zone
|
// check target is not in a active siege zone
|
||||||
if (target.isPlayer() && target.isInsideZone(ZoneId.SIEGE) && !target.getActingPlayer().isInSiege())
|
if (target.isPlayer() && target.isInsideZone(ZoneId.SIEGE))
|
||||||
{
|
{
|
||||||
if (sendMessage)
|
if (sendMessage)
|
||||||
{
|
{
|
||||||
|
@@ -79,7 +79,7 @@ public class PcBody implements ITargetTypeHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
// check target is not in a active siege zone
|
// check target is not in a active siege zone
|
||||||
if (target.isPlayer() && target.isInsideZone(ZoneId.SIEGE) && !target.getActingPlayer().isInSiege())
|
if (target.isPlayer() && target.isInsideZone(ZoneId.SIEGE))
|
||||||
{
|
{
|
||||||
if (sendMessage)
|
if (sendMessage)
|
||||||
{
|
{
|
||||||
|
@@ -79,7 +79,7 @@ public class PcBody implements ITargetTypeHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
// check target is not in a active siege zone
|
// check target is not in a active siege zone
|
||||||
if (target.isPlayer() && target.isInsideZone(ZoneId.SIEGE) && !target.getActingPlayer().isInSiege())
|
if (target.isPlayer() && target.isInsideZone(ZoneId.SIEGE))
|
||||||
{
|
{
|
||||||
if (sendMessage)
|
if (sendMessage)
|
||||||
{
|
{
|
||||||
|
@@ -79,7 +79,7 @@ public class PcBody implements ITargetTypeHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
// check target is not in a active siege zone
|
// check target is not in a active siege zone
|
||||||
if (target.isPlayer() && target.isInsideZone(ZoneId.SIEGE) && !target.getActingPlayer().isInSiege())
|
if (target.isPlayer() && target.isInsideZone(ZoneId.SIEGE))
|
||||||
{
|
{
|
||||||
if (sendMessage)
|
if (sendMessage)
|
||||||
{
|
{
|
||||||
|
@@ -79,7 +79,7 @@ public class PcBody implements ITargetTypeHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
// check target is not in a active siege zone
|
// check target is not in a active siege zone
|
||||||
if (target.isPlayer() && target.isInsideZone(ZoneId.SIEGE) && !target.getActingPlayer().isInSiege())
|
if (target.isPlayer() && target.isInsideZone(ZoneId.SIEGE))
|
||||||
{
|
{
|
||||||
if (sendMessage)
|
if (sendMessage)
|
||||||
{
|
{
|
||||||
|
@@ -79,7 +79,7 @@ public class PcBody implements ITargetTypeHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
// check target is not in a active siege zone
|
// check target is not in a active siege zone
|
||||||
if (target.isPlayer() && target.isInsideZone(ZoneId.SIEGE) && !target.getActingPlayer().isInSiege())
|
if (target.isPlayer() && target.isInsideZone(ZoneId.SIEGE))
|
||||||
{
|
{
|
||||||
if (sendMessage)
|
if (sendMessage)
|
||||||
{
|
{
|
||||||
|
@@ -79,7 +79,7 @@ public class PcBody implements ITargetTypeHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
// check target is not in a active siege zone
|
// check target is not in a active siege zone
|
||||||
if (target.isPlayer() && target.isInsideZone(ZoneId.SIEGE) && !target.getActingPlayer().isInSiege())
|
if (target.isPlayer() && target.isInsideZone(ZoneId.SIEGE))
|
||||||
{
|
{
|
||||||
if (sendMessage)
|
if (sendMessage)
|
||||||
{
|
{
|
||||||
|
@@ -79,7 +79,7 @@ public class PcBody implements ITargetTypeHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
// check target is not in a active siege zone
|
// check target is not in a active siege zone
|
||||||
if (target.isPlayer() && target.isInsideZone(ZoneId.SIEGE) && !target.getActingPlayer().isInSiege())
|
if (target.isPlayer() && target.isInsideZone(ZoneId.SIEGE))
|
||||||
{
|
{
|
||||||
if (sendMessage)
|
if (sendMessage)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user