HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How would you change this type of damage?

05-14-2006, 09:42 PM#1
ShadowDestroyer
Vexorian wrote in a trigger:
Collapse JASS:
return DamageTypes(ATTACK_TYPE_NORMAL,DAMAGE_TYPE_FIRE)

How would you make it do normal spell damage?
I have tried:
Collapse JASS:
return DamageTypes(ATTACK_TYPE_SPELL,DAMAGE_TYPE_NORMAL)
and
Collapse JASS:
return DamageTypes(ATTACK_TYPE_SPELLS,DAMAGE_TYPE_NORMAL)
Neither work...
05-14-2006, 09:45 PM#2
TaintedReality
DAMAGE_TYPE_NORMAL does physical damage. DAMAGE_TYPE_FIRE does regular magic damage. DAMAGE_TYPE_MAGIC also does regular magic damage. Pretty much anything magic does regular magic damage =P.
05-14-2006, 09:48 PM#3
ShadowDestroyer
But attack type normal will cause it to factor in armor. While attack type spell should ignore it, right?

I want it to deal damage like a normal spell.
05-14-2006, 09:48 PM#4
MysticGeneral
ATTACK_TYPE_NORMAL = Spells
ATTACK_TYPE_MAGIC = Magic
ATTACK_TYPE_MELEE = Physical

DAMAGE_TYPE_MAGIC = Magic

(There is no ATTACK_TYPE_SPELLS -- Which is your error)
05-14-2006, 09:50 PM#5
TaintedReality
Yea depends whether you're talking about armor reduction or what. All the ATTACK_TYPE_XXXX are simply different...well..attack types. And that changes the damage reduction from armor and such. The DAMAGE_TYPE_XXXX are either Physical, Magic, or Universal. DAMAGE_TYPE_NORMAL is physical, DAMAGE_TYPE_UNIVERSAL is universal, and anything else is magic I believe.
05-14-2006, 09:54 PM#6
MysticGeneral
What taintedreality said is true. It's a little confusing to understand. An example is give searing arrows to a Night Elf Archer. The archer's ATTACK_TYPE is piercing and DAMAGE_TYPE is normal. With searing arrows activated, it's ATTACK_TYPE_PIERCING and DAMAGE_TYPE_FIRE (magic).