Damage Map for Resists

Feedback, bugs, and general gameplay related discussion.
Silvanus
Staff Member - Areas
Posts: 598
Joined: Wed Jul 15, 2009 2:14 pm

Damage Map for Resists

Postby Silvanus » Sun Mar 14, 2010 3:33 am

DamageMap[SKILL_BACKSTAB] = DAMAGE_PIERCE;
DamageMap[SKILL_BACKSTAB2] = DAMAGE_PIERCE;
DamageMap[SKILL_KICK] = DAMAGE_BLUDGEON;
DamageMap[SKILL_BASH] = DAMAGE_BLUDGEON;
DamageMap[SKILL_CIRCLE] = DAMAGE_PIERCE;
DamageMap[SKILL_CIRCLE2] = DAMAGE_PIERCE;
DamageMap[SKILL_SHIELDPUNCH] = DAMAGE_BLUDGEON;
DamageMap[SKILL_TRIP] = DAMAGE_BLUDGEON;
DamageMap[TYPE_HIT] = DAMAGE_UNARMED;
DamageMap[TYPE_BLUDGEON] = DAMAGE_BLUDGEON;
DamageMap[TYPE_SLASH] = DAMAGE_SLASH;
DamageMap[TYPE_WHIP] = DAMAGE_SLASH;
DamageMap[TYPE_CLAW] = DAMAGE_SLASH;
DamageMap[TYPE_BITE] = DAMAGE_PIERCE;
DamageMap[TYPE_STING] = DAMAGE_PIERCE;
DamageMap[TYPE_CRUSH] = DAMAGE_BLUDGEON;
DamageMap[TYPE_PIERCER] = DAMAGE_PIERCE;
DamageMap[TYPE_PSIONIC] = DAMAGE_PSIONIC;
DamageMap[TYPE_BURN] = DAMAGE_FIRE;
DamageMap[TYPE_ACID_BURN] = DAMAGE_ACID;
DamageMap[TYPE_FEAR] = DAMAGE_MENTAL;
DamageMap[TYPE_LANCE] = DAMAGE_PIERCE;
DamageMap[TYPE_SUFFERING] = DAMAGE_POISON;
DamageMap[DAMAGE_FROSTBITE] = DAMAGE_COLD;
DamageMap[DAMAGE_HEATSTROKE] = DAMAGE_FIRE;
DamageMap[DAMAGE_FALLING] = DAMAGE_BLUDGEON;
DamageMap[DAMAGE_TAILSWEEP] = DAMAGE_BLUDGEON;
DamageMap[DAMAGE_SNAKEBITE] = DAMAGE_PIERCE;
DamageMap[TYPE_ARROW_MISSILE] = DAMAGE_MISSILE;
DamageMap[TYPE_WEAPON_MISSILE] = DAMAGE_MISSILE;
DamageMap[TYPE_SPECIAL_MISSILE] = DAMAGE_MISSILE;
DamageMap[TYPE_SPELL_MISSILE] = DAMAGE_MISSILE;
DamageMap[DAMAGE_FLAME_CRIT] = DAMAGE_FIRE;

// Dragon
DamageMap[TYPE_DRA_BITE] = DAMAGE_PIERCE;
DamageMap[TYPE_DRA_CLAW] = DAMAGE_SLASH;
DamageMap[TYPE_DRA_WINGSLAP] = DAMAGE_BLUDGEON;
DamageMap[TYPE_DRA_WINGSPIKE] = DAMAGE_PIERCE;
DamageMap[TYPE_DRA_TAILSLAP] = DAMAGE_PIERCE;
DamageMap[TYPE_DRA_CRUSH] = DAMAGE_BLUDGEON;
DamageMap[TYPE_DRA_WINGBUFFET] = DAMAGE_BLUDGEON;
DamageMap[TYPE_DRA_TAILSWEEP] = DAMAGE_BLUDGEON;
DamageMap[TYPE_BREATH_FIRE] = DAMAGE_FIRE;
DamageMap[TYPE_BREATH_FROST] = DAMAGE_COLD;
DamageMap[TYPE_BREATH_LIGHTNING] = DAMAGE_ELECTRIC;
DamageMap[TYPE_BREATH_GAS] = DAMAGE_POISON;
DamageMap[TYPE_BREATH_ACID] = DAMAGE_ACID;
DamageMap[TYPE_BREATH_AMETHYST] = DAMAGE_FORCE;
DamageMap[TYPE_BREATH_CRYSTAL] = DAMAGE_FORCE;
DamageMap[TYPE_BREATH_EMERALD] = DAMAGE_SONIC;
DamageMap[TYPE_BREATH_SAPPHIRE] = DAMAGE_SONIC;
DamageMap[TYPE_BREATH_TOPAZ] = DAMAGE_FIRE;
DamageMap[TYPE_BREATH_SHADOW] = DAMAGE_NEGATIVE;
DamageMap[TYPE_BREATH_CLOUD] = DAMAGE_COLD;
DamageMap[TYPE_BREATH_DEEP] = DAMAGE_POISON;

// Spells
DamageMap[SPELL_BURNING_HANDS] = DAMAGE_FIRE;
DamageMap[SPELL_CALL_LIGHTNING] = DAMAGE_ELECTRIC;
DamageMap[SPELL_CHILL_TOUCH] = DAMAGE_COLD;
DamageMap[SPELL_CONE_OF_COLD] = DAMAGE_COLD;
DamageMap[SPELL_FLAMESTRIKE] = DAMAGE_FIRE;
DamageMap[SPELL_EARTHQUAKE] = DAMAGE_BLUDGEON;
DamageMap[SPELL_ENERGY_DRAIN] = DAMAGE_NEGATIVE;
DamageMap[SPELL_FIREBALL] = DAMAGE_FIRE;
DamageMap[SPELL_HARM] = DAMAGE_NEGATIVE;
DamageMap[SPELL_LIGHTNING_BOLT] = DAMAGE_ELECTRIC;
DamageMap[SPELL_MAGIC_MISSILE] = DAMAGE_FORCE;
DamageMap[SPELL_SHOCKING_GRASP] = DAMAGE_ELECTRIC;
DamageMap[SPELL_FIRESTORM] = DAMAGE_FIRE;
DamageMap[SPELL_FULL_HARM] = DAMAGE_NEGATIVE;
DamageMap[SPELL_METEOR_SWARM] = DAMAGE_FIRE;
DamageMap[SPELL_CREEPING] = DAMAGE_POISON;
DamageMap[SPELL_CHAIN_LIGHTNING] = DAMAGE_ELECTRIC;
DamageMap[SPELL_CYCLONE] = DAMAGE_FORCE;
DamageMap[SPELL_BIGBYS_CLENCHED_FIST] = DAMAGE_FORCE;
DamageMap[SPELL_PRISMATIC_SPRAY] = DAMAGE_MAGIC;
DamageMap[SPELL_FIRESHIELD] = DAMAGE_FIRE;
DamageMap[SPELL_INCENDIARY_CLOUD] = DAMAGE_FIRE;
DamageMap[SPELL_ICE_STORM] = DAMAGE_COLD;
DamageMap[SPELL_CAUSE_LIGHT] = DAMAGE_NEGATIVE;
DamageMap[SPELL_CAUSE_SERIOUS] = DAMAGE_NEGATIVE;
DamageMap[SPELL_CAUSE_CRITICAL] = DAMAGE_NEGATIVE;
DamageMap[SPELL_ACID_BLAST] = DAMAGE_ACID;
DamageMap[SPELL_UNHOLY_WORD] = DAMAGE_NEGATIVE;
DamageMap[SPELL_HOLY_WORD] = DAMAGE_POSITIVE;
DamageMap[SPELL_SUNRAY] = DAMAGE_POSITIVE;
DamageMap[SPELL_ACID_BOLT] = DAMAGE_ACID;
DamageMap[SPELL_HOLY_SHROUD] = DAMAGE_POSITIVE;
DamageMap[SPELL_SANDBLAST] = DAMAGE_FORCE;
DamageMap[SPELL_PAIN_TOUCH] = DAMAGE_NEGATIVE;
DamageMap[SPELL_NERVE_DANCE] = DAMAGE_NEGATIVE;
DamageMap[SPELL_SPECTRAL_HAND] = DAMAGE_NEGATIVE;
DamageMap[SPELL_RAIN_OF_BLOOD] = DAMAGE_NEGATIVE;
DamageMap[SPELL_ROT] = DAMAGE_NEGATIVE;
DamageMap[SPELL_LIFE_DRAIN] = DAMAGE_NEGATIVE;
DamageMap[SPELL_ICE_TOMB] = DAMAGE_COLD;
DamageMap[SPELL_BANSHEE_WAIL] = DAMAGE_NEGATIVE;
DamageMap[SPELL_CONSTRICTION] = DAMAGE_FORCE;
DamageMap[SPELL_SANDSTORM] = DAMAGE_FORCE;
DamageMap[SPELL_INFERNO] = DAMAGE_FIRE;
DamageMap[SPELL_BLAZING_BEAM] = DAMAGE_POSITIVE;
DamageMap[SPELL_BLACKLIGHT_BURST] = DAMAGE_NEGATIVE;
DamageMap[SPELL_THUNDERBLAST] = DAMAGE_SONIC;
DamageMap[SPELL_MINUTE_METEORS] = DAMAGE_FIRE;
DamageMap[SPELL_MORDENKAINS_SWORD] = DAMAGE_SLASH;
DamageMap[SPELL_FORCE_MISSILES] = DAMAGE_FORCE;
DamageMap[SPELL_ACIDSTORM] = DAMAGE_ACID;
DamageMap[SPELL_THUNDER_LANCE] = DAMAGE_SONIC;
DamageMap[SPELL_SHADOW_BOLT] = DAMAGE_MENTAL;
DamageMap[SPELL_SHADOW_BURST] = DAMAGE_MENTAL;
DamageMap[SPELL_PHANTASMAL_KILLER] = DAMAGE_MENTAL;
DamageMap[SPELL_SHADOW_MAGIC] = DAMAGE_MENTAL;
DamageMap[SPELL_PHANTASMAL_BLADES] = DAMAGE_MENTAL;
DamageMap[SPELL_TAZRIKS] = DAMAGE_SLASH;
DamageMap[SPELL_UNHOLY_AURA] = DAMAGE_NEGATIVE;
DamageMap[SPELL_NEEDLE_SWARM] = DAMAGE_PIERCE;
DamageMap[SPELL_SNAPPING_TEETH] = DAMAGE_SLASH;
DamageMap[SPELL_BELTYNS_BURNING_BLOOD] = DAMAGE_FIRE;
DamageMap[SPELL_ICEWAVE] = DAMAGE_COLD;
DamageMap[SPELL_FIREWAVE] = DAMAGE_FIRE;
DamageMap[SPELL_TOTEM_DARTS] = DAMAGE_FORCE;
DamageMap[SPELL_SPIRIT_KNIFE] = DAMAGE_NEGATIVE;
DamageMap[SPELL_JAR_THE_SOUL] = DAMAGE_NEGATIVE;
DamageMap[SPELL_UNLEASH_FETISH] = DAMAGE_NEGATIVE;
DamageMap[SPELL_SOUL_TEMPEST] = DAMAGE_NEGATIVE;
DamageMap[SPELL_SPIRIT_WRACK] = DAMAGE_NEGATIVE;
DamageMap[SPELL_ANCESTRAL_FURY] = DAMAGE_NEGATIVE;
DamageMap[SPELL_SHILLELAGH] = DAMAGE_BLUDGEON;
DamageMap[SPELL_STICKS_TO_SNAKES] = DAMAGE_PIERCE;
DamageMap[SPELL_SUMMON_INSECTS] = DAMAGE_PIERCE;
DamageMap[SPELL_DUST_DEVIL] = DAMAGE_FORCE;
DamageMap[SPELL_INSECT_PLAGUE] = DAMAGE_POISON;
DamageMap[SPELL_FLAME_BLADE] = DAMAGE_FIRE;
DamageMap[SPELL_FIRE_SEEDS] = DAMAGE_FIRE;
DamageMap[SPELL_HAILSTORM] = DAMAGE_COLD;
DamageMap[SPELL_DESTROY_UNDEAD] = DAMAGE_POSITIVE;
DamageMap[SPELL_ERADICATE_UNDEAD] = DAMAGE_POSITIVE;
DamageMap[SPELL_BLACKTHORNS] = DAMAGE_MENTAL;
DamageMap[SPELL_SHADECHILL] = DAMAGE_MENTAL;
DamageMap[SPELL_NIGHTMARE] = DAMAGE_MENTAL;
DamageMap[SPELL_AIR_BLAST] = DAMAGE_FORCE;
DamageMap[SPELL_BLIZZARD_SPHERE] = DAMAGE_COLD;
DamageMap[SPELL_EARTH_DARTS] = DAMAGE_FORCE;
DamageMap[SPELL_ICE_SPEAR] = DAMAGE_FORCE;
DamageMap[SPELL_LAVA_BURST] = DAMAGE_FIRE;
DamageMap[SPELL_WHIRLWIND] = DAMAGE_FORCE;
DamageMap[SPELL_POLTERGEIST] = DAMAGE_NEGATIVE;
DamageMap[SPELL_PHANTASMAL_TENDRIL] = DAMAGE_MENTAL;
DamageMap[SPELL_BALL_LIGHTNING] = DAMAGE_ELECTRIC;
DamageMap[SPELL_BONESHATTER] = DAMAGE_NEGATIVE;
DamageMap[SPELL_EARTH_STONES] = DAMAGE_FORCE;
DamageMap[SPELL_SPIKE_STONES] = DAMAGE_FORCE;
DamageMap[SPELL_MELF_ACID_ARROW] = DAMAGE_ACID;
DamageMap[SPELL_DISRUPTION_BURST] = DAMAGE_POSITIVE;
DamageMap[SPELL_ANNIHILATE_UNDEAD] = DAMAGE_POSITIVE;
DamageMap[SPELL_SONIC_WAVE] = DAMAGE_SONIC;
DamageMap[SPELL_DARKFIRE] = DAMAGE_FIRE;

DamageMap[SPELL_ABI_DALZIMS_HORRID_WILTING] = DAMAGE_NEGATIVE;
DamageMap[SPELL_POS_ENERGY_PARTIAL_CLERIC] = DAMAGE_POSITIVE;
DamageMap[SPELL_POS_ENERGY_PARTIAL_NECRO] = DAMAGE_POSITIVE;
DamageMap[SPELL_POS_ENERGY_PARTIAL_LICH] = DAMAGE_POSITIVE;

// Psi
DamageMap[SKILL_MINDBLAST] = DAMAGE_PSIONIC;
DamageMap[SKILL_PROJECT_FORCE] = DAMAGE_FORCE;
DamageMap[SKILL_ULTRABLAST] = DAMAGE_PSIONIC;
DamageMap[SKILL_DETONATE] = DAMAGE_FORCE;
DamageMap[SKILL_DEATH_FIELD] = DAMAGE_PSIONIC;
DamageMap[SKILL_TELEKINETIC_THRUST] = DAMAGE_FORCE;

Return to “T2 Gameplay Discussion Archive”

Who is online

Users browsing this forum: No registered users and 1 guest