• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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