--死亡物品掉落回调(返回值决定是否可以爆出物品)
--actor:死亡对像 killActor:击杀者对像 item:物品对像
function on_DieDropItem(actor, killActor, item)
local actorname1 = actor:getCharName()
local itemName1 = item:getName()--名称
local killname1 = killActor:getCharName()
local RaceId1 = actor:getRace()--死亡者的种族ID
local RaceId2 = killActor:getRace()--击杀者的种族ID
print(actorname1.."]死亡爆出物品["..itemName1.."]种族["..RaceId1.."]--[死亡物品掉落回调]")
return true
--return false
end