Fixed trap bugs

+Released troops will now return to their respective villages correctly,
(allied or own villages)
+Fixed "Released X of own troops" and "Released X of friendly troops"
texts, they'll now match the correct amount of own/friendly released
troops.
+Fixed a bug that didn't permit to release troops in the first attack or
if in the attacked village there were prisoners from more than one
village
+Corrected a wrong stolen resources calculation
+Minor improovements and bug fixing
This commit is contained in:
iopietro
2018-05-01 00:09:58 +02:00
parent 0fac64b23a
commit 2fc3e7b7da
4 changed files with 192 additions and 268 deletions
+3 -3
View File
@@ -641,9 +641,9 @@ define("REINFORCEMENTFOR","Reinforcement to");
define("ATTACK_ON","Attack to");
define("RAID_ON","Raid to");
define("SCOUTING","Scouting");
define("PRISONERS","Prisioners");
define("PRISONERSIN","Prisioners in");
define("PRISONERSFROM","Prisioners from");
define("PRISONERS","Prisoners");
define("PRISONERSIN","Prisoners in");
define("PRISONERSFROM","Prisoners from");
define("TROOPS","Troops");
define("TROOPSFROM","Troops");
define("BOUNTY","Bounty");