Jump to content

Recommended Posts

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

quest sztabki begin
    state start begin
        when kill with not npc.is_pc() begin
            local count = math.random(10)
            if count == 10 then
                pc.give_item2(80007, 1)
            end
        end
    end
end

 

That's the quest.

Link to comment
Share on other sites

  • Former Staff

Try this quest if you want

quest anOS_kill_system begin
    state start begin
        when kill begin
            if game.get_event_flag("anOS_STAT") == 1 and not npc.is_pc() then
                if math.random(1,50) == 1 then    
                    game.drop_item_with_ownership(299)    
                end
            end
        end
        when 20094.chat." GM : drop system CP " with pc.is_gm() begin
            local STATUS = game.get_event_flag("anOS_STAT")
            say('Welcome to the drop system CP[ENTER]dropsystem is '..({'activated','deactivated'})[STATUS+1])
            if select(({'Activate','Deactivate'})[STATUS+1],'Close') == 2 then return end
            if STATUS == 0 then
                syschat'Drop system has been activated'
                game.set_event_flag("anOS_STAT",1)
            elseif STATUS == 1 then
                syschat'Drop system has been deactivated'
                game.set_event_flag("anOS_STAT",0)
            end
        end
    end
end

 


 
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.