• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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