• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Percentage armor reduction?

Status
Not open for further replies.
Devotion Aura has the option to increase percentage of the armor, but I think it only works on base armor, so I would not recommend using it. Other than that you can of course trigger it, bit it's a bit complicated. You need to find out the target's current armor, which is not that easy and increase it by a certain amount. For this you need multiple abilities, so you can set armor to any value (in a certain range).
 
Devotion Aura has the option to increase percentage of the armor, but I think it only works on base armor, so I would not recommend using it. Other than that you can of course trigger it, bit it's a bit complicated. You need to find out the target's current armor, which is not that easy and increase it by a certain amount. For this you need multiple abilities, so you can set armor to any value (in a certain range).
This
 
One can use an ability system to provide an armor modifier (green +/- to armor). If one tracks all armor sources, then one can know a unit's current armor. Combining the two will give you the desired effect.

Someone made some custom natives that could read armor using an arbitrary code exploiy. However these might not work anymore and certainly could be broken by future patches if they do.
 
there is a solution but its quite complicated,

Make a dummy abillity, use something like that targets a single target

set up a trigger that gives the targeted unit a devotion aura that has been tweaked to reduce the units armor by a percentage, set target to self and range to 100

make sure you make an appropriate trigger to remove this when time runs out or when a dispel like spell is cast upon the unit
 
I think devotion aura's percentage based armor change is bad, because it only considers base armor iirc. Another problem is, that this solution would give the unit 2 buffs - one from devotion aura and one from the single target ability you mentioned.
when a dispel like spell is cast upon the unit
Can you even detect this? Another option is to use periodic checks, if the unit still has the single target buff, but it's inaccurate and inefficient.
 
Status
Not open for further replies.
Back
Top