Noob Question about a spell

jayhant

New Member
Reaction score
0
My first post, I've been looking for quite some time for a certain custom spell.

The spell would use the firebolt spell as a base (I Think).

The unit would have the ability and could fire infinite firebolts at randomly chosen enemies that are nearby. Basically it allows them to shoot at enemies whilst moving.

Could anyone show me how to do it or perhaps a link?
 

Baby-Bever

Cool Member
Reaction score
11
Sounds to me as if you're looking for a version of Pheonix Fire.

Phoenix Fire will stream fire to enemies in range every timeinterval.

Is it what you're looking for?
 

Cookiemaster

New Member
Reaction score
36
"Phoenix Fire".

It shoots a bullet to a random target in x range every x seconds, dealing x damage and x damage per second over x seconds.


If you want the ability to be able to fire at multiple targets at once, you could just give the unit the ability multiple times. Due to only being able to have the damage over time debuff once at a time, having multiple of the ability doesn't make you attack more often to one target.
 

Nenad

~Choco Coronet~ Omnomnom
Reaction score
137
Welcome to the Forums! x)

The way i would do it is make an aura spell (a neat base is defiance aura) so you have a buff at all times. Then you make a trigger that's something like this (It's freehand so not exactly like editor would be ^^ )

Trigger:
  • Events - Every 1 second of the Game
    • Conditions
    • Actions - Set TempGroup = (Units in Playable map area Matching (Matching unit has (the defiance aura buff) equal to true)
    • Unit Group - Pick every unit in temp group and do actions
    • Loop Actions
    • Set TempPoint = Position of (picked unit)
    • Set TempGroup2 = (Units within 600 range of picked unit Matching (Matching unit is alive) equal to true and (matching unit is an enemy of picked unit) equal to true)
      • Pick every unit in TempGroup2and do actions
        • Loop Actions
          • Create 1 dummy for owner of (picked unit) at TempPoint
          • Add a 2 second generic expiration timer to last created unit
          • Add fireball to last created unit
          • Order last created unit to Neutral - Fireball
    • Custom Script call RemoveLocation(udg_TempPoint)
    • Call DestroyGroup(udg_TempGroup2)
    • Out of loop now
    • Call DestroyGroup(udg_TempGroup)


It may be a bit confusing so ask if you're unsure ^^
 

HeX.16

Isn't Trollin You Right Now
Reaction score
131
Oi Oi.
That wont work look at the creation of the dummies it cant be "picked unit"
 

canons200

New Member
Reaction score
50
set the locust dummy to variable. then use variable to order dummy to do action. in that way sure work. i use it many time
 

Baby-Bever

Cool Member
Reaction score
11
Or one just bases it of "Pheonix Fire", as stated twice above. As Cookie stated, it's true that it will not shoot on people who has the dot on them, however setting the Duration for the spell to 0.01 would allow it shooting almost always.

There's no need to use a trigger for this, atleast not from my viewpoint.
 

Baby-Bever

Cool Member
Reaction score
11
It's the skill the Blood Mage summon skill: Pheonix has. As such if you don't have the expansion it'll problary not exist either.

Default tooltip:

Apxf
"Phoenix Fire"
"Fires down streams of flame, lighting nearby enemies on fire."
 
General chit-chat
Help Users

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top