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

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?
 
Level 30
Joined
Feb 18, 2014
Messages
3,623
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)
 
Level 3
Joined
Jan 29, 2017
Messages
29
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.
Top