Template:BuffIdFromName

来自Terraria Wiki
跳到导航 跳到搜索
Template-info.svg 文档 以下文档来自Template:BuffIdFromName/doc。(编辑 | 历史

This template returns the Buff ID of a buff, based on its name. All data is from the Desktop 1.4.3(电脑版、主机版、和移动版) source code. For buffs exclusive to the legacy 移动版 移动版, it will return the ID prefixed with "m" (e.g. m205).

Usage

{{ buffIdFromName | <buff name> }}

First unnamed parameter

Name of the buff. If there are several buffs with the same name, the ID of the first buff will be returned.

Notes

  • The buffs that flasks grant can be entered without the colon as well (see examples).

Examples

Code Result
{{buffIdFromName|Confused}} 31
{{buffIdFromName|Weapon Imbue: Fire}} 74
{{buffIdFromName|Weapon Imbue Fire}} 74
{{buffIdFromName|Pet Guinea Pig}} m202
{{buffIdFromName|}}
{{buffIdFromName|inexistent}}

See also