Skip to content

Commit

Permalink
Updated for Arena mode
Browse files Browse the repository at this point in the history
  • Loading branch information
developers192 committed Jul 21, 2023
1 parent 6e9e70a commit d5d3bae
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cdngen.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ def mapIdimg(mapid: int):
conv = {
11: "classic_sru",
12: "aram",
22: "tft"
22: "tft",
30: "gamemodex"
}
return f"https://raw.communitydragon.org/latest/plugins/rcp-be-lol-game-data/global/default/content/src/leagueclient/gamemodeassets/{conv[mapid]}/img/game-select-icon-hover.png"
return f"https://raw.communitydragon.org/latest/plugins/rcp-be-lol-game-data/global/default/content/src/leagueclient/gamemodeassets/{conv[mapid]}/img/game-select-icon-active.png"

def skinImg(champId, skinId):
return f"https://raw.communitydragon.org/latest/plugins/rcp-be-lol-game-data/global/default/v1/champion-tiles/{champId}/{skinId}.jpg"
Expand Down

0 comments on commit d5d3bae

Please sign in to comment.