Skip to content

Instantly share code, notes, and snippets.

@renanpvaz
Forked from shri/pokemonTypes.json
Last active August 10, 2016 20:54
Show Gist options
  • Save renanpvaz/d649c33b88e1f2aa71052b8ce4893782 to your computer and use it in GitHub Desktop.
Save renanpvaz/d649c33b88e1f2aa71052b8ce4893782 to your computer and use it in GitHub Desktop.
json of types for pokemon
[
{
name: 'ghost',
multipliers: {
"ghost": 2.0,
"steel": 0.5,
"psychic": 2.0,
"dark": 0.5,
"normal": 0.0
}
},
{
name: 'steel',
multipliers: {
"steel": 0.5,
"electric": 0.5,
"fire": 0.5,
"ice": 2.0,
"water": 0.5,
"rock": 2.0
}
},
{
name: 'ice',
multipliers: {
"steel": 0.5,
"fire": 0.5,
"flying": 2.0,
"ice": 0.5,
"dragon": 2.0,
"water": 0.5,
"grass": 2.0,
"ground": 2.0
}
},
{
name: 'electric',
multipliers: {
"electric": 0.5,
"flying": 2.0,
"dragon": 0.5,
"water": 2.0,
"grass": 0.5,
"ground": 0.0
}
},
{
name: 'normal',
multipliers: {
"ghost": 0.0,
"steel": 0.5,
"rock": 0.5
}
},
{
name: 'fire',
multipliers: {
"steel": 2.0,
"fire": 0.5,
"ice": 2.0,
"dragon": 0.5,
"water": 0.5,
"rock": 0.5,
"grass": 2.0,
"bug": 2.0
}
},
{
name: 'psychic',
multipliers: {
"steel": 0.5,
"dark": 0.0,
"psychic": 0.5,
"poison": 2.0,
"fighting": 2.0
}
},
{
name: 'flying',
multipliers: {
"steel": 0.5,
"electric": 0.5,
"fighting": 2.0,
"rock": 0.5,
"grass": 2.0,
"bug": 2.0
}
},
{
name: 'poison',
multipliers: {
"ghost": 0.5,
"steel": 0.0,
"poison": 0.5,
"rock": 0.5,
"grass": 2.0,
"ground": 0.5
}
},
{
name: 'dragon',
multipliers: {
"steel": 0.5,
"dragon": 2.0
}
},
{
name: 'water',
multipliers: {
"fire": 2.0,
"dragon": 0.5,
"water": 0.5,
"rock": 2.0,
"grass": 0.5,
"ground": 2.0
}
},
{
name: 'fighting',
multipliers: {
"ghost": 0.0,
"steel": 2.0,
"normal": 2.0,
"psychic": 0.5,
"flying": 0.5,
"poison": 0.5,
"dark": 2.0,
"ice": 2.0,
"rock": 2.0,
"bug": 0.5
}
},
{
name: 'rock',
multipliers: {
"steel": 0.5,
"fire": 2.0,
"flying": 2.0,
"fighting": 0.5,
"ice": 2.0,
"bug": 2.0,
"ground": 0.5
}
},
{
name: 'dark',
multipliers: {
"ghost": 2.0,
"steel": 0.5,
"psychic": 2.0,
"dark": 0.5,
"fighting": 0.5
}
},
{
name: 'grass',
multipliers: {
"steel": 0.5,
"fire": 0.5,
"flying": 0.5,
"poison": 0.5,
"dragon": 0.5,
"water": 2.0,
"rock": 2.0,
"grass": 0.5,
"bug": 0.5,
"ground": 2.0
}
},
{
name: 'bug',
multipliers: {
"ghost": 0.5,
"steel": 0.5,
"fire": 0.5,
"psychic": 2.0,
"flying": 0.5,
"poison": 0.5,
"dark": 2.0,
"fighting": 0.5,
"grass": 2.0
}
},
{
name: 'ground',
multipliers: {
"steel": 2.0,
"electric": 2.0,
"fire": 2.0,
"flying": 0.0,
"poison": 2.0,
"rock": 2.0,
"grass": 0.5,
"bug": 0.5
}
}
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment