Files
2026-06-01 12:46:52 +02:00

40 lines
846 B
Lua

function check_Is_Blue_boss_card(handle)
local code = get_item_code( handle )
local carte_boss_red = {307001,307002,307003,307004,307005,307006,307007,307008,307009,307010,307011,307012,307013,307014,307015,307016,307017,307018,307019,307020,307021,307022,307023,307024,307025,307026,307027,307029,307030,307031,307032,307033,307034,307035,307036}
local carte_boss_blue = {6084171,710000017,710000018,710000019,710000020,710000021,720000013}
--[[
for i = 1 , table.getn(carte_boss_red) do
if code == carte_boss_red[i] then
return "red"
end
end
]]--
for i = 1 , table.getn(carte_boss_blue) do
if code == carte_boss_blue[i] then
return "true"
end
end
return "false"
end
function check_item_in_belt()
for i = 0 , 7 do
code = get_item_in_belt(i) -- cprint(get_item_in_belt(0))
cprint("@" .. get_item_name_id (code))
end
end