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

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