Basically, i want to set up a simple simple spell, that selects all enemy within for example 300 range, and deal damage to them, however i dont want it to damage ally in range, as setting it up as pick in area and deal damage it damages ally and self.
so it something simple i know but it has been 4 years since i map edited
Basically this is how i have it and it works well, but i prefer it not to have invulnerable part, it works perfectly like this but the invul for short time makes enemy run away. this jsut my work around till i figure out fix
so it something simple i know but it has been 4 years since i map edited
Basically this is how i have it and it works well, but i prefer it not to have invulnerable part, it works perfectly like this but the invul for short time makes enemy run away. this jsut my work around till i figure out fix
-
Pulse
-

Events
-


Unit - A unit Begins casting an ability
-
-

Conditions
-

Actions
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




(Unit-type of (Casting unit)) Equal to |cff8000ffMagnus|r
-




(Ability being cast) Equal to |cffff0000P|rulse - (|cffff8080W|r)
-
-



Then - Actions
-




Set PulseCast = (Casting unit)
-




Wait 0.01 seconds
-




Set PulsePoint = (Target point of ability being cast)
-




Wait 0.01 seconds
-




Unit Group - Pick every unit in (Units owned by Player 1 (Red)) and do (Unit - Make (Picked unit) Invulnerable)
-




Unit Group - Pick every unit in (Units owned by Player 2 (Blue)) and do (Unit - Make (Picked unit) Invulnerable)
-




Unit Group - Pick every unit in (Units owned by Player 3 (Teal)) and do (Unit - Make (Picked unit) Invulnerable)
-




Unit Group - Pick every unit in (Units owned by Player 4 (Purple)) and do (Unit - Make (Picked unit) Invulnerable)
-




Unit Group - Pick every unit in (Units owned by Player 5 (Yellow)) and do (Unit - Make (Picked unit) Invulnerable)
-




Wait 0.01 seconds
-




Unit Group - Pick every unit in (Units within 750.00 of PulsePoint) and do (Actions)
-





Loop - Actions
-






Set PulseTarget = (Picked unit)
-






Special Effect - Create a special effect attached to the origin of PulseTarget using war3mapImported\TwilightSparkle.mdx
-






Unit - Cause PulseCast to damage PulseTarget, dealing (5.00 x ((Real((Intelligence of PulseCast (Include bonuses)))) x (Real((Hero level of PulseCast))))) damage of attack type Normal and damage type Normal
-
-
-




Wait 0.01 seconds
-




Unit Group - Pick every unit in (Units owned by Player 1 (Red)) and do (Unit - Make (Picked unit) Vulnerable)
-




Unit Group - Pick every unit in (Units owned by Player 2 (Blue)) and do (Unit - Make (Picked unit) Vulnerable)
-




Unit Group - Pick every unit in (Units owned by Player 3 (Teal)) and do (Unit - Make (Picked unit) Vulnerable)
-




Unit Group - Pick every unit in (Units owned by Player 4 (Purple)) and do (Unit - Make (Picked unit) Vulnerable)
-




Unit Group - Pick every unit in (Units owned by Player 5 (Yellow)) and do (Unit - Make (Picked unit) Vulnerable)
-




Wait 1.00 seconds
-




Special Effect - Create a special effect attached to the origin of PulseCast using war3mapImported\TwilightSparkle_Portrait.mdx
-




Wait 0.10 seconds
-




Unit - Set life of PulseCast to ((Life of PulseCast) + (5.00 x ((Real((Hero level of PulseCast))) x (Real((Intelligence of PulseCast (Include bonuses)))))))
-
-



Else - Actions
-




Do nothing
-
-
-
-
Last edited:






