PokemonGoの属性対応表

PokemonGoでジムを戦うのに対応はどうなっているかな?
ってツールを作ってみた。
微妙にメンテが必用だけれども

[inline]
[script language=”javascript”]
function onclickFilter(type){
console.log(type);
var table = document.getElementById(‘table’);
// console.log(table.rows.length);
for(var rowNum=0;rowNum < table.rows.length; rowNum++){ for(var cellNum=0;cellNum < table.rows[rowNum].cells.length; cellNum++){ // リセット if(type==-1){ if(table.rows[rowNum].cells[cellNum].style.backgroundColor == 'red'){ table.rows[rowNum].cells[cellNum].style.backgroundColor = ''; } continue; } if(table.rows[rowNum].cells.length == 22 && cellNum != type +2) continue; if(table.rows[rowNum].cells.length == 21 && cellNum != type +2) continue; if(table.rows[rowNum].cells.length == 20 && cellNum != type +1) continue; if(table.rows[rowNum].cells[cellNum].tagName != "TD") continue; console.log(rowNum + " : " + cellNum + " = " + table.rows[rowNum].cells.length); table.rows[rowNum].cells[cellNum].style.backgroundColor = 'red'; } } } function onclickClear(){ onclickFilter(-1); } [/script] [/inline]

効果は抜群だ!ダメージ2倍
ダメージ1倍
効果はいまひとつのようだ:ダメージ半減(0.5倍)
× 効果が無いみたいだ…:ダメージ無し(0倍)
攻撃を受ける側 :







攻撃を受ける側のポケモンのタイプ

攻撃する側の技のタイプ × 攻撃する側の技のタイプ
×
×
×
×
×
×
×
攻撃を受ける側のポケモンのタイプ

http://www.pokemon.co.jp/ex/xy/battle/01.html


コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です