• 🏆 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!

a small problem with a spell

Status
Not open for further replies.
Level 13
Joined
Mar 14, 2008
Messages
848
  • Mass Firebolt Spell
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Element Fire : Firebolt (Neutral Hostile)
    • Actions
      • Set TempReal = (Real((Intelligence of (Triggering unit) (Include bonuses))))
      • Unit - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 600.00 at (Position of (Target unit of ability being cast)), dealing 250.00 damage of attack type Spells and damage type Normal
It works fine , but i damages friendly units , as well as the caster , and the buildings in that area also . How can I make it so that it only damages enemy units or heroes ?
 
Last edited by a moderator:
Status
Not open for further replies.
Top