In my game, I have a skill that calls down lightning to randomly strike enemies within a certain range — and that part works fine.
But now I want to make the skill summon multiple lightning bolts at once, and I want each one to randomly strike an enemy in range.
Whether or not it hits the same enemy more than once isn’t important right now.
So, I was wondering — is there a good way to make each created object (lightning bolt) pick a different/random target on its own?
Any help or suggestions would be really appreciated. Thanks a lot!