読者です 読者をやめる 読者になる 読者になる

dota2ウルトラお得情報

seirichuu http://150.95.137.1/dokuwiki/doku.php

item_id hero_id メモ

ああああ

さいきん

memo desu

やる気を保つためにメモです
GetMatchDetailsから引く

カンマで区切ってヒーローidで絞ったりする

なんでもいいからなんかやっとく
後でいい感じにする

league,cluster,match,account,hero,item0-1-2-3-4-5,ability1-2-3-..
4266,224,2065339879,80929738,43,41-50-100-36-46-206,5090-5685-5090-5685-5090-5093-5090-5091-5685-5685-5093-5091-5091-5091-
4266,224,2065339879,124013062,100,1-180-79-36-0-0,5565-5566-5565-5566-5565-5568-5565-5567-5567-5567-5568-
4266,224,2065339879,107081378,87,180-0-188-102-43-16,5458-5459-5460-5459-5459-5461-5459-5458-5460-5458-
4266,224,2065339879,89598554,71,63-181-215-42-92-46,5353-5355-5353-5355-5353-5356-5353-5355-5355-
4266,224,2065339879,186627166,109,147-63-116-11-46-212,5621-5620-5621-5620-5620-5621-5620-5621-5622-5619-5622-5619-5619-
4266,224,2065339879,230617400,15,36-116-154-63-46-212,5083-5082-5083-5084-5082-5082-5082-5085-5084-5083-5085-5084-5084-5083-5002-5085-
4266,224,2065339879,207829314,7,1-46-36-180-0-46,5023-5023-5025-5024-5023-5026-5025-5025-5024-5024-5026-
4266,224,2065339879,160678812,30,36-30-92-60-214-46,5138-5139-5138-5139-5138-5141-5138-5139-5139-5002-5141-
4266,224,2065339879,129958758,41,239-1-65-63-81-46,5182-5184-5182-5691-5182-5185-5182-5691-5691-5691-5185-5184-5184-5184-5002-
4266,224,2065339879,114031486,72,154-117-116-135-50-164,5361-5363-5361-5363-5361-5364-5361-5363-5363-5002-5364-5002-5002-5002-5002-5364-5362-

heroid,itemidについて

優しい人の使う
https://github.com/kronusme/dota2-api/blob/master/data/heroes.json
https://github.com/kronusme/dota2-api/blob/master/data/items.json
ヒーローのjsonにroleを自分勝手に付け加えたら色々と後で便利にできそう

ああああ

print (result['leagueid'],end=",")
print (result['cluster'],end=",")
print (result['match_id'],end=",")
print (player['account_id'],end=",")
print (player['hero_id'],end=",")
print (player['item_0'],end="-")
print (player['item_1'],end="-")
print (player['item_2'],end="-")
print (player['item_3'],end="-")
print (player['item_4'],end="-")
print (player['item_5'],end=",")
for ability_up in player['ability_upgrades']:
print (ability_up['ability'],end="-")
print ()