|
BUG反馈
引擎版本号: |
910 |
登陆器版本号: |
910 |
BUG描述: |
--人物获得物品后触发
--参数:actor-人物 item-物品对像
function PlayAddItemEnd(actor, item)
local actorname = actor:getCharName()
local itemName = item:getName() --名称
local nMakeIndex = item:getMakeIndex()
actor:takeOnItem(nMakeIndex, 1)
print("[" .. actorname .. "]人物获得物品后触发[" .. itemName .. "]")
end |
BUG重现方式: |
会有假象物品 |
修复后应达到的效果: |
--人物获得物品后触发
--参数:actor-人物 item-物品对像
function PlayAddItemEnd(actor, item)
local actorname = actor:getCharName()
local itemName = item:getName() --名称
local nMakeIndex = item:getMakeIndex()
actor:takeOnItem(nMakeIndex, 1)
print("[" .. actorname .. "]人物获得物品后触发[" .. itemName .. "]")
end |
联系QQ: |
隐藏内容 |
--人物获得物品后触发
--参数:actor-人物 item-物品对像
function PlayAddItemEnd(actor, item)
local actorname = actor:getCharName()
local itemName = item:getName() --名称
local nMakeIndex = item:getMakeIndex()
actor:takeOnItem(nMakeIndex, 1)
print("[" .. actorname .. "]人物获得物品后触发[" .. itemName .. "")
end
|
|