Details
Expansion
Categories
Developers
Having issues?
PeiFang Recipe Lookup — User Guide
Supports querying recipe data for all professions.
Slash commands:
/pf— open / close the search panel/pf 14048— query by itemID/pf 3862— query by spellID/pf Runecloth— fuzzy query by name
Inside the search panel: enter an itemID / spellID / name, then press Enter or click "Search".
When the Auction House is open, click the icon / name to search directly.
Referencing from other addons (via LibStub):
local PeiFang = LibStub("PeiFang-1.0")
local recs = PeiFang:GetByItemID(14048) -- returns {record, ...}
local rec = PeiFang:GetBySpellID(3862) -- returns record | nil
local list = PeiFang:SearchByName("Runecloth") -- returns {record, ...}
local r, k = PeiFang:Lookup("3862") -- auto-detect spell / item / name
local data = PeiFang:GetData() -- raw PeiFangData nested table
data[skillID][spellID] = { ... }
e.g.
data[185][6412] = {
type = "item",
itemID = 5472,
itemName = "Kaldorei Spider Kabob",
colors = { r1 = 10, r2 = 50, r3 = 70, r4 = 90, }, -- skill point thresholds
source = "Quest", -- source
itemCount = 1, -- output count
reagents = { 5465, 1 }, -- material itemID and quantity
}
配方(PeiFang)查询使用说明
1、支持查询所有专业配方数据;
2、斜杠命令:
- /pf 打开 / 关闭搜索面板
- /pf 14048 按 itemID 查询
- /pf 3862 按 spellID 查询
- /pf 符文布 按名称模糊查询
3、搜索面板内:输入物品ID/spellID/名称,回车或点「查询」;
4、拍卖行开启时,点图标 / 名称可直接搜索;
5、其它插件引用方法(LibStub):
- local PeiFang = LibStub("PeiFang-1.0")
- local recs = PeiFang:GetByItemID(14048) -- 返回 {record, ...}
- local rec = PeiFang:GetBySpellID(3862) -- 返回 record | nil
- local list = PeiFang:SearchByName("符文布")-- 返回 {record, ...}
- local r, k = PeiFang:Lookup("3862") -- 自动判别 spell/item/name
- local data = PeiFang:GetData() -- 原始 PeiFangData 嵌套表
data[skillID][spellID] = { ... }
如:data[185][6412]={
type = "item",
itemID = 5472,
itemName = "卡多雷蜘蛛烤肉",
colors = {r1 = 10, r2 = 50, r3 = 70, r4 = 90,},--技能点数
source = "Quest",--来源
itemCount = 1,--产出个数
reagents = {5465,1},--表示材料物品ID和数量
}


You must be logged in to leave a comment.