Uhhh... that would work, but I would go with a much simpler route. Bases of off breath of fire. This has a buff. So, when you cast the ability, check for all units with the buff and then deal damage based on the distance from the caster. This method involves very little math and no complex cone/circle thing. Hope this helps...