• 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

Status
Not open for further replies.
Level 17
Joined
Nov 13, 2006
Messages
1,814
i guess that impossible (idk about vjass part) because ability damage's dont got damage type declaration so to system the ability chain lightning damage is same than the normal autoattack.

if u want get the physical attacks then u must set ability damage to 0 for every ability in your map and do damage via trigger instead abilities and before the trigger damage use a variable for declare the damage type....

like:
Event: unit start casting
Condition: casted ability = firebolt
Action:
damagetype = 2
triggering damage to ability target with x damage blabla

and in damage modifier trigger (if u use DDS like Bribe Gui damage detection system) check damagetype value, if it is 0 = physical damage, else magical.
 
Status
Not open for further replies.
Top