antiblock
Elveron
  • Chatbox

    You don't have permission to chat.
    Load More
  • 0
Sign in to follow this  
André.

Exp Ao Matar Jogadores

Question

pc.changegold(QUANTIDADE)

pc.give_exp2(QUANTIDADE)

 

 

 

 

 

Boas se eu puser aqueles dados em quest.. os jogadores upam a matar players?

Share this post


Link to post
Share on other sites

5 answers to this question

  • 0

se quiseres eles a ganharem exp mais um item : 

quest itemkill begin
    state start begin
        when kill with npc.is_pc() begin
            local item = {27990,27990,27990,27992,27993,27994,27990,27990}
            local itemrandom = number(1, table.getn(item))
            game.drop_item_with_ownership(item[itemrandom])
            pc.change_alignment(number(150,300))
            if pc.get_level() > 104 then
                return
            end
            if pc.get_level() < 96 then
                pc.give_exp2(2100000000/5)
            end
            if pc.get_level() > 95 and pc.get_level() < 101 then
                pc.give_exp2(2100000000/10)
            end
            if pc.get_level() > 100 then
                pc.give_exp2(2100000000/15)
            end
        end
    end
end

Share this post


Link to post
Share on other sites
antiblock
Elveron
  • 0

podes fazer a quest mas sem os itens sff? somente o exp ! se conseguires a dar 5% de EXP ia ser muito bom ! DAVA +1 em todos os teus tópicos !

Share this post


Link to post
Share on other sites
  • 0
quest itemkill begin
    state start begin
        when kill with npc.is_pc() begin
            game.drop_item_with_ownership(item[itemrandom])
            pc.change_alignment(number(150,300))
            if pc.get_level() > 104 then
                return
            end
            if pc.get_level() < 96 then
                pc.give_exp2(2100000000/5)
            end
            if pc.get_level() > 95 and pc.get_level() < 101 then
                pc.give_exp2(2100000000/10)
            end
            if pc.get_level() > 100 then
                pc.give_exp2(2100000000/15)
            end
        end
    end
endOnde está pc.give_exp2(numero/numero) Botas a exp de 5% eu não sei quanto exp é xd

Share this post


Link to post
Share on other sites
  • 0

obg !  irei testar

Share this post


Link to post
Share on other sites
  • 0

quest exp beginstate start beginwhen kill with npc.is_pc() beginpc.changegold(yang)pc.give_exp2(exp)endendendbasicamente e só istoP.S.: a quest ke o UNK3N0W7 (a 2ª n funciona, pk tem o drop item, mas n tem o array dos itens logo ia dar erro

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this