Code:
when login with pc.in_dungeon() and pc.get_map_index() >= 236*10000 and pc.get_map_index() <= 237*10000 begin
if d.getf("regened") == 0 then
d.notice("You have to kill monsters, before seeing a boss!")
d.regen_file("data/dungeon/asalijskieLochy/nefrytowa.txt")
d.set_warp_at_eliminate(2, pc.get_map_index(), 5120 + 171, 1536 + 242, "data/dungeon/asalijskieLochy/nefrytowaboss.txt")
end
d.setf("regened", 1)
end
when kill with npc.get_race() == 3491 and pc.in_dungeon() begin
d.notice("Time for smashing!")
d.set_warp_at_eliminate(2, pc.get_map_index(), 5120 + 421, 1536 + 244, "data/dungeon/asalijskieLochy/nefrytowa2.txt")
end






