Join the forums now, and start posting to receive access to our Scripts Vault!
what if I attack some player and fight him and in the meantime he attacks someone, ending with 3/15 units and 30%HP,while I am actually in the middle of fighting him at that time and we both still have 14/15 units and 80%HP, then combat ends and what?He actually should have 3/15+30%HP and 14/15+80% HP in the same time...
- I'm fan of instant combat for numerous reasons
- Fully interactive causes so much problems it is at the edge of being impossible to implement in any reasonable way (I won't even try to address the problems of this system, it is just too many of them).
- You could make 3+ sides in semi interactive battle, you would need to check boardgames, these deal with such problems. The most common, I think, is to make separate battles between sides until only one is standing (I would also give "StrategicOrder" attribute and the player with lowest one is the last one to enter battle)
- Do you really need 3+ sides combat in the first place?
Give him the lowest of the two.When combat starts make a separate table entry with both sides forces, these are not affected by any external interferences. At the end of combat apply loses from the most pessimistic battle to the permanent table.