Jump to content

Quest Pvp


Magician

Recommended Posts

fonte : Cyber-gameres

quest player_kill begin
state start begin
when login or levelup or enter with pc.get_level() >= 80 begin
set_state(player_kill1)
end
end
state player_kill1 begin
when letter begin
send_letter("Quest PvP!")
end
when button or info begin
say_title("By TheSubKiller")
say("Olá jovem lutador.")
say("Queres ganhar muito dinheiro?")
say("Mata apenas 30 player.")
say("Nem sabes que recompensa te espera.")
say_reward("Mata 30 player!")
say("")
pc.setqf("state", 30)
q.set_counter("kills", 30)
set_state (kill)
end
end
state kill begin
when letter begin
send_letter("Quest PvP!")
end
when button or info begin
say_title("Tarefa:")
say_reward( " Podes matar player de outros reinos "..pc.getqf("state").." depois apenas cobra a tua recompensa.")
say("")
end
when kill begin
if npc.is_pc() and npc.empire != pc.empire then
local count = pc.getqf("state") - 1
if count <= 30 then
pc.setqf("state", count)
q.set_counter("kills", -count)
end
if count == 0 then
say_title("Parabéns!")
say("Acabaste de matar os 30 player!")
say("Agora terás a tua recompensa.")
say_reward("Tens +100 de defesa para sempre..")
say_reward("Tens +500.000.000 Exp")
say_reward("Tens +100.000.000 Yang")
affect.add_collect(apply.DEF_GRADE_BONUS,100,60*60*24*365*60)
pc.change_money(100000000)
pc.give_exp2(500000000)
chat("".. pc.get_name() .." !")
chat(" Agora és um grande assassino!")
clear_letter()
set_state(__COMPLETE__)
end
end
end
end
state __COMPLETE__ begin
end
end

  • Like 1
Link to comment
Share on other sites

  • 3 years later...

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
×
×
  • Create New...