Battle - V2
-
Server now generates up to 7 fights (relying on army units count on each side + wall level) -
Server now keep track of healthy/dead unit counts. -
Battle page can now display the pending fights and the army statistics. -
Fights are now updated each time we trigger a tick -
Log dead units -
Kill Generals that lost the Battle -
Log Beaten General -
Temporary Battle resolution got removed. A Battle should end if one side doesn't have any remaining units. -
World are now ticking every 2 minutes automatically (Movements, Battles and Resources)
Post Battle cleanup :
-
update all armies depending outcome (remove all dead units in all armies) -
Cleanup remaining Fight/FightingUnit
Edited by Bibni