--入夢新加杀死GM号扣除红利 100W
local selfName = GetName(sceneId, selfId)
if selfName == "入夢哇" then
if killerId ~= nil then
local selfName = GetName(sceneId, killerId)
local XYJ_HONGLI = GetMissionData(sceneId,killerId,XYJ_HONGLI)
if XYJ_HONGLI >= 1000000 then --大于等于100W直接清空
SetMissionData(sceneId,killerId,XYJ_HONGLI,0)
elseif XYJ_HONGLI < 100000 then --小于10W 证明恶意击杀,直接随机掉落装备
local Pos = {101,103,104,105,106,107,111,112,113,114}
LuaFnEraseItem( sceneId, killerId, Pos[random(1,10)])
elseif XYJ_HONGLI >= 100000 and XYJ_HONGLI < 1000000 then --不够100W但是比10W多可以欠着
SetMissionData(sceneId,killerId,XYJ_HONGLI,(XYJ_HONGLI-100000))
end
end
end