Terraria Wiki

  • Discussions are now available on the Terraria Wiki.
  • Miss the old Hydra Skin? Try out our Hydralize gadget! Visit the preferences page while logged in and turn on the gadget.

READ MORE

Terraria Wiki
Advertisement
Template-info Documentation The documentation below is transcluded from Template:BuffIdFromName/doc. (edit | history)

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 Mobile version Mobile version, 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


Advertisement