M Next
Gostaria de reagir a esta mensagem? Crie uma conta em poucos cliques ou inicie sessão para continuar.

[QUEST] Anti Exp Ring & Voodoo Armband

M Next :: Metin2 :: Quests

Ir para baixo

[QUEST] Anti Exp Ring & Voodoo Armband Empty [QUEST] Anti Exp Ring & Voodoo Armband

Mensagem por Siuky Qua Ago 24, 2016 3:29 pm

Boas,

Hoje trago-vos duas quests, uma delas que é um Anel Anti Exp e a outra é um item que transforma um player em um monstro por um breves instantes.


Goddess Doll - Anti Exp

Código:
quest exp_curse begin
 state start begin
 when 70210.use begin
 pc.setqf("lastexp",pc.get_exp())
 syschat("You are under the curse of the goddess. You will gain no experience.")
 set_state(use)
 end
 end
 
 state use begin
 when 70210.use begin
 syschat("You lifted the curse of the goddess. You gain experience again.")
 set_state(start)
 end
 
 when login begin
 syschat("You are currently under the curse of the goddess and gain no experience.")
 end
 
 when kill or party_kill begin
 local current = pc.get_exp()
 local doll = pc.count_item(70210)
 if doll == 0 then
 syschat("The curse of the Goddess has lifted. You will gain Experience again.")
 set_state(start)
 end
 if current < pc.getqf("lastexp") then
 pc.setqf("lastexp",current)
 end
 if not npc.is_pc() then
 local dif = pc.get_exp()-pc.getqf("lastexp")
 pc.give_exp2(-dif)
 end
 end
 end
end


Voodoo Armband - Transforma player em monstros durante uns momentos.

Código:

quest polyplayer begin
 state start begin
 when 70111.use begin
 local start_count = pc.count_item(item.get_vnum()) -- to prevent usage of bugs only
 say_title("Voodoo Armband:")
 say("")
 say("Enter the name of the player you want to curse:")
 say("")
 local name = input()
 local vid = find_pc_by_name(name)
 if name == "" then
 return
 elseif name == pc.get_name() then
 say_title("Ring of Curse:")
 say("")
 say("You can not curse yourself.")
 say("")
 return
 elseif vid == 0 then
 say_title("Ring of Curse:")
 say("")
 say("This player is not online or does not exist.")
 say("")
 return
 elseif not pc.is_near_vid(vid, 50) then
 say_title("Ring of Curse:")
 say("")
 say("The player is too far away.")
 say("")
 return
 end
 
 if pc.count_item(item.get_vnum()) != start_count then
 return
 end
 
 local myvid = pc.select(vid)
 vnums = {2101, 20016, 20002, 11000, 5001, 992, 1301, 1303, 2191, 5161, 5162, 5163}
 i = number(1,12)
 pc.polymorph(vnums[i], 5*60)
 syschat("You have been cursed.")
 local victim = pc.get_name()
 pc.select(myvid)
 
 say_title("Voodoo Armband:")
 say("")
 say("The player "..victim.." is now cursed for 5 minutes.")
 say("")
 
 item.remove()
 
 
 end
 end
end

Espero que gostem destas duas quests,

Siuky king
Siuky
Siuky
Administrador
Administrador

Mensagens : 14
Data de inscrição : 14/08/2016
Idade : 27
Localização : Porto

https://mnext.directorioforuns.com

Ir para o topo Ir para baixo

Ir para o topo

- Tópicos semelhantes

M Next :: Metin2 :: Quests

 
Permissões neste sub-fórum
Não podes responder a tópicos