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

[Solved] Attack debuf??????

Status
Not open for further replies.
Level 7
Joined
May 18, 2010
Messages
264
A simple trigger debuff
  • HammerTrow
    • Events
      • Unit - A unit Finishes casting an ability
    • Conditions
      • (Ability being cast) Equal to |cff3399ffHammer Trow|r
      • ((Triggering unit) is A Hero) Equal to True
    • Actions
      • uhm i got dummy unit but what spell can debuff ? or how
EDIT
would this trigger work with 2 players?
  • Holly Blessing
    • Events
      • Unit - A unit Finishes casting an ability
    • Conditions
      • (Ability being cast) Equal to |cfff0e68cHolly blessing|r
      • ((Triggering unit) is A Hero) Equal to True
    • Actions
      • Set HollyblessHP = (Integer((Life of (Triggering unit))))
      • Unit - Set life of (Triggering unit) to ((Real(HollyblessHP)) x 1.50)
      • Wait 20.00 seconds
      • Set HollyblessHPafter = (Integer((Life of (Triggering unit))))
      • Unit - Set life of (Triggering unit) to ((Real(HollyblessHPafter)) - ((Real(HollyblessHP)) / 1.50))
 
That is not MUI. To make it MUI, use array variables
E.g. Set HollyBlessHP[player number of (owner of (triggering unit))= blah blah
Also, triggering unit in this trigger is the casting unit. Revise your trigger with this in your mind.
 
That is not MUI. To make it MUI, use array variables
E.g. Set HollyBlessHP[player number of (owner of (triggering unit))= blah blah
Also, triggering unit in this trigger is the casting unit. Revise your trigger with this in your mind.

Well im realy new with those +i dont know what or where they are but Thx
 
There are 3 actions that can be done related to Buff-removal
  • Then - Actions
    • Unit - Remove All buffs from (Triggering unit)
    • Unit - Remove All buffs considered Magic or physical from (Triggering unit) (Include expiration timers, Include auras)
    • Unit - Remove Acid Bomb buff from (Triggering unit)
Each belong to Action "Remove Buffs", "Remove Buffs By Type" and "Remove Specific Buff" each respectively in Unit Action
 
There are 3 actions that can be done related to Buff-removal
  • Then - Actions
    • Unit - Remove All buffs from (Triggering unit)
    • Unit - Remove All buffs considered Magic or physical from (Triggering unit) (Include expiration timers, Include auras)
    • Unit - Remove Acid Bomb buff from (Triggering unit)
Each belong to Action "Remove Buffs", "Remove Buffs By Type" and "Remove Specific Buff" each respectively in Unit Action

I need to add buff ( that is negative ) like -50% dmg not remove it ...
i figured that i need a dummy unit for targetunit and cast it to the player
*when my hero cast the hammer spell he get -50^dmg cuz he lose his hammer*

CLOSED CLOSED CLOSED CLOSED CLOSED
 
Status
Not open for further replies.
Back
Top