RefinementTower = {} function RefinementTower.MonsterDie(monsterActor, monsterCfgId) if monsterCfgId ~= 200101 then return end local unimapid = tonumber(getbaseinfo(monsterActor, "unimapid")) local mapid = tonumber(getbaseinfo(monsterActor, "mapid")) local info = getmapinfobyid(unimapid) local line = info.line local lifeNum = getmapmonstercountbyid(mapid, line, 200101, 1) if lifeNum > 0 then return end -- 把boss刷出来 mongenasync(unimapid, 77, 104, 1, 200102, 1) end