AOE Mana Burn

mirrorman1de

Cool Member
Reaction score
4
Hi,
has anyone an idea how to realize a spell that creates an area of effect in which each enemy is burned für 10/20/30 mana every second? multiple of these areas may exist.
thx
 

Azlier

Old World Ghost
Reaction score
461
Yes. Base an ability off of channel, edit it to target a point and such, and create dummies to cast Mana Burn on all enemies in range. Yes, you do need a trigger.
 

BRUTAL

I'm working
Reaction score
118
Trigger:
  • Untitled Trigger 002
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • Set UG = (Units within 500.00 of (Your Location)
      • Unit Group - Pick every unit in UG and do (Actions)
        • Loop - Actions
          • Unit - Set mana of (Picked unit) to ((Mana of (Picked unit)) - (10.00 x [Level of an ability i assume?]))
      • Custom script: call DestroyGroup (udg_UG)


something like that would work
 

D.V.D

Make a wish
Reaction score
73
Event is bad but it's just a example. You might want to add the loop because this works only once. Add this action and put all the others under unit group below it:
Trigger:
  • For loop integer A do 1 to level of ability for triggering unit * 2 actions
 

mirrorman1de

Cool Member
Reaction score
4
ya, these also where my first ideas, but i wanted to know if there is a more elegant way to solve it. burn by dummies it shall be ...
 

warroom99

New Member
Reaction score
15
that could be a bit laggy,
Code:
E - every 1 sec of game time
c - 
a -Set UG = (Units within 500.00 of (Your Locations) matching conditions(picked unit is an enemy of mana burner and picked unit is not in UG)
   - Unit Group - Pick every unit in UG and do (Actions)
        - set point = position of manaburner
        - ser point2 = position of picked unit
        - create 1 dummy at point for the owner of manaburner facing degrees
        - add 1 sec expiration timer 
        - add mana burn to last created unit
        - set level of manaburn to (level if manaburn of manaburner)
        - order last created unit to manaburn picked unit
        - remove picked unit form UG
tada!! hehehe just remove leaks
 

XeNiM666

I lurk for pizza
Reaction score
138
pick every unit within range of target loc
create dummy unit on caster position
add mana burn dummy
set level of nama burn dummy for last created unit to level of mana burn of Triggering unit
order last created unit to night elf - mana burn picked unit

make sure that the mana burn dummy skill has a 99999 casting range
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top