Unit - A unit Starts the effect of an ability
(Ability being cast) Equal to Reinforce Barrel
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Destructible-type of (Target destructible of ability being cast)) Equal to Barrel 1
Then - Actions
Destructible - Remove (Target destructible of ability being cast)
Destructible - Create a Barrel 2 at (Position of (Target destructible of ability being cast)) facing (Random angle) with scale 1.25 and variation 0
Else - Actions
Do nothing
thats my trigger, and if i did something terrible wrong so you dont understand it: i want a unit to cast an ability, the destructible its cast on gets removed, and spawns another destructible (its kinda like upgrading, cus the destructibles are basically your defense)
(Ability being cast) Equal to Reinforce Barrel
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Destructible-type of (Target destructible of ability being cast)) Equal to Barrel 1
Then - Actions
Destructible - Remove (Target destructible of ability being cast)
Destructible - Create a Barrel 2 at (Position of (Target destructible of ability being cast)) facing (Random angle) with scale 1.25 and variation 0
Else - Actions
Do nothing
thats my trigger, and if i did something terrible wrong so you dont understand it: i want a unit to cast an ability, the destructible its cast on gets removed, and spawns another destructible (its kinda like upgrading, cus the destructibles are basically your defense)