29 lines
751 B
Lua
29 lines
751 B
Lua
function loot()
|
|
|
|
info = get_monster_info()
|
|
if info == 0 then
|
|
cprint("No Monster Target")
|
|
return
|
|
end
|
|
|
|
monsterh = get_target_value("monster_id")
|
|
if monsterh ~= nil or monsterh ~= "" then
|
|
set_env(gv("account").."loot" , "http://62.210.125.20/loottool/loot3.php?m_id="..tostring(monsterh).."&" )
|
|
open_popup_and_set_size( gv("account").."loot" , 900, 700, 1, 0 )
|
|
end
|
|
end
|
|
|
|
function loot2()
|
|
|
|
info = get_monster_info()
|
|
if info == 0 then
|
|
cprint("No Monster Target")
|
|
return
|
|
end
|
|
|
|
monsterh = get_target_value("monster_id")
|
|
if monsterh ~= nil or monsterh ~= "" then
|
|
set_env(gv("account").."loot2" , "http://62.210.125.20/loottool/loot3.php?m_id="..tostring(monsterh).."&" )
|
|
open_popup_and_set_size( gv("account").."loot2" , 900, 700, 1, 0 )
|
|
end
|
|
end |