Commit 3847ba2d8715d5e64391e9e298d1d56466f600bc

Authored by zhouhaihai
1 parent 538e9773

修改 零件

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/models/RolePlugin.lua
@@ -140,7 +140,7 @@ function RolePlugin.bind(Role) @@ -140,7 +140,7 @@ function RolePlugin.bind(Role)
140 self:checkTaskEnter("AddEquip", {equipId = itemId, rarity = equipCsv.rarity}, pms.notNotify) 140 self:checkTaskEnter("AddEquip", {equipId = itemId, rarity = equipCsv.rarity}, pms.notNotify)
141 end, 141 end,
142 [ItemType.Rune] = function() 142 [ItemType.Rune] = function()
143 - local typ = math.floor((itemId-2000)/100) 143 + local typ = math.floor((itemId-10000)/1000)
144 for _= 1, count do 144 for _= 1, count do
145 self:addRune({type = typ,id = itemId, pms.notNotify}) 145 self:addRune({type = typ,id = itemId, pms.notNotify})
146 end 146 end