Lore archive · Warcraft Wiki, 2023 dump
API C Transmog.CanTransmogItemWithItem
Last wiki revision 2022-08-01
Returns whether an item can be transmogrified to look like another item. canBeTransmogrified, failReason = C_Transmog.CanTransmogItemWithItem(targetItem, sourceItem)
- targetItem:String/Number : item name, item link, or item ID of the item that will change its appearance
- sourceItem:String/Number: item name, item link, or item ID of the item the appearance of which will be copied.
- canBeTransmogrified: - true if targetItem can be transmogrified to look like sourceItem, false otherwise.
- failReason:String/nil - If the items cannot be transmogrified, a token indicating the cause:
- "MISMATCH" - Items are of different types, or one of the items is a vanity item (e.g. Chef's Hat).
- "NO_ITEM" - The character doesn't own both of the items involved.
- "NO_STATS" - One of the items has no stats (e.g. an item with a random suffix identified by ID rather than link).
- "LEGENDARY" - One of the items is legendary.
- "INVALID_TYPE" - Item type cannot be used for transmogrification (e.g. non-equitable items, fishing poles)
Source
https://warcraft.wiki.gg/wiki/API_C_Transmog.CanTransmogItemWithItem · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.