Hi guys, I'm having trouble creating a custom spell, but I don't know where to start. I wanted the spell to have the following effect:
-That the caster unleashes a projectile in a straight line to a certain maximum range of that ability, and all units that collide with it receive a certain amount of fixed damage.
I even started to define my skills, but I don't know what to do after that.
-That the caster unleashes a projectile in a straight line to a certain maximum range of that ability, and all units that collide with it receive a certain amount of fixed damage.
I even started to define my skills, but I don't know what to do after that.
-
Custom Spell Config
-
Events
- Map initialization
- Conditions
-
Actions
- -------- Config --------
- Set CP_Dummy = Unit_Dummy
- Set CP_Range = 1000.00
- Set CP_Speed = 1900.00
- -------- Config Damge --------
- Set CP_Damage[1] = 100.00
- Set CP_Damage[2] = 200.00
- Set CP_Damage[3] = 300.00
-
Events