- Joined
- Dec 22, 2010
- Messages
- 16
So once again i was working on a skill for a hero in my AoS map, and it looks like it should work to me, so if anyone can point out what is wrong it would be awesome.
This is the trigger that the hero gets from the passive dummy ability:
This is the trigger that the hero gets from the passive dummy ability:
-
Beacon of Justice
-
Events
- Time - Every (((Real((Level of Beacon of Justice for Judge 0000 <gen>))) + 5.00) - (5.00 x (Real((Level of Beacon of Justice for Judge 0000 <gen>))))) seconds of game time
-
Conditions
- (Level of Beacon of Justice for (Triggering unit)) Greater than 0
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Beacon of Justice for (Triggering unit)) Equal to 1
-
Then - Actions
- Unit - Create 1 dummy unit for (Owner of Judge 0000 <gen>) at (Center of (Playable map area)) facing Default building facing degrees
- Unit - Add Beacon of Justice Damage (Archimonde) to (Last created unit)
- Unit - Set level of Beacon of Justice Damage (Archimonde) for (Last created unit) to (Level of Beacon of Justice for Judge 0000 <gen>)
- Unit - Order (Last created unit) to Special Archimonde - Finger Of Death (Random unit from (Units within 400.00 of (Position of Judge 0000 <gen>)))
- Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Beacon of Justice for (Triggering unit)) Equal to 2
-
Then - Actions
- Unit - Create 1 dummy unit for (Owner of Judge 0000 <gen>) at (Center of (Playable map area)) facing Default building facing degrees
- Unit - Add Beacon of Justice Damage (Archimonde) to (Last created unit)
- Unit - Set level of Beacon of Justice Damage (Archimonde) for (Last created unit) to (Level of Beacon of Justice for Judge 0000 <gen>)
- Unit - Order (Last created unit) to Special Archimonde - Finger Of Death (Random unit from (Units within 400.00 of (Position of Judge 0000 <gen>)))
- Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Beacon of Justice for (Triggering unit)) Equal to 3
-
Then - Actions
- Unit - Create 1 dummy unit for (Owner of Judge 0000 <gen>) at (Center of (Playable map area)) facing Default building facing degrees
- Unit - Add Beacon of Justice Damage (Archimonde) to (Last created unit)
- Unit - Set level of Beacon of Justice Damage (Archimonde) for (Last created unit) to (Level of Beacon of Justice for Judge 0000 <gen>)
- Unit - Order (Last created unit) to Special Archimonde - Finger Of Death (Random unit from (Units within 400.00 of (Position of Judge 0000 <gen>)))
- Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Beacon of Justice for (Triggering unit)) Equal to 4
-
Then - Actions
- Unit - Create 1 dummy unit for (Owner of Judge 0000 <gen>) at (Center of (Playable map area)) facing Default building facing degrees
- Unit - Add Beacon of Justice Damage (Archimonde) to (Last created unit)
- Unit - Set level of Beacon of Justice Damage (Archimonde) for (Last created unit) to (Level of Beacon of Justice for Judge 0000 <gen>)
- Unit - Order (Last created unit) to Special Archimonde - Finger Of Death (Random unit from (Units within 400.00 of (Position of Judge 0000 <gen>)))
- Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
-
Beacon of Justice dmg and heal
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Beacon of Justice Damage (Archimonde)
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Target unit of ability being cast) belongs to an enemy of (Owner of (Triggering unit))) Equal to True
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Beacon of Justice Damage (Archimonde) for (Triggering unit)) Equal to 1
-
Then - Actions
- Special Effect - Create a special effect attached to the origin of (Target unit of ability being cast) using Abilities\Spells\Orc\SpiritLink\SpiritLinkZapTarget.mdl
- Special Effect - Destroy (Last created special effect)
- Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing ((Life of (Target unit of ability being cast)) x 0.01) damage of attack type Chaos and damage type Divine
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Beacon of Justice Damage (Archimonde) for (Triggering unit)) Equal to 2
-
Then - Actions
- Special Effect - Create a special effect attached to the origin of (Target unit of ability being cast) using Abilities\Spells\Orc\SpiritLink\SpiritLinkZapTarget.mdl
- Special Effect - Destroy (Last created special effect)
- Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing ((Life of (Target unit of ability being cast)) x 0.02) damage of attack type Chaos and damage type Divine
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Beacon of Justice Damage (Archimonde) for (Triggering unit)) Equal to 3
-
Then - Actions
- Special Effect - Create a special effect attached to the origin of (Target unit of ability being cast) using Abilities\Spells\Orc\SpiritLink\SpiritLinkZapTarget.mdl
- Special Effect - Destroy (Last created special effect)
- Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing ((Life of (Target unit of ability being cast)) x 0.03) damage of attack type Chaos and damage type Divine
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Beacon of Justice Damage (Archimonde) for (Triggering unit)) Equal to 4
-
Then - Actions
- Special Effect - Create a special effect attached to the origin of (Target unit of ability being cast) using Abilities\Spells\Orc\SpiritLink\SpiritLinkZapTarget.mdl
- Special Effect - Destroy (Last created special effect)
- Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing ((Life of (Target unit of ability being cast)) x 0.04) damage of attack type Chaos and damage type Divine
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Beacon of Justice Damage (Archimonde) for (Triggering unit)) Equal to 1
-
Then - Actions
- Special Effect - Create a special effect attached to the origin of (Target unit of ability being cast) using Abilities\Spells\Orc\SpiritLink\SpiritLinkZapTarget.mdl
- Special Effect - Destroy (Last created special effect)
- Unit - Set life of (Target unit of ability being cast) to ((Life of (Target unit of ability being cast)) + ((Max life of (Target unit of ability being cast)) x 0.01))
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Beacon of Justice Damage (Archimonde) for (Triggering unit)) Equal to 2
-
Then - Actions
- Special Effect - Create a special effect attached to the origin of (Target unit of ability being cast) using Abilities\Spells\Orc\SpiritLink\SpiritLinkZapTarget.mdl
- Special Effect - Destroy (Last created special effect)
- Unit - Set life of (Target unit of ability being cast) to ((Life of (Target unit of ability being cast)) + ((Max life of (Target unit of ability being cast)) x 0.02))
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Beacon of Justice Damage (Archimonde) for (Triggering unit)) Equal to 3
-
Then - Actions
- Special Effect - Create a special effect attached to the origin of (Target unit of ability being cast) using Abilities\Spells\Orc\SpiritLink\SpiritLinkZapTarget.mdl
- Special Effect - Destroy (Last created special effect)
- Unit - Set life of (Target unit of ability being cast) to ((Life of (Target unit of ability being cast)) + ((Max life of (Target unit of ability being cast)) x 0.03))
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Beacon of Justice Damage (Archimonde) for (Triggering unit)) Equal to 4
-
Then - Actions
- Special Effect - Create a special effect attached to the origin of (Target unit of ability being cast) using Abilities\Spells\Orc\SpiritLink\SpiritLinkZapTarget.mdl
- Special Effect - Destroy (Last created special effect)
- Unit - Set life of (Target unit of ability being cast) to ((Life of (Target unit of ability being cast)) + ((Max life of (Target unit of ability being cast)) x 0.04))
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events