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

Damage Detection Questions

Status
Not open for further replies.
Level 3
Joined
Sep 9, 2009
Messages
658
Let's say I wanted to make a spell where you make a barrier around yourself that blocks incoming damage. How do I do that if I'm using Weep's GDD Engine?

I tried it first by increasing the damaged unit's life by twice the amount of the damage taken only to realize that's not the best way to do it. The unit still takes damage from the first attack and still dies when it takes damage greater than it's max life.
 
Level 10
Joined
Jun 6, 2007
Messages
392
As far as I know, GDD doesn't have support for blocking damage (although it can be done). I'd suggest you to use Bribe's damage engine instead. With it you can simply use the damage modifier event and set the damage to 0. (Don't forget to copy that cheat death ability)
 
Level 3
Joined
Sep 9, 2009
Messages
658
If I understand what your question is than can't you just base it off divine shield?

Because then that would make the unit invulnerable. I'm trying to make a spell like the antimagic shield (new) which can block a set amount of damage.

As far as I know, GDD doesn't have support for blocking damage (although it can be done). I'd suggest you to use Bribe's damage engine instead. With it you can simply use the damage modifier event and set the damage to 0. (Don't forget to copy that cheat death ability)

I'll check it out. I haven't tried that system out yet.
 
Level 37
Joined
Mar 6, 2006
Messages
9,243
Status
Not open for further replies.
Top