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

Need help with abilities

Status
Not open for further replies.
Level 1
Joined
May 18, 2009
Messages
1
Yo everyone

Im new to world editor, so i dont know that much about making advance abilities and crap.

Can any1 tell me how to make a counter ability? (i.e when some1 attacks the hero, they attack them back?

or

How to make a passive hero ability with several buffs (i.e a skill which gives the hero armour bonus and thorns)

cheers
 
Level 10
Joined
Jul 22, 2007
Messages
261
  • Counter
    • Events
      • Unit - A unit Is attacked
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Counter for (Triggering unit)) Equal to 1
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Random integer number between 1 and 100) Less than or equal to 25
            • Then - Actions
              • Animation - Play (Triggering unit)'s attack animation
              • Special Effect - Create a special effect attached to the chest of (Attacking unit) using Abilities\Spells\Orc\Disenchant\DisenchantSpecialArt.mdl
              • Unit - Cause (Triggering unit) to damage (Attacking unit), dealing ((Real((Level of Counter for (Triggering unit)))) x 20.00) damage of attack type Chaos and damage type Normal
            • Else - Actions
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Level of Counter for (Triggering unit)) Equal to 2
            • Then - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Random integer number between 1 and 100) Less than or equal to 50
                • Then - Actions
                  • Animation - Play (Triggering unit)'s attack animation
                  • Special Effect - Create a special effect attached to the chest of (Attacking unit) using Abilities\Spells\Orc\Disenchant\DisenchantSpecialArt.mdl
                  • Unit - Cause (Triggering unit) to damage (Attacking unit), dealing ((Real((Level of Counter for (Triggering unit)))) x 20.00) damage of attack type Chaos and damage type Normal
                • Else - Actions
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Level of Counter for (Triggering unit)) Equal to 3
                • Then - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • (Random integer number between 1 and 100) Less than or equal to 75
                    • Then - Actions
                      • Animation - Play (Triggering unit)'s attack animation
                      • Special Effect - Create a special effect attached to the chest of (Attacking unit) using Abilities\Spells\Orc\Disenchant\DisenchantSpecialArt.mdl
                      • Unit - Cause (Triggering unit) to damage (Attacking unit), dealing ((Real((Level of Counter for (Triggering unit)))) x 20.00) damage of attack type Chaos and damage type Normal
                    • Else - Actions
                • Else - Actions
Theres your counter spell if you want it, It will deal (level of Counter X 20) with this trigger and you can change the special effect if you want, same with the % to counter :grin:

Dont bug me with the size ..... XD
 
Last edited:
Status
Not open for further replies.
Top