pokemon-showdown/mods/gen2/typechart.js
Joimer ef31e69c1e Gens 1 & 2: Refactor secondary status effects.
After a review of the disassembled code of gens 1 and 2, we've come to realise some very important stuff regarding secondary status.
On gens 1 and 2, Fire-types are not inherently immune to burn.
Ice-types are neither inherently immune to ice.
On gen 1, secondary status effects for paralyse, burn, and freeze will be ignored if the target Pokémon shares a type with the move-type.
On gen 2, the same happens but only for burn and freeze.
Poison-types are actually immune to poisons.
On gen 2, tri-attack can burn fire-types and freeze ice-types.
On gen 1, body slam cannot paralyse normal-types.
Also, Lick cannot paralyse ghost-types.
And thunderbolt/thunder can't paralyse electric-types.
2014-12-28 15:41:11 +01:00

103 lines
2.1 KiB
JavaScript

exports.BattleTypeChart = {
"Bug": {
inherit: true,
HPivs: {"atk":26, "def":26, "spa":30, "spd":30, "spe":30, "hp":30}
},
"Dark": {
inherit: true,
HPivs: {"atk":30, "def":30, "spa":30, "spd":30, "spe":30, "hp":30}
},
"Dragon": {
inherit: true,
HPivs: {"atk":30, "def":28, "spa":30, "spd":30, "spe":30, "hp":30}
},
"Electric": {
inherit: true,
HPivs: {"atk":28, "def":30, "spa":30, "spd":30, "spe":30, "hp":30}
},
"Fighting": {
inherit: true,
HPivs: {"atk":24, "def":24, "spa":30, "spd":30, "spe":30, "hp":30}
},
"Fire": {
damageTaken: {
"Bug": 2,
"Dark": 0,
"Dragon": 0,
"Electric": 0,
"Fighting": 0,
"Fire": 2,
"Flying": 0,
"Ghost": 0,
"Grass": 2,
"Ground": 1,
"Ice": 2,
"Normal": 0,
"Poison": 0,
"Psychic": 0,
"Rock": 1,
"Steel": 2,
"Water": 1
},
HPivs: {"atk":28, "def":24, "spa":30, "spd":30, "spe":30, "hp":30}
},
"Flying": {
inherit: true,
HPivs: {"atk":24, "def":26, "spa":30, "spd":30, "spe":30, "hp":30}
},
"Ghost": {
inherit: true,
HPivs: {"atk":26, "def":28, "spa":30, "spd":30, "spe":30, "hp":30}
},
"Grass": {
inherit: true,
HPivs: {"atk":28, "def":28, "spa":30, "spd":30, "spe":30, "hp":30}
},
"Ground": {
inherit: true,
HPivs: {"atk":24, "def":30, "spa":30, "spd":30, "spe":30, "hp":30}
},
"Ice": {
damageTaken: {
"Bug": 0,
"Dark": 0,
"Dragon": 0,
"Electric": 0,
"Fighting": 1,
"Fire": 1,
"Flying": 0,
"Ghost": 0,
"Grass": 0,
"Ground": 0,
"Ice": 2,
"Normal": 0,
"Poison": 0,
"Psychic": 0,
"Rock": 1,
"Steel": 1,
"Water": 0
},
HPivs: {"atk":30, "def":26, "spa":30, "spd":30, "spe":30, "hp":30}
},
"Poison": {
inherit: true,
HPivs: {"atk":24, "def":28, "spa":30, "spd":30, "spe":30, "hp":30}
},
"Psychic": {
inherit: true,
HPivs: {"atk":30, "def":24, "spa":30, "spd":30, "spe":30, "hp":30}
},
"Rock": {
inherit: true,
HPivs: {"atk":26, "def":24, "spa":30, "spd":30, "spe":30, "hp":30}
},
"Steel": {
inherit: true,
HPivs: {"atk":26, "def":30, "spa":30, "spd":30, "spe":30, "hp":30}
},
"Water": {
inherit: true,
HPivs: {"atk":28, "def":26, "spa":30, "spd":30, "spe":30, "hp":30}
}
};