• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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))
 
Level 5
Joined
Nov 30, 2010
Messages
184
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.
 
Level 7
Joined
May 18, 2010
Messages
264
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
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
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
 
Level 7
Joined
May 18, 2010
Messages
264
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.
Top