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

Ability Question

Status
Not open for further replies.
Level 8
Joined
Jan 8, 2010
Messages
493
or you can make a trigger that makes it so that the level of the Item Attack Corruption Bonus increases so the armor penalty also increases. and reset the level if the Hero attacking it changes targets.

  • Untitled Trigger 001
  • Events
    • Unit - A unit Is attacked
  • Conditions
    • (Attacking unit) Equal to HeroWithArmorSkill
  • Actions
    • Set AttackedUnit = (Attacked unit)
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Attacked unit) Equal to AttackedUnit
      • Then - Actions
        • Unit - Set level of Item Corruption Bonus (Upgraded) for (Attacking unit) to ((Level of Item Corruption Bonus (Upgraded) for (Attacking unit)) + 1)
      • Else - Actions
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Attacked unit) Not equal to AttackedUnit
          • Then - Actions
            • Unit - Set level of Item Corruption Bonus (Upgraded) for (Attacking unit) to 1
          • Else - Actions
hope that works XD
 
Level 1
Joined
Sep 2, 2006
Messages
5
Go to file > Preferences and check Allow Negative values in Object editor.
Create an ability based off the item ability devotion aura. Turn item ability off, make it only target self, remove buff, change the art if you want, and set the icon to none.

Now create a spell that does nothing, preferably an aura and give it a buff.
Events: A unit is attacked
Conditions: Attacked unit has a specific buff equal to true (Boolean)
Actions: Add ability (the negative armor bonus) to attacking unit.

Now this will only reduce their armor to 0, you can't go into the negatives with it xD.
 
Status
Not open for further replies.
Top