- Joined
- Sep 6, 2015
- Messages
- 576
Since recently the triggers "Copied As Text" from the World Editor and put into ["trigger"]["/trigger"] tags don't appear indented for me in my posts as they should and like they appear in the editor, but they appear like this:
Instead of like this:
Untitled Trigger 001
Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to Firebolt (Neutral Hostile) Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Distance between (Position of (Triggering unit)) and (Position of (Target unit of ability being cast))) Greater than or equal to 600.00 Then - Actions Wait 0.40 seconds Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing (50.00 + (3.20 x (Real((Intelligence of Blood Mage 0000 <gen> (Include bonuses)))))) damage of attack type Spells and damage type Normal Else - Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Distance between (Position of (Triggering unit)) and (Position of (Target unit of ability being cast))) Greater than or equal to 400.00 Then - Actions Wait 0.30 seconds Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing (50.00 + (3.20 x (Real((Intelligence of Blood Mage 0000 <gen> (Include bonuses)))))) damage of attack type Spells and damage type Normal Else - Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Distance between (Position of (Triggering unit)) and (Position of (Target unit of ability being cast))) Greater than or equal to 200.00 Then - Actions Wait 0.20 seconds Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing (50.00 + (3.20 x (Real((Intelligence of Blood Mage 0000 <gen> (Include bonuses)))))) damage of attack type Spells and damage type Normal Else - Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Distance between (Position of (Triggering unit)) and (Position of (Target unit of ability being cast))) Greater than or equal to 0.00 Then - Actions Wait 0.10 seconds Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing (50.00 + (3.20 x (Real((Intelligence of Blood Mage 0000 <gen> (Include bonuses)))))) damage of attack type Spells and damage type Normal Else - Actions
So, my guess is that it's either because of the new Hive or because of the patch 1.27a, or maybe because of something else.
Regrow Trees
Events
Unit - A unit Starts the effect of an ability Conditions
(Ability being cast) Equal to Regrow Trees Actions
Destructible - Pick every destructible within 300.00 of (Target point of ability being cast) and do (If (((Picked destructible) is dead) Equal to True) then do (Destructible - Set life of (Picked destructible) to 30.00) else do (Do nothing))