|
|
@ -1580,6 +1580,8 @@ public enum PowersManager { |
|
|
|
ArrayList<Guild> nationsInRange = new ArrayList<>(); |
|
|
|
ArrayList<Guild> nationsInRange = new ArrayList<>(); |
|
|
|
//first round to add players in range
|
|
|
|
//first round to add players in range
|
|
|
|
for(AbstractWorldObject trackChar : allInRange){ |
|
|
|
for(AbstractWorldObject trackChar : allInRange){ |
|
|
|
|
|
|
|
if(trackChar.equals(playerCharacter) || !trackChar.isAlive() || !((PlayerCharacter)trackChar).isActive()) |
|
|
|
|
|
|
|
continue; |
|
|
|
if(allInRange.contains(trackChar)) { |
|
|
|
if(allInRange.contains(trackChar)) { |
|
|
|
trackChars.add((AbstractCharacter)trackChar); |
|
|
|
trackChars.add((AbstractCharacter)trackChar); |
|
|
|
Guild nation = ((AbstractCharacter)trackChar).guild.getNation(); |
|
|
|
Guild nation = ((AbstractCharacter)trackChar).guild.getNation(); |
|
|
|