|
发表于 2022-6-23 09:29:41
|
显示全部楼层
require("s.share")
require("s.obj")
require("s.ini")
function DropItemToBag(actor, killactor, item)
local RaceId = killactor:getRace()
local actorname = actor:getCharName()
local itemName = item:getName()
local killname = killactor:getCharName()
local actRaceId = actor:getRace()
local monName = actor:getCharName()--首领名单
local CH = killactor:checkFengHao('自动入包开启中')
local Quest702 = killactor:getQuest(88)--等同于脚本 check [1] 0
if s.share.checkListText("..\\Envir\\QuestDiary\\自动捡物配置\\自动捡物.txt", itemName, 0,"Force") == 1 and Quest702 > 0 then
if s.share.checkListText("..\\Envir\\QuestDiary\\自动捡物配置\\自动拾取怪物名单.txt", actor:getCharName(), 0,"Force") == 1 then
return true
end
end
return false
end
function DropItemToBag2(player, itme)
player:runScript("@开始回收装备")
end
|
|