mordocai
New Member
- Reaction score
- 17
im trying to make a spell that basicly increases all amount of dmg done by your other spells. I have no idea one how to even start making this. Any hints or triggers?
Trigger
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Animate Dead
Actions
Set Unit_Group = (Units within 300.00 of (Target point of ability being cast) matching (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True))
Unit Group - Pick every unit in Unit_Group and do (Actions)
Loop - Actions
Unit - Create 1 Tree_Dummy for (Owner of (Triggering unit)) at (Position of (Picked unit)) facing Default building facing degrees
Set Dummy = (Last created unit)
Animation - Play Dummy's birth animation
Animation - Change Dummy's animation speed to 300.00% of its original speed
Unit Group - Add (Picked unit) to Unit_Group2
Wait 3.00 seconds
Unit Group - Pick every unit in Unit_Group2 and do (Actions)
Loop - Actions
Unit - Explode Dummy
Unit - Cause (Triggering unit) to damage (Picked unit), dealing 300.00 damage of attack type Spells and damage type Normal
Custom script: call DestroyGroup(udg_Unit_Group)
Custom script: call DestroyGroup(udg_Unit_Group2)