| 04-28-2004, 07:36 PM | #1 |
how do i do so Holy Light have AOE effect? |
| 04-28-2004, 08:18 PM | #2 |
Events Unit finishes casting an ability Conditions Ability being cast == Holy Light Actions Pick every unit within XX distance of (target unit of ability being cast) and do --Set unit property (life) of picked unit to life of picked unit + HealAmount[playernumber of (owner of (casting unit))] HealAmount will be a real variable that you will set when the unit learns the ability. Events A unit learns an ability Conditions Ability being learned == holy light Actions Set Heal[playernumber of (owner of (learning hero))] = Heal[playernumber of (owner of (learning hero))] + whatever |
| 04-29-2004, 05:36 AM | #3 |
but i want it to bee a..dont remember the word..but like Blizzard...there is a ring that shows how long the range is...how do i do so the spell have that? |
| 04-29-2004, 05:38 AM | #4 |
of course this means it wont have the UD damaging effect. |
| 04-30-2004, 11:37 AM | #5 |
To do that, you can make an abillity based of the dark rangers silence abillity, that does nothing. Give the spell to your hero and change the condition of the trigger that ThyFlame posted to your custom abillity instead of holy light. |
| 04-30-2004, 04:46 PM | #6 |
Unit - Generic Unit Event: Unit begins casting ability Ability Comparisen Ability being cast equals to Holy Light AoE Pick all units in X range of casting unit If picked unit is equal to ally If (Boolean comparisen) unit is not undead Then Set life of picked unit to life of picked unit + 200 x level of ability for casting unit Else If (boolean) unit is undead If picked unit is not equal to ally Then Set life of picked unit to life of picked unit - 100 x level of ability for casting unit Else do nonthing I just typed this quickly, I think it will work. |
| 04-30-2004, 04:54 PM | #7 |
But you won't get experience if you just set the life of the picked unit, so a dummy unit is needed to give the finishing blow if the unit won't survive the spell. (Check the dummies tutorial on my site for more info) |
| 04-30-2004, 06:58 PM | #8 |
Everything so difficult.If (boolean) unit is undead If --picked unit is not equal to ally Then --if ----picked units hp > 200 --then ----Set life of picked unit to life of picked unit - 100 x level of ability for casting unit --else ----Create 1 dummy unit [modify all the fields like backswing and projectile speed to make it attack as fast as possible; damage of dummy unit = high enough to 1 hit kill the unit ----set animation - vertex coloring to 100% 100% 100% with 100% transparency ----Order last created unit to attack picked unit A unit is attacked Attacking unit == dummy-unit Remove attacking into from the game. [I believe a unit is attacked fires after the unit is hit.] |
| 04-30-2004, 09:02 PM | #9 |
Here's a map done by a good guy named Kolibri. This has aoe entangling roots and aoe storm bolt as examples on how to make aoe single target abilities. |
