• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

AoE Dmg with Phoenix fire

Status
Not open for further replies.
Level 2
Joined
Apr 6, 2007
Messages
7
Hi

I want to create a unit which can attack even while running away.
I did this succesfuly with the Phoenix Fire skill, but now i got a problem:

The unit is firering explosives, but i cant get Phoenix fire to make any AoE dmg.

If anyone knows how to add an AoE dmg to Phf or has any other solution for my problem plz tell me.

Thank you very much in advance :)
 
Level 9
Joined
Jul 27, 2006
Messages
652
Um

This is probably a worthless post, but dont most spells have an AoE option in the ability data? Iv seen it in almost every arcane style ability?
If not i would suggest that you trigger the units attack, since phf is not an attack so you cant add cleave ect.
Cast a dummy ability with AoE damage and misile art (i think fireblast has AoE?) on a random nearby unit every x seconds.
 
You could pick every unit in range and cast an ability like Kixer said:
  • Trigger
  • Events:
  • Conditions:
  • Actions:
  • Set CasterLoc = (Position of (Triggering Unit))
  • Set AoERange = (Units within 512.00 range of (CasterLoc))
  • Unit - Create 1 (Dummy Unit) at (CasterLoc) for (Owner of (Triggering Unit)) facing (Default Building Facing Degrees)
  • Set DumDum[1] = (Last Created Unit)
  • Unit - Add a 1.50 second Generic expiration timer to (DumDum[1])
  • Unit Group - Pick every unit in (AoERange) and do (Actions)
    • Loop Actions:
      • For Each (Integer A) from 1 to (Number of Units in (AoERange)) do (Actions)
        • Loop Actions:
          • Unit - Order (DumDum[1]) to <Dummy AoE Ability ID> (Units in (AoERange))
  • Custom Script: call RemoveLocation( udg_CasterLoc )
  • Custom Script: call DestroyGroup( udg_AoERange )
Something like that... I hope this helps! :grin:
 
Level 9
Joined
Jul 27, 2006
Messages
652
Two things

Two things :
1. Phonix fire only hits one unit at a time.
2. Do not destroy a global group, us call ClearGroup(udg_group) (or call GroupClear()...Its one of those 2)
And by the way keep up the good work, you seem very commited to helping others!
 
Status
Not open for further replies.
Top