TWLan Forum

Full Version: Attack function, support attacked part
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there, I'm working on an attack system, though, I'm wondering if anyone could give me some piece of advice on how should I process the data on attack function to keep track of whom support units have been killed in the battle.
If 80 % of all units die, every group (from the defending and the supporting villages) loses 80% of their troops, I think this is the way Tribalwars does it, and it's quite logical.
Yes it'q quite logic.. so I need to start counting dead units with the support units, till I reach that 80%..