Hi , need a little assistance here.
So far up to this point, we had within the code, a fight between two individuals.
I am stuck at this mission particularly when I have to implement a fight between two armies of two each; Each army has a front unit and back unit.
There are 2 scenarios
Scenario 1
front unit is a Lancer and attacks the other side which damages both the units (the other side). Vice versa if the other side has a Lancer.
Scenario 2
back unit is a Healer and whenever the front unit attacks, the Healer heals either 0,1,2 HP.
How do I implement these 2 scenarios into the code?
Thank you.
Created at: 2020/07/09 17:03; Updated at: 2020/07/11 04:36