Skip to content
User Avatar
#6
Auto-translated
Plasma

P.S. If this program is useful to any newbie, I will be happy.
Newbies in the third game? :smile07:

Added after 2 hours 59 minutes
Plasma

As a result, we get different data for each slot of hero1 against each slot of hero2: damage, how many will be killed, in how many hits, retaliatory damage, etc.
I suggest conducting an emulation (creating a simple algorithm) to determine the winner in a battle when one hero has grand elves in their army and the other has buffed pegasi. The premise is as follows: grand elves defeat pegasi in one round, provided they can attack. But the pegasi have the first turn - due to biology (as a rule) :D.

In this case, a single unit takes retaliatory damage, the second (main) unit deals an unreturned blow, while blocking the archers (half damage when blocked). How will your algorithm predict the battle tactics? Will it declare the grand elves the winner?
Сначала было слово...
FizMiG v.2.0 *** Очередное обновление справочника! *** http://vk.com/fizmig