Hi i've been trying to make a universal Spell called Frost Field, and i managed to make it such that the targets get damaged..... but, i also want to add in buffs, for example, like to make the damaged target slow down with the frost effect, but i keep failing to make such a trigger... so can anyone teach mi or give me some pointers? here's my trigger:
-
Frost Field Trigger
-
Events
- Unit - A unit Begins casting an ability
-
Conditions
- (Ability being cast) Equal to Frost Field
-
Actions
- Custom script: set bj_wantDestroyGroup = true
-
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Owner of (Picked unit)) Equal to (Owner of (Casting unit))
-
Then - Actions
- Do nothing
-
Else - Actions
- Unit - Cause (Casting unit) to damage (Picked unit), dealing 200.00 damage of attack type Spells and damage type Cold
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Events