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

[Solved] Counterattack Spell

Status
Not open for further replies.
Level 3
Joined
Oct 20, 2011
Messages
26
I want to make a spell named Counterattack, and make it work without vJass or any helping programs(wc3 editor alone):

I want it to be like this:

Event:
A unit being attacked

Conditions:
Attacked unit equal to blademaster

Actions:
(i dont know what to do here. But i know what i want it to do!)
Pick every unit in 400 range of position of blademaster
17% chance - Cause blademaster to damage picked units 100 damage after 0 seconds with attack type spell and normal.


Any ideas..?

I REALLY NEED THIS TO MY RPG MAP!!! :goblin_cry:
 
  • If (All conditions are true) then do (Actions) else do (Actions)
    • If - Conditions
      • (Random integer number between 1 and 100) Less than or Equal to 17
    • Then - Actions
      • Set Point1 = (Position of (Triggering unit))
      • Custom script: set bj_wantDestroyGroup = true
      • Unit Group - Pick every unit in (Units within 400.00 of Point1 matching (....)) and do (Actions)
        • Loop - Actions
          • Unit - Cause (Triggering unit) to damage (Picked unit) dealing 100.00 damage of attack type Normal and damage type Normal
      • Custom sctip: call RemoveLocation (udg_Point1)
    • Else - Actions
 
Level 3
Joined
Oct 20, 2011
Messages
26
Thank you very very VERY much..!

+rep

Edit: I want to ask something more if that's okay:

How to make unit turning around like blademaster does when he using ultimate? :)
 
Last edited by a moderator:
Status
Not open for further replies.
Top