In my game I want to have a spell that does "trample" damage. Specifically, if the damage dealt to the target exceeds its current HP, the excess will be dealt to another enemy. preferably the next one in line of troops in battle.
For example, the spell deals 7 damage, target has 4 hp left, 3 damage will be dealt to another enemy in the battle.
I have looked all over the program and have found nothing that helps. I have also spent a lot of time looking over the forums and havent found anything of help, i realize this is a very simple concept but hopefully someone will help me.
For example, the spell deals 7 damage, target has 4 hp left, 3 damage will be dealt to another enemy in the battle.
I have looked all over the program and have found nothing that helps. I have also spent a lot of time looking over the forums and havent found anything of help, i realize this is a very simple concept but hopefully someone will help me.