• 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.

2 quick questions on my spell

Status
Not open for further replies.
Level 9
Joined
Oct 28, 2004
Messages
533
1.How do i make it so the trigger recognizes what the level of the ability is
2.How do i make it so that the ability DOESNT afect allies

My ability:
Code:
Events
    Unit - A unit Starts the effect of an ability
Conditions
    (Ability being cast) Equal to Virulence AOE
Actions
    Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
        Loop - Actions
            Unit - Set life of (Picked unit) to ((Life of (Picked unit)) - 100.00)
 
Level 6
Joined
Feb 4, 2005
Messages
302
1. If {This is an integer}Level of Ability for (casting unit) = 1

Go look for that action or something similar.

2. Use the condition. I believe it's under one of the player comparisons. "Picked unit belongs to an ally of (Owner of (casting unit))

Please note that I am taking all these off my head, WE is not open, but I'm quite sure.
 
Level 9
Joined
Oct 28, 2004
Messages
533
Thanks, it took a few minutes to find the 1st trigger, and i decided not to use the not-affect allies, it balances the ability out i think....
 
Status
Not open for further replies.
Top