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

[Trigger] After effects of a ability use

Status
Not open for further replies.
Level 1
Joined
Jun 21, 2009
Messages
282
Okay, heres my next trigger request

Once the warden uses Shadowstrike on an enemy unit, 4 seconds after the abilitys been cast then make the casting units movement and attack speed decrease by 50 for 6 seconds, also during the 6 seconds the caster will be inflicted with 150 damage every 1 seconds, 800 damage total, aswell as decrease the casting units vision by 20 (permanently, doesnt regain the vison back),

Please and thanks =)

Rep +
 
Level 6
Joined
Oct 10, 2009
Messages
1,426
Just for future reference,
The Triggers & Scripts forum is used only for help with EXISTING SCRIPTS!
The World Editor Help Zone is used for requests and the like.

About your request, good lord.
That would be really annoying to code.
Whoever does this, I'll give you rep too for being so helpful.
 
Level 37
Joined
Mar 6, 2006
Messages
9,243
Let me know what you think of this. Changing unit's vision is not possible.

  • Untitled Trigger 022
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Shadow Strike
    • Actions
      • Unit Group - Add (Triggering unit) to Group
      • Wait 4.00 seconds
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Triggering unit) is in Group) Equal to True
        • Then - Actions
          • Unit - Add Spell Book - (after effect) to (Triggering unit)
          • Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) - 150.00)
        • Else - Actions
          • Skip remaining actions
      • Wait 1.00 seconds
      • If (((Triggering unit) is in Group) Equal to False) then do (Skip remaining actions) else do (Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) - 150.00))
      • Wait 1.00 seconds
      • If (((Triggering unit) is in Group) Equal to False) then do (Skip remaining actions) else do (Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) - 150.00))
      • Wait 1.00 seconds
      • If (((Triggering unit) is in Group) Equal to False) then do (Skip remaining actions) else do (Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) - 150.00))
      • Wait 1.00 seconds
      • If (((Triggering unit) is in Group) Equal to False) then do (Skip remaining actions) else do (Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) - 150.00))
      • Wait 1.00 seconds
      • If (((Triggering unit) is in Group) Equal to False) then do (Skip remaining actions) else do (Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) - 150.00))
      • Unit - Remove Spell Book - (after effect) from (Triggering unit)
      • Unit Group - Remove (Triggering unit) from Group
  • Untitled Trigger 001
    • Events
      • Unit - A unit Dies
    • Conditions
    • Actions
      • Unit - Remove Spell Book - (after effect) from (Triggering unit)
      • Unit Group - Remove (Triggering unit) from Group
This might bug if you cast it with the same unit while the debuff is still in action.
 

Attachments

  • Hrrgh.w3x
    18.3 KB · Views: 41
Status
Not open for further replies.
Top