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

Dummy - Thunderclap on building

Status
Not open for further replies.
Level 16
Joined
May 1, 2008
Messages
1,605
Seas =)

I got a little problem - the plan: If the Ogre Lord is attacked, there's a 5% change to create one Dummy with Thunderclap. (Its a TD btw)

Thunderclap: 1 damage / atkspeed slowed 20% / targets: Structure / AOE: 700

  • AbilitiesIfCreepAttacked
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • (Unit-type of (Attacked unit)) Equal to Creep 24 - Ogre Lord
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Random integer number between 1 and 100) Greater than or equal to 95
        • Then - Actions
          • Unit - Create 1 Dummy: Creep 24 - Ogre Lord for (Owner of (Attacked unit)) at (Position of (Attacked unit)) facing Default building facing degrees
          • Unit - Order (Last created unit) to Human Mountain King - Thunder Clap
          • Unit - Add a 2.00 second Water Elemental expiration timer to (Last created unit)
        • Else - Actions
I use this trigger for summoning dummy and cast. The dummy cast the ability, but it has no effects on the Structures (Towers) - whats the fault here =O
 
Level 19
Joined
Oct 15, 2008
Messages
3,231
Yes, put a tick inside the Object Editor where you can edit spells to affect other stuff like Buildings too...
 
Status
Not open for further replies.
Top