• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Help, my spell damages my allies

Status
Not open for further replies.
Level 6
Joined
Aug 31, 2018
Messages
167
Hello, i have 1 question. Why my spell damages myself + my allies? I made the spell to do 0 damage and damaging only enemies but it still damages myself + my allies.

+ How to make the skill to deals 3x str at level 1 and for example 5x at level 2. How can i trigger that?
 

Attachments

  • thunder slap.png
    thunder slap.png
    15.3 KB · Views: 96
Don't use Damage Area, do Damage Target, you need to check whether the target unit of ability being cast is enemy of triggering unit, then damage him.
+ How to make the skill to deals 3x str at level 1 and for example 5x at level 2. How can i trigger that?
check ability level with
  • (Level of Acid Bomb for (Triggering unit)) Equal to 1
and 2, 3 etc.
 
Do this:

  • AoE Spell
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to bomb
    • Actions
      • Unit Group - Pick every unit in (Units within 150.00 of (Position of (Triggering unit)) matching (((Owner of (Matching unit)) Not equal to Player 1 (Red)) and (((Owner of (Matching unit)) Not equal to Player 2 (Blue)) and ((Owner of (Matching unit)) Not equal to Neutral Passive)))) and do (Actions)
        • Loop - Actions
          • Unit - Cause YourUnit to damage (Picked unit), dealing 50.00 damage of attack type Spells and damage type Magic
 
Status
Not open for further replies.
Back
Top