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

Debuff-stacking

Status
Not open for further replies.
Level 2
Joined
Jan 26, 2009
Messages
13
Hey there, in my map I have a passive ability that gives a chance to slow the target with each attack. I want to make it so that it additively decreases the target's speed with each proc but i'm not sure how to do that. Anybody able to help? GUI please, I don't know JASS.
 
Not needed that much trigger you go to object editor => Abilities => Orcs => Units => Envoriment spears or something then u change everything and allow stacking.
  • Slow stack
  • Event - Unit is attacked
  • Condition - Attacking unit equal to (Your unit)
  • Action - set IntegerVar = Math - Random number between 1 and 10
  • If then else
    • if - integervar equal to 1 then
      • then set Loc = Position of attacking unit
        • create 1 dummy for owner of attacking unit at Loc facing defeault degress
      • order last created unit to orc - envoirment attacked unit.
      • add 1 to last created unit expiration timer
      • call RemoveLocation(udg_Loc)
 
Status
Not open for further replies.
Back
Top