0866名無しさん@お腹いっぱい。 (ワッチョイ 1562-iXgT)
2018/09/01(土) 19:09:56.32ID:CSuVotDL0赤くしてみたw
function baseRect()の
x = $(this).data('village_x');
y = $(this).data('village_y');
c = $(this).data('village_c');
//変更点
var $div = $(this).parents('div');
if ($div.hasClass('alliance_territory')) {
fillDraw([x, y, c], 'red');
} else { //↓は元のまま
fillDraw([x, y, c], 'black');
}
//ここまで
});