[QUEST] PvP - Kill Player = Exp

04/13/2014 19:43 asusta099#1
Hi Epvp, The quest is PvP many users sought the quest.
The function of the quest is kill one player and exchange exp and sum the amount of player kills.

The quest is basic.

Quote:

quest player_kill1 begin
state start begin
when login or levelup with pc.level >= 1 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("Want to gain experience?.")
say("destroy your rivals,")
say("So Get ready!")
say_reward("Remember to be from another realm")
say("")
q.set_counter("kills", 0)
set_state(kill)
end
end

state kill begin
when letter begin
send_letter("Destroy Player")
end

when button or info begin
say_title("Player:")
say_reward("You destroyed "..pc.getqf("state").." player")
say("")
end

when kill begin
if npc.is_pc() and npc.empire != pc.empire then
local count = pc.getqf("state") + 1
if count >= 0 then
q.set_counter("kills", count)
pc.give_exp2(20000)
end
elseif count == 0 then
say("¡Not destroyed user!")
end
end
end
end
I explain the quest.

The quest start you select of lvl start, on the case is higher or = 1. if you lvl is correct the quest start.

Quote:
when login or levelup with pc.level >= 1 begin
set_state(player_kill1)
end
Is button info, you write you history :D.
In q.set_counter("kills", 0), start in 0.

Quote:
when button or info begin
say("Want to gain experience?.")
say("destroy your rivals,")
say("So Get ready!")
say_reward("Remember to be from another realm")
say("")
q.set_counter("kills", 0)
set_state(kill)
end
if you kill one user, sum exp on the case experience multiplied by 2, if pc.give_exp2(20000) the exp sum is 40,000 and if pc.give_exp2(10000) the exp sum is 20,000.

Quote:
when kill begin
if npc.is_pc() and npc.empire != pc.empire then
local count = pc.getqf("state") + 1
if count >= 0 then
q.set_counter("kills", count)
pc.give_exp2(20000)
end
elseif count == 0 then
say("¡Not destroyed user!")
end
end
end
Give thanks if you're interested, it costs nothing...


Edit... explain of the quest.
04/13/2014 19:55 Bostanin Edhe#2
The quest there are already right? in any case, I've seen it before somewhere.
@ thanks for sharing!
04/13/2014 19:58 Jinbei#3
[Only registered and activated users can see links. Click Here To Register...]
^Quests like this exist already.

kind regards
04/13/2014 20:08 asusta099#4
The other quest is kill 100 player. Mission completed.
This quest is kill a player and goes on if I have misunderstood.

I looked for such a mission and could not find it. But still if you are already saved them the trouble to look.
04/14/2014 10:13 ~Ok#5
Wtf? Please explain.
04/14/2014 11:06 Lord iRemix#6
Quote:
Originally Posted by asusta099 View Post
The other quest is kill 100 player. Mission completed.
This quest is kill a player and goes on if I have misunderstood.

I looked for such a mission and could not find it. But still if you are already saved them the trouble to look.
There is no limit for the kills.
Did you tested the quest?
04/14/2014 18:40 asusta099#7
Quote:
Originally Posted by ~Ok View Post
Wtf? Please explain.
I already put one short explain on the topic.


Quote:
Originally Posted by [iRemix] View Post
There is no limit for the kills.
Did you tested the quest?

No the quest no have limit for the kills. If you kill one pc. sum exp...