How do I set up an AOE type attack that does damage to multiple enemies at set intervals? (i.e., I lay a flame trail on the ground composed of multiple sprites, each sprite when overlapped with an enemy will do damage every second)
Overlapping fire -> spams screen, instant kills all enemies since it's every tick
Overlapping fire, For each fire instance variable/cooldown that determines when to deal damage -> only does damage to one enemy every X seconds
Overlapping fire, For each enemy instance variable/cooldown that determines when enemy takes damage -> enemies will only take damage from one fire sprite at a time
This is complicated by the fact that there are a ton of different ways to damage enemies beyond the fire. Any help would be much appreciated!