Hi Friends !
A new quest..
The Devil's Catacomb Score System..
Good Forums..
A new quest..
The Devil's Catacomb Score System..
PHP Code:
-------------------
-- TheRestroyer TM
-- The Devils Catacomb Score System
-- Elitepvpers.com
-------------------
quest catacomb_score_system begin
state start begin
when login with pc.get_map_index() == 712 begin
if pc.getqf("start") == 0 then
pc.setqf("start",1)
pc.setqf("puanscore", pc.getqf("puanscore")+1)
end
end
when azrael.kill with pc.get_map_index() == 712 begin
local puanscore = pc.getqf("puanscore")
pc.setqf("puanscore", pc.getqf("puanscore")+1)
d.notice(""..pc.get_name().." "..puanscore.." Cut ! ")
chat("Hi Mysterious Warrior !")
chat("The Devils Catacomb Score System A Welcome")
chat("1 Points you win")
chat("50 Points = Helmet(Level)")
chat("100 Points = Turquoise Armor")
chat("200 Points = Hwang Armor")
chat("")
if pc.getqf("puanscore") == 50 then
say_title("TheRestroyer TM")
say("")
say("Hi 50 Points on the Helmet Can.")
local s = select("Get !", "Continue")
if s == 1 then
if pc.job == 0 then
pc.give_item2("value1",1)
pc.setqf("puanscore", pc.getqf("puanscore")-50)
end
if pc.job == 1 then
pc.give_item2("value1",1)
pc.setqf("puanscore", pc.getqf("puanscore")-50)
end
if pc.job == 2 then
pc.give_item2("value1",1)
pc.setqf("puanscore", pc.getqf("puanscore")-50)
end
if pc.job == 3 then
pc.give_item2("value1",1)
pc.setqf("puanscore", pc.getqf("puanscore")-50)
end
end
if s == 2 then
chat("Ok..")
end
if pc.getqf("puanscore") == 100 then
say_title("TheRestroyer TM")
say("")
say("Hi get 100 points on the Turquoise armor.")
local s1 = select("Get !", "Continue..")
if s1 == 1 then
if pc.job == 0 then
pc.give_item2("value1",1)
pc.setqf("puanscore", pc.getqf("puanscore")-100)
end
if pc.job == 1 then
pc.give_item2("value1",1)
pc.setqf("puanscore", pc.getqf("puanscore")-100)
end
if pc.job == 2 then
pc.give_item2("value1",1)
pc.setqf("puanscore", pc.getqf("puanscore")-100)
end
if pc.job == 3 then
pc.give_item2("value1",1)
pc.setqf("puanscore", pc.getqf("puanscore")-100)
end
end
if s1 == 2 then
chat("Ok..")
end
end
if pc.getqf("puanscore") == 200 then
say_title("TheRestroyer TM")
say("")
say("Hi 200 Points can Come Hwang Armor..")
local s2 = select("Get !", "Continue..")
if s2 == 1 then
if pc.job == 0 then
pc.give_item2("value1",1)
pc.setqf("puanscore", pc.getqf("puanscore")-200)
end
if pc.job == 1 then
pc.give_item2("value1",1)
pc.setqf("puanscore", pc.getqf("puanscore")-200)
end
if pc.job == 2 then
pc.give_item2("value1",1)
pc.setqf("puanscore", pc.getqf("puanscore")-200)
end
if pc.job == 3 then
pc.give_item2("value1",1)
pc.setqf("puanscore", pc.getqf("puanscore")-200)
end
end
end
if s2 == 2 then
pc.setqf("puanscore", pc.getqf("puanscore")-200)
end
end
end
end
end