← Back to team overview

widelands-dev team mailing list archive

Re: [Merge] lp:~widelands-dev/widelands/find_attack_soldiers into lp:widelands

 

I guess it is ready to merge.
What is implemented:
 - defend with "strongest", attack with "strongest"
 - drop "weakest", but only unwounded soldiers (because wounded soldiers will heal)
I am quite happy with how it works and feels playing with this branch.

What is missing:
 - the list of soldiers in a militarysite is not updated until the windows of the militarysite is
   closed and opened again (this is neccessary when new soldiers arrive, soldiers return from battle,
   soldiers are drop or the priority (weakest/strongest) for a militarysite is changed.
I tried to implement this, however I have no idea how to do this and give up on this.
But you are right, I should have responeded earlier.

"weak" and "strong" refers to the chosen priority.
For priority weak, weak soldiers are "strong".
-- 
https://code.launchpad.net/~widelands-dev/widelands/find_attack_soldiers/+merge/245276
Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/find_attack_soldiers.


References