extra summon time doesnt affect safezones

This commit is contained in:
2024-04-10 19:05:55 -05:00
parent 642103b5a2
commit ed7e7be3e8
+2 -2
View File
@@ -1400,7 +1400,7 @@ public enum PowersManager {
duration = 15000; // Healer Summons, 15 seconds
else
duration = 45000; // Belgosh Summons, 45 seconds
if(pc.inSafeZone() == false) {
for (AbstractWorldObject absChar : WorldGrid.getObjectsInRangePartial(pc.loc, MBServerStatics.CHARACTER_LOAD_RANGE, MBServerStatics.MASK_PLAYER)) {
PlayerCharacter player = (PlayerCharacter) absChar;
if (player.guild.getNation().equals(pc.guild.getNation()) == false) {
@@ -1408,7 +1408,7 @@ public enum PowersManager {
break;
}
}
}
// Teleport to summoners location
FinishSummonsJob fsj = new FinishSummonsJob(source, pc);