• 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.

Attack Spell

Status
Not open for further replies.
Level 1
Joined
Aug 7, 2008
Messages
2
So I need help creating a spell that just does damage to an are in front of the character.

But I need it to be like click the spell and it does damage infront of the character so no targetable spells in other words. I just need to know how, or what spell to edit in order to make this work.

Thanks in advance,

ccoa
 
Level 28
Joined
Mar 25, 2008
Messages
2,955
  • Events
    • Unit - A unit starts the effect of an ability
  • Conditions
    • Ability being cast equal to *your ability*
  • Actions
    • Set temppoint = (Position of (Tiggering Unit))
    • Unit - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 256.00 at (temppoint offset by 256.00 towards (Facing of (Triggering Unit)) degrees), dealing 100.00 damage of attack type Spells and damage type Normal
    • Custom script: call RemoveLocation(udg_temppoint)
Be sure to adjust the respective values as the radius, the offset, damage type/amount and attack type
 
Level 28
Joined
Mar 25, 2008
Messages
2,955
  • Set temppoint = (Position of (Tiggering Unit))
  • Set temppoint2 = temppoint offset by 256.00 towards (Facing of (Triggering Unit)) degrees
  • Unit - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 256.00 at temppoint2, dealing 100.00 damage of attack type Spells and damage type Normal
  • Custom script: call RemoveLocation(udg_temppoint)
  • Custom script: call RemoveLocation(udg_temppoint2)
thanks poot i forgot >.<
 
Status
Not open for further replies.
Top