HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Damage and Attack Types Table

03-29-2008, 02:17 PM#1
divo
I couldn't find this anywhere else so I did some tests on my own. I've attached a .xls-file with my results. It shows the results of different attack and damage type combinations.

Everything was tested with UnitDamageTarget() using different attack and damage types. Weapon type was WEAPON_TYPE_WHOKNOWS in all tests. I did take the gameplay constants damage tables into consideration.
Attached Files
File type: 7zdamage_and_attack_types.7z (4.4 KB)
03-29-2008, 02:29 PM#2
zen87
hmmm someone already did that long, but this table do seems better as it is more neat and clear lol

+rep for you, welcome to wc3c :)

p/s: could you test out which damage combination will make the unit explode upon death?
03-29-2008, 02:46 PM#3
Rising_Dusk
Quote:
Originally Posted by zen87
p/s: could you test out which damage combination will make the unit explode upon death?
The one with a preceding call SetUnitExploded(MyTarget, true). :p
Seriously though, I actually think it might be a result of the artillery attack form, not any damage or attack type combinations.
03-29-2008, 02:49 PM#4
darkwulfv
I'm pretty sure it is a combination of the artillery attack type (specified in the unit), and splash attacks.
03-29-2008, 03:01 PM#5
zen87
I tried DAMAGE_TYPE_DEMOLITION + ATTAK_TYPE_SIEGE but the unit just wont blow off upon death

hmph...
03-29-2008, 03:03 PM#6
divo
I tried combinations of ATTACK_TYPE_SIEGE and multiple damage types but none made the unit explode. I think darkwulfy is right it must be the weapon type which causes this effect (Probably Artillery).
03-29-2008, 03:03 PM#7
Rising_Dusk
Something can deal siege damage and not blow up units, Zen (AKA: Raiders). The key is the artillery attack form, which we can't control via triggers. Like I said before, just check if said damage would kill a unit then set it to exploded.
03-30-2008, 04:34 AM#8
zen87
ic... thank you :)