Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- when 2493.kill with pc.get_map_index() == 208 begin
- char_log(pc.get_player_id(), 'LAIR', pc.get_channel_id() ..' DRAGON KILLED')
- game.set_event_flag("dragon_lair_alive", 0) -- dragon is dead
- game.drop_item_with_ownership(71123, 4) -- dropping dragon scale
- game.drop_item_with_ownership(71129, 3) -- dropping toe nail
- notice_multiline(string.format(gameforge.dragon_lair_access._180_notice, pc.name), notice_all) -- the dragon has been killed by <name>!
- local settings = dragon_lair_access.get_settings()
- purge_area(settings.room_area.first.x, settings.room_area.first.y, settings.room_area.last.x, settings.room_area.last.y)
- end
Advertisement
Add Comment
Please, Sign In to add comment