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

Detecting Damage and Damage Type

Status
Not open for further replies.
Level 10
Joined
May 21, 2006
Messages
323
BTW I found a way to detect damage ^^ But it is very complicated I use bribes damage detection system. I changed the system so it always checks 0-1.5 damage = Single Target spell damage 1.51 - 3.00 = AOE and DOT Spelldamage, 3.01 - 4.00 = Normal Skill damage, < 4.00 = Normal Attack damage.

For example I want to create a DOT (Damage over Time) it´s very hard there to detect the damage and also be able to change it for example it shouldnt only deal damage by 50, I want to customize it that it deals damage by 40 - 60. So I take Unholy Frenzy and set the damage to 1.51

I trigger
A)
DamageFirstEvent = 1.00 (I put it between the DamageModifierEvent and DamageEvent)

If damage = 1.51
and DamageSource = Hero[1]

Set Spelldamage[1] = Random number between 40 - 60

B)

DamageModifierEvent = 1.00

If Damage 1.51 - 3.00 blablablablablabla

Set DamageEventAmount = Spelldamage[Playernumber of Owner of DamageSource]

It works perfectly and I think skilled Mapmakers will understand how my system works, I can also customize Critical Strikes, Evasion, Resist, Block, etc.


I know this is not a question, I only wanted to post it to help you creating your maps with DDS, feel free to ask questions and to discuss my System.
 
Status
Not open for further replies.
Top