So, I have tried multiple attempts at creating a spell essentially that function exactly like Envenomed Weapons, but scales with agility. My current issue is that if my attacker attacks a second target after applying the dot to the primary target then the primary target stops taking damage. I understand why this happens it is because the loop I have created will only affect a single target at a time. I have looked up some tutorials on arrays, but not fully understand how to apply it in this scenario. I just want my character to be able to auto-attack a few targets and apply the dot to each one individually.