Update clan reputation when siege ends.

This commit is contained in:
MobiusDevelopment
2020-10-19 22:46:03 +00:00
parent a0fbaf54e8
commit 8925028cc2
4 changed files with 4 additions and 8 deletions

View File

@@ -344,8 +344,6 @@ public class Castle
{ {
getSiege().midVictory(); // Mid victory phase of siege getSiege().midVictory(); // Mid victory phase of siege
} }
updateClansReputation();
} }
public void removeOwner(Clan clan) public void removeOwner(Clan clan)
@@ -370,8 +368,6 @@ public class Castle
{ {
getSiege().midVictory(); getSiege().midVictory();
} }
updateClansReputation();
} }
// This method updates the castle tax rate // This method updates the castle tax rate

View File

@@ -358,6 +358,8 @@ public class Siege
_siegeGuardManager.removeMercs(); _siegeGuardManager.removeMercs();
} }
getCastle().updateClansReputation();
// Respawn door to castle // Respawn door to castle
getCastle().spawnDoor(); getCastle().spawnDoor();
getCastle().getZone().updateZoneStatusForCharactersInside(); getCastle().getZone().updateZoneStatusForCharactersInside();

View File

@@ -344,8 +344,6 @@ public class Castle
{ {
getSiege().midVictory(); // Mid victory phase of siege getSiege().midVictory(); // Mid victory phase of siege
} }
updateClansReputation();
} }
public void removeOwner(Clan clan) public void removeOwner(Clan clan)
@@ -370,8 +368,6 @@ public class Castle
{ {
getSiege().midVictory(); getSiege().midVictory();
} }
updateClansReputation();
} }
// This method updates the castle tax rate // This method updates the castle tax rate

View File

@@ -358,6 +358,8 @@ public class Siege
_siegeGuardManager.removeMercs(); _siegeGuardManager.removeMercs();
} }
getCastle().updateClansReputation();
// Respawn door to castle // Respawn door to castle
getCastle().spawnDoor(); getCastle().spawnDoor();
getCastle().getZone().updateZoneStatusForCharactersInside(); getCastle().getZone().updateZoneStatusForCharactersInside();