• 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: Magic Defense / Activision-Blizzard sux

Status
Not open for further replies.
Level 21
Joined
Mar 16, 2008
Messages
975
I'm trying to make this ability reduce magic damage taken by 20% but it seems the data fields in object editor have no effect (screenshot). This ability either makes the target immune or not, there's no 33% reduction. I'm trying to make a turn on/off ability that reduces speed by 90% and reduces magic damage by 20% when it's active.

1634411216041.png
 
Level 24
Joined
Feb 27, 2019
Messages
833
This reply will speak in rough terms.

Get used to getting taken on a illogical trip by blizzard/activision. Youd think magic damage redution means you get magic damage reduction but for some reason it doesnt. The best solution to avoid most default ways how things work is to trigger the magic resistance yourself, that can be done with damage event, unit indexer and a magic resist variable array.

If damagetype = spell then set damageamt = damageamt x magic resist[custom value of unit].

There is also at least two default ways to get magic resistance. Theres the Items that give Magic Resistance, then theres the ablility called Elunes Grace which gives Magic Resistance. These two stack.
 
Status
Not open for further replies.
Top