wc3campaigns
WC3C Homepage - www.wc3c.netUser Control Panel (Requires Log-In)Engage in discussions with other users and join contests in the WC3C forums!Read one of our many tutorials, ranging in difficulty from beginner to advanced!Show off your artistic talents in the WC3C Gallery!Download quality models, textures, spells (vJASS/JASS), systems, and scripts!Download maps that have passed through our rigorous approval process!

Go Back   Wc3C.net > Warcraft III Modding > Developer's Corner > General Development
User Name
Password
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar



Reply
 
Thread Tools Search this Thread
Old 08-14-2008, 04:18 PM   #16
Alexander244
Now Kharyb
 
Join Date: Feb 2006
Posts: 602

Submissions (1)

Alexander244 is a jewel in the rough (193)Alexander244 is a jewel in the rough (193)Alexander244 is a jewel in the rough (193)

Default

Attached .slk of data.

Edit: Removed spaces from names.
Attached Files
File Type: 7z Book1.7z (17.1 KB, 277 views)

Last edited by Alexander244 : 08-14-2008 at 04:31 PM.
Alexander244 is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 08-14-2008, 04:41 PM   #17
Sophismata
User
 
Join Date: Aug 2008
Posts: 87

Sophismata will become famous soon enough (53)Sophismata will become famous soon enough (53)

Default

Quote:
Originally Posted by Kinorhynkar
Wait.. so that means you cant insta kill ethreals if you use the above damage via trigger.

Also does "Ethereal" Include banished units?

You need to use ATTACK_TYPE_SPELLS, DAMAGE_TYPE_UNIVERSAL, if you want to instantly-kill units (even etheral). Just make sure the damage is high enough that runed bracers and the like won't stop it.

Ethereal includes banished units.

Last edited by Sophismata : 08-14-2008 at 04:43 PM.
Sophismata is offline   Reply With Quote
Old 08-15-2008, 06:25 AM   #18
fX_
User
 
fX_'s Avatar
 
Join Date: Jan 2007
Posts: 528

Submissions (2)

fX_ will become famous soon enough (38)fX_ will become famous soon enough (38)

Default

On the side:

Where can I find an enumeration and description of each of these attack/damage types?
fX_ is offline   Reply With Quote
Old 08-15-2008, 07:15 AM   #19
Sophismata
User
 
Join Date: Aug 2008
Posts: 87

Sophismata will become famous soon enough (53)Sophismata will become famous soon enough (53)

Default WC3's Damage System

Damage Categories:
ValueEquivalentTypeApplies Armour Value
UnknownUnknownUniversalNo
NormalNormalPhysicalYes
EnhancedEnhancedPhysicalNo
FireMagic
ColdMagic
LightningMagic
PoisonEnhanced
DiseaseEnahnced
DivineMagic
MagicMagicMagicalNo
SonicMagic
AcidEnhanced
ForceMagic
DeathMagic
MindMagic
PlantMagic
DefensiveMagic
DemolitionEnhanced
Slow PoisonEnhanced
Spirit LinkMagic
Shadow StrikeMagic
UniversalUniversalUniversalNo
Thus, there are four broad damage types:

Collected Damage Types:
TypeApplies Armour ValueClassification
NormalYesPhysical
EnhancedNoPhysical
MagicNoMagical
UniversalNoUniversal

Now, attack types:

Attack Categories:
WorldEdit ValueJASS ValueEquivalent
SpellsATTACK_TYPE_NORMALSpells
NormalATTACK_TYPE_MELEENormal
PierceATTACK_TYPE_PIERCENormal
SiegeATTACK_TYPE_SIEGENormal
MagicATTACK_TYPE_MAGICMagic
ChaosATTACK_TYPE_CHAOSNormal
HeroATTACK_TYPE_HERONormal
Thus, there are three broad attack types:

Collected Attack Types:
TypeNotes
SpellsThis will damage spell-immune enemies if the damage is physical or universal, and will damage ethereal enemies if the damage is magical or universal. The Spell Damage Reduction (AIsr) item ability applies to this (and only this) attack type.
NormalThis will damage spell-immune enemies if the damage is physical or universal, and will never damage ethereal targets (regardless of damage type).
MagicThis will never damage spell-immune targets (regardless of damage type), and will always damage ethereal targets (regardless of damage type).

Finally, Armour Type (as opposed to Armour Value) always applies, no matter the attack type. The values can be changed though.


Summary:

Blizzard's logic is really weird. They mix-and-match Attack and Damage types, when considering resistances and immunities.

Note that even though you can change the values for Ethereal with the Gameplay Constants, only AT:Magic and AT:Spells will have any effect thanks to the hard-coded nature of ethereal targets.


Further edit: forgot to talk about Spirit Link.

Spirit Link converts a proportion of incoming damage into spell damage, and then shares that damage amongst all units with the Spirit Link buff.



Further further edit:

Final Table:
Attack TypeDamage TypeAffects Spell-ImmuneAffects Ethereal
NormalPhysicalYesNo
NormalMagicalNoNo
NormalUniversalYesNo
SpellsPhysicalYesNo
SpellsMagicalNoYes
SpellsUniversalYesYes
MagicPhysicalNoYes
MagicMagicalNoYes
MagicUniversalNoYes

Last edited by Sophismata : 08-15-2008 at 11:30 AM. Reason: Updated Acid, Disease etc, damage type according to below table
Sophismata is offline   Reply With Quote
Old 08-15-2008, 10:19 AM   #20
Alexander244
Now Kharyb
 
Join Date: Feb 2006
Posts: 602

Submissions (1)

Alexander244 is a jewel in the rough (193)Alexander244 is a jewel in the rough (193)Alexander244 is a jewel in the rough (193)

Default

Converted the data to a table.

Quickly checked the damage types for overlap, seems consistent with Sophismata.
Damage Type Sets:
DAMAGE_TYPE_1
DAMAGE_TYPE_2
DAMAGE_TYPE_3
DAMAGE_TYPE_6
DAMAGE_TYPE_7
DAMAGE_TYPE_UNIVERSAL
DAMAGE_TYPE_UNKNOWN
DAMAGE_TYPE_ACID
DAMAGE_TYPE_DEMOLITION
DAMAGE_TYPE_DISEASE
DAMAGE_TYPE_ENHANCED
DAMAGE_TYPE_POISON
DAMAGE_TYPE_SLOWPOISON
DAMAGE_TYPE_COLD
DAMAGE_TYPE_DEATH
DAMAGE_TYPE_DEFENSIVE
DAMAGE_TYPE_DIVINE
DAMAGE_TYPE_FIRE
DAMAGE_TYPE_FORCE
DAMAGE_TYPE_LIGHTNING
DAMAGE_TYPE_MAGIC
DAMAGE_TYPE_MIND
DAMAGE_TYPE_PLANT
DAMAGE_TYPE_SHADOWSTRIKE
DAMAGE_TYPE_SONIC
DAMAGE_TYPE_SPIRITLINK
DAMAGE_TYPE_NORMAL
Attached Files
File Type: 7z DamageTable.7z (3.1 KB, 83 views)

Last edited by Alexander244 : 08-15-2008 at 10:37 AM.
Alexander244 is offline   Reply With Quote
Old 02-21-2009, 02:17 AM   #21
fX_
User
 
fX_'s Avatar
 
Join Date: Jan 2007
Posts: 528

Submissions (2)

fX_ will become famous soon enough (38)fX_ will become famous soon enough (38)

Default

Is it that only the 'broad damage types' are notable? That it is impractical to discriminate between, say, DAMAGE_TYPE_FORCE and DAMAGE_TYPE_SONIC, and that is practical simply appraise them both DAMAGE_TYPE_MAGIC?
fX_ is offline   Reply With Quote
Old 02-21-2009, 05:33 AM   #22
Rising_Dusk
Obscurity, the Art


Projects Director
Project Leader: OD
 
Join Date: Feb 2006
Posts: 9,729

Submissions (27)

Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)

Hero Contest #3 - 1st PlaceApproved Map: Desert of ExileApproved Map: Advent of the ZenithHero Contest #2 - 1st PlaceHero Contest - Third place>

Send a message via AIM to Rising_Dusk Send a message via MSN to Rising_Dusk
Default

Correct. There are only four reigning categories that damagetypes fall into.
__________________
Rising_Dusk is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT. The time now is 04:40 PM.


Affiliates
The Hubb The JASS Vault Clan WEnW Campaign Creations Clan CBS GamesModding Flixreel Videos

Powered by vBulletin (Copyright ©2000 - 2020, Jelsoft Enterprises Ltd).
Hosted by www.OICcam.com
IT Support and Services provided by Executive IT Services