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

[Spell] Percent Decrease for Armor and Mana Regen

Status
Not open for further replies.
Level 3
Joined
Apr 21, 2009
Messages
42
Hi,

I'm trying to make a skill that when activated, the enemy units being attacked by the caster will have their armor decreased by 25% and their mana regen stopped for a certain duration.

I can only find spells that has a direct amount of armor reducer and abilities that decrease the enemy units reduce their mana regen.

I've been trying to trying to trigger it but seems impossible. For mana regen it
s really difficult since each unit has their own mana regen rate.
 
Level 3
Joined
Apr 21, 2009
Messages
42
You can use a real array variable and then unit indexer from spell database.

Thanks! Yeah I get the idea... but seems it's too complicated for me to implement :ogre_rage:


@Prodigy: That won't work if there are multiple units being attacked by the caster
 

Kusanagi Kuro

Hosted Project: SC
Level 10
Joined
Mar 11, 2012
Messages
708
Prodigy's way can be used. Just need to tweak it into MUI actions :D. About the armor problems, even if u use custom stat system, u will need to store the armor of ur hero into an integer variable and change it everytime he leveled up, pick drop items which increase armor or agi. I dont think that would be a good idea to do that :D. But u can change it to cause the damage deal to that unit increased. (By using DDS - Damage Detection System).
 
Add a negative percent Devotion aura with 0 AOE and Self target to the target unit of the Hero's attack.

I've been trying to trying to trigger it but seems impossible. For mana regen it
s really difficult since each unit has their own mana regen rate.

Brilliance aura can give percent bonus too.
 
Status
Not open for further replies.
Top