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

How to make AOE skill deal damage only to enemies?

Status
Not open for further replies.
Level 5
Joined
Jan 5, 2012
Messages
116
Hello! I need to make a spell that deals damage in a 300 AOE when it is cast, but when I trigger it, it doesn't let me put enemies of player so everyone gets damaged by it.
Btw, the spell is channeling and after the first amount of damage, it deals damage per second.
 
Level 5
Joined
Jan 5, 2012
Messages
116
So, it should be like that? :
  • Unit Group - Pick every unit in (Units within 300.00 of BH_Point matching ((Owner of (Matching unit)) Equal to Player 7 (Green))) and do (Unit - Cause (Triggering unit) to damage (Picked unit), dealing 100.00 damage of attack type Spells and damage type Magic)
 
Last edited:
Status
Not open for further replies.
Top