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

[Trigger] 2 triggers 1 cup...

Status
Not open for further replies.
Level 7
Joined
Dec 8, 2008
Messages
243
Er, if you were expecting cup then you have my apologies.

  • Red Soul
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Owner of (Triggering unit)) Equal to Player 1 (Red)
      • ((Triggering unit) is A Hero) Equal to True
    • Actions
      • Set DyingHero[1] = (Dying unit)
      • Item - Create Heroic Soul at (Position of (Triggering unit))
      • Set Player_SoulStone[1] = (Last dropped item)
  • Paladins Ressurection
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Resurrection
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Player_SoulStone[1] Equal to (Target item of ability being cast)
        • Then - Actions
          • Hero - Instantly revive DyingHero[1] at (Position of (Triggering unit)), Show revival graphics
          • Item - Remove Player_SoulStone[1]
        • Else - Actions
          • Do nothing
So, yeah. Been at this all last night and most of today. As always, help appreciated.
 
Status
Not open for further replies.
Top