• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

Adding Locust to Illusion

Status
Not open for further replies.
Level 3
Joined
Jun 17, 2015
Messages
53
Solved, here's my triggers of the type of Locust Illusion


  • Frostmourne
    • Events
      • Game - GDD_Event becomes Equal to 0.00
    • Conditions
      • GDD_Damage Greater than (>) 3.00
      • (GDD_DamagedUnit has buff ATTACK NORMAL ) Equal to (==) True
      • (Level of Frostmourne for GDD_DamageSource) Greater than (>) 0
    • Actions
      • Set Frostmourne_Owner = GDD_DamageSource
      • Set Frostmourne_Hit = GDD_DamagedUnit
        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Random percentage) Less than or equal to (<=) (((Real((Level of Frostmourne for Frostmourne_Owner))) x 5.00) + 10.00)
          • Then - Actions
            • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • ((Frostmourne_Hit is A structure) Not equal to (!=) True) and ((((Unit-type of Frostmourne_Hit) Not equal to (!=) Outland King) and ((Unit-type of Frostmourne_Hit) Not equal to (!=) Forgotten One)) and ((Frostmourne_Hit belongs to an enemy of (Owner of Frostmourne_Owner)) Equal to (==) True))
              • Then - Actions
                • Set Frostmourne_Loc = (Position of Frostmourne_Hit)
                • -------- CAST SLOW --------
                • Unit - Create 1 Craggy Exterior Dummy for (Owner of Frostmourne_Owner) at Frostmourne_Loc facing Default building facing (270.0) degrees
                • Unit - Add a 0.50 second Generic expiration timer to (Last created unit)
                • Unit - Add Frostmourne [Slow] to (Last created unit)
                • Unit - Order (Last created unit) to Human Sorceress - Slow Frostmourne_Hit
                • -------- CREATE ILLUSION --------
                • Unit - Create 1 Craggy Exterior Dummy for (Owner of Frostmourne_Owner) at Frostmourne_Loc facing Default building facing (270.0) degrees
                • Unit - Add a 0.50 second Generic expiration timer to (Last created unit)
                • Item - Create Frostmourne Item at Frostmourne_Loc
                • Hero - Give (Last created item) to (Last created unit)
                • Item - Set charges remaining in (Last created item) to 1
                • Unit - Set level of Frostmourne Illusion for (Last created unit) to (Level of Frostmourne for Frostmourne_Owner)
                • Hero - Order (Last created unit) to use (Last created item) on Frostmourne_Hit
                • Custom script: call RemoveLocation(udg_Frostmourne_Loc)
              • Else - Actions
          • Else - Actions
      • Trigger - Turn off (This trigger)
      • Wait 0.50 seconds
      • Trigger - Turn on (This trigger)
  • Frostmourne Illusion
    • Events
      • Unit - A unit enters (Playable map area)
    • Conditions
      • (((Entering unit) is an illusion) Equal to (==) True) and (((Entering unit) is owned by (Owner of Frostmourne_Owner)) Equal to (==) True)
      • (Unit-type of (Entering unit)) Equal to (==) (Unit-type of Frostmourne_Hit)
    • Actions
      • Unit - Add Locust to (Entering unit)
      • Unit - Add Item MS Bonus (522) to (Entering unit)
      • Unit - Order (Entering unit) to Attack Frostmourne_Hit
 
Last edited:
Status
Not open for further replies.
Top