- Joined
- Feb 25, 2005
- Messages
- 230
I have made my own ability and would like to get some feedback and ideas, and i also got one question.
Here is the ability:
Calls the Gods for aid, repleneshing life of nearby allied units, and damaging enemys.
Level 1 - Damages and heals by 250.
Level 2 - Damages and heals by 400.
Level 3 - Damages and heals by 550.
Its like a "mass-holy light". And i've used this trigger: (the real ability is just a remade berserk, wich triggers it all)
Event: a unit starts the effect of an abiliy
Conditions: Ability being casted equal to Holy Wrath
Actions: Unit Group - Pick every unit in (Units within 500.00 of (Position of (Triggering unit)) matching (((Triggering unit) is A structure) Equal to False)) 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 (Random player from (All allies of (Owner of (Triggering unit))))
Then - Actions
Unit - Set life of (Picked unit) to ((Life of (Picked unit)) + holywrath_damage)
Special Effect - Create a special effect attached to the overhead of (Picked unit) using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
Else - Actions
Unit - Order (Triggering unit) to damage (Picked unit) for holywrath_damage using attack type Spells and damage type Normal.
Special Effect - Create a special effect attached to the overhead of (Picked unit) using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
The "Holywrath_damage" is of course a variable. . .
This trigger works perfect, though i really dont know how it can. In this case both the "Then - Actions" and the "Else - Actions" is used. How can that be true? So the simple question is: When does the editor use both "then" and "else" actions, and when doesnt it.
I would love a rating on the spell while ure in it
Here is the ability:
Calls the Gods for aid, repleneshing life of nearby allied units, and damaging enemys.
Level 1 - Damages and heals by 250.
Level 2 - Damages and heals by 400.
Level 3 - Damages and heals by 550.
Its like a "mass-holy light". And i've used this trigger: (the real ability is just a remade berserk, wich triggers it all)
Event: a unit starts the effect of an abiliy
Conditions: Ability being casted equal to Holy Wrath
Actions: Unit Group - Pick every unit in (Units within 500.00 of (Position of (Triggering unit)) matching (((Triggering unit) is A structure) Equal to False)) 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 (Random player from (All allies of (Owner of (Triggering unit))))
Then - Actions
Unit - Set life of (Picked unit) to ((Life of (Picked unit)) + holywrath_damage)
Special Effect - Create a special effect attached to the overhead of (Picked unit) using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
Else - Actions
Unit - Order (Triggering unit) to damage (Picked unit) for holywrath_damage using attack type Spells and damage type Normal.
Special Effect - Create a special effect attached to the overhead of (Picked unit) using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
The "Holywrath_damage" is of course a variable. . .
This trigger works perfect, though i really dont know how it can. In this case both the "Then - Actions" and the "Else - Actions" is used. How can that be true? So the simple question is: When does the editor use both "then" and "else" actions, and when doesnt it.
I would love a rating on the spell while ure in it