• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Mirror Image debuff problem

Status
Not open for further replies.
Level 3
Joined
Jan 29, 2017
Messages
29
Hey guys, just wanna know, is there anyway I can make Mirror Image spell to only purge negative buffs and keep positive buffs intact?
 
You can probably try something like this :
  • Trigger
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Miroir Image
      • ((Casting unit) has buff Inner Fire) Equall to TRUE
    • Actions
      • Wait 0.50 seconds
      • Set Loc = (Position of (Casting unit))
      • Unit - Create 1 DUMMY for (Owner of (Casting unit)) at Loc facing 0.00 degrees
      • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
      • Unit - Add Inner Fire to (Last created unit)
      • Unit - Order (Last created unit) to Humain Priest - Inner Fire (Casting unit)
      • Custom script: call RemoveLocation( udg_Loc)
 
Ok i got it, so i need to make a trigger for every kind of buffs, never thought of it before, haha. Good idea mate, i should try it, thanks btw
 
Status
Not open for further replies.
Back
Top