Fandom

英雄联盟维基

Recommended item code

简体 | 繁體

1,180个页面创建
于此维基上
添加新页面
评论0 Share

您使用了广告屏蔽软件!


Wikia通过广告运营为用户提供免费的服务。我们对用户通过嵌入广告屏蔽软件访问网站进行了使用调整。

如果您使用了广告屏蔽软件,将无法使用我们的服务。请您移除广告屏蔽软件,以确保页面正常加载。

With the Season 3 HUD Shop Update, recommended items configuration files now use a JSON format over the old INI format. Some experience with the JSON format is recommended before manually changing recommended items. For most users, the use of a third-party tool is recommended.

Third-party tools 编辑

A number of third-party tools exist to greatly simplify and automate the process of changing recommended items.

Name System Support
Enigma's Recommended Item Changer Downloadable - Windows (Java)
LoL Custom Builds (LCB) Downloadable - Windows/Mac (Java)
League of Legends Custom Builds Downloadable - Windows
LoLTool Downloadable - Windows
LoLStudio2 Data Manager Downloadable - Windows
Pimp My Recommended Items Web-based

Customizing recommended items 编辑

To create a new item file, you will first need a few pieces of information:

  • The Champion's internal key, which is the Champion's name without spaces or punctuation. The one exception to the rule is Wukong, who's internal key is "MonkeyKing".
  • The map ID (found below)
  • The game mode ID (found below)
  • The item IDs (A list of the new item IDs can be found in this post)

Start by creating a plain text file and name it whatever you with the extension ".json". There is no convention for naming files as the game will load all files ending in ".json".

Compared to the old method of changing recommended items, the new files are not placed deep within the game's files. Instead, they are placed in the following path:

\League of Legends\Config\Champions\[CHAMPION KEY]\Recommended\

Replacing "[CHAMPION KEY]" with the Champion's key (mentioned above) and creating any folders that do not already exist.

Format 编辑

The contents of the item files must strictly adhere to the format in the following example, the Riot defaults for Ahri (each key is explained after the example):

{
   "champion":"Ahri",
   "title":"default",
   "type":"riot",
   "map":"any",
   "mode":"any",
   "priority":false,
   "blocks":[
      {
         "type":"starting",
         "items":[
            {
               "id":"1001",
               "count":1
            },
            {
               "id":"3010",
               "count":3
            }
         ]
      },
      {
         "type":"essential",
         "items":[
            {
               "id":"3001",
               "count":1
            },
            {
               "id":"3089",
               "count":1
            }
         ]
      },
      {
         "type":"offensive",
         "items":[
            {
               "id":"3100",
               "count":1
            },
            {
               "id":"3128",
               "count":1
            },
            {
               "id":"3135",
               "count":1
            }
         ]
      },
      {
         "type":"defensive",
         "items":[
            {
               "id":"3140",
               "count":1
            },
            {
               "id":"3157",
               "count":1
            }
         ]
      }
   ]
}

Important keys explained:

"champion":"[CHAMPION KEY]"

Used only for organizational purposes, it defines the Champion for which the item file is created. [CHAMPION KEY] should be replaced with the Champion's key.

"title":"[TITLE]"

Used only for organizational purposes, it defines the title of the item build. [TITLE] should be replaced with your title.

"type":"[TYPE]"

Used only for organizational purposes, it defines the type of item build.

Important: [TYPE] should be replaced with anything EXCEPT "riot".

"map":"[MAP ID]"

Defines the map the item build is used on. [MAP ID] should be replaced with one of the following map IDs:

  • Any map: "any"
  • Summoner's Rift: "1"
  • Proving Grounds: "3"
  • Crystal Scar: "8"
  • Twisted Treeline: "10"

"mode":"[MODE ID]"

Defines the mode on which the item build is used. [MODE ID] should be replaced with one of the following mode IDs:

  • Any mode: "any"
  • Classic mode: "CLASSIC"
  • Dominion mode: "ODIN"
  • ARAM mode: "ARAM"

"priority":true

Defines if the item set should be loaded with the highest priority (used in-game) and should always be set to true. If you are creating multiple builds for a single map/mode, the build you want to use should be set to true while the rest should be set to false.

"blocks":[ ]

Creates a list of item groups, or "blocks", the defaults being named "Starting", "Essential", "Offensive", "Defensive" and "Consumables". You can create any number of blocks you wish, and blocks should be separated by commas.

Blocks 编辑

{
    "type":"[BLOCK NAME]",
    "items":[
        "_comment" : "Replace this line with your items"
    ]
}

"type":"[BLOCK NAME]"

Defines the name of the block. You can replace [BLOCK NAME] with whatever you wish, however using the values "starting", "essential", "offensive", and "defensive" will result in localized versions being used in-game.

"items":[ ]

Creates a list of items to appear in the item group or block. You can add as many items as you with, and items should be separated by commas.

Items 编辑

{
    "id":"[ITEM ID]",
    "count":[ITEM COUNT]
}

"id":"[ITEM ID]"

The item ID of the item, a list of which can be found in this post.

"count":[ITEM COUNT]

The number of items that are purchased when selecting and buying the recommended items. For example, clicking on and buying a health potion with a count of 3 will result in buying 3 health potions.

List of item codes 编辑

Below are the item codes as posted on the forums. They correspond to Riot's item pages. Some of these items are not available or replaced on Dominion, but some of them are currently only available on Dominion and can not be bought on regular Classic's Summoner's Rift or Twisted Treeline.

Code Item Game mode restriction

Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric

The items below have been removed entirely from the store.

Code Item

Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric Template:Ric

更多维基

随机维基