More trouble with spells
I have this idea of two spells. The first will be a targeted projectile that does minor damage and when it hits its target leaves a de buff on the target. If I target a unit which already has the de buff I want it to stack. The second ability will have no target and when activated it will deal x amount of damage * the amounts of stacks from the first skill and pull the unit towards the caster. This is very similar to Shadow daemon's shadow poison. I would rather create the spell from scratch for learning purposes and not look at shadow poison. I'm not sure where to start with this spell (combo?) and any help or starting points would be appreciated.