搜索
查看: 89|回复: 1

[已处理] bug

 关闭 [复制链接]
发表于 2025-9-11 13:50:26 | 显示全部楼层 |阅读模式
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



发表于 2025-9-11 15:40:22 | 显示全部楼层
已收集
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|HGEM2论坛

GMT+8, 2025-10-14 09:55 , Processed in 0.509789 second(s), 17 queries .

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表