Jump to content

Recommended Posts

Posted

Bueno pues nada, que anduve inventando un poco la cosa y nada que hice 1 quest de esas que matas un personaje y te da exp, pero con una "tabla" de experiencia, o sea, la experiencia de cada nivel se divide por X (en mi caso 50) y a cada nivel recibirás Y experiencia, y necesitaras esas X muertes para levear xD, hice dos, una con el npc.get_vid y otra sin pero bueno supongo que habrá sido solo pa complicar xD

 

La quest: http://pastebin.com/jHycPJG3

 

Saludos.

 

PD: KeKo a ver si te animas y haces otro tema pa enseñarnos mas e.e Y sí, el function fué pa variar tbn xD

Posted

PD: KeKo a ver si te animas y haces otro tema pa enseñarnos mas e.e Y sí, el function fué pa variar tbn xD

 

Yo estoy muy oxidado ya, llevo meses sin programar xd

Posted

Yo estoy muy oxidado ya, llevo meses sin programar xd

:(XDDD Na si lo decía de coña, mirando otras quests también se aprende, y mucho ^^
Posted

Yo aprendo arto e.e , pero igual algunos comandos no me salen xD , pero se puede decir que nosotros somos unos de los que mas aportan en quest (?

 

Se puede decir que sois los que aportais quest, esa seccion esta de capa caida xd

  • 1 year later...
Posted

 

 

quest expvp begin
state start begin
function setLevel(lvl)
while pc.get_level() < lvl do
pc.give_exp2(pc.get_next_exp())
end
end
when login begin --with pc.getqf("nivel") == 0 begin
-- pc.setqf("nivel", 1)
expvp.setLevel(70)
end
when kill with npc.is_pc() begin
local tabela_exp = {
-- Nível Experiência
[70] = {77310000},
[71] = {85040000},
[72] = {93540000},
[73] = {102900000},
[74] = {113500000},
[75] = {121000000},
[76] = {137000000},
[77] = {150700000},
[78] = {165700000},
[79] = {236990000},
[80] = {260650000},
[81] = {286780000},
[82] = {315000000},
[83] = {346970000},
[84] = {381680000},
[85] = {419770000},
[86] = {461760000},
[87] = {508040000},
[88] = {558740000},
[89] = {614640000},
[90] = {676130000},
[91] = {743730000},
[92] = {1041222000},
[93] = {1145344200},
[94] = {1259878620},
[95] = {1385866482},
[96] = {1524453130},
[97] = {1676898443},
[98] = {1844588288},
[99] = {2029047116},
[100] = {2050000000},
[101] = {2060000000},
[102] = {2070000000},
[103] = {2080000000},
[104] = {2090000000},
[105] = {2100000000}
}
if pc.get_empire == npc.get_empire() then
if pc.get_real_alignment() >= 0 then
-- if pc.select(npc.get_vid()) != 0 then
-- local qf = pc.getqf("nivel")
-- local npc_alignment = pc.get_real_alignment()
-- pc.select(pc.select(npc.get_vid()))
-- if qf != 0 and npc_alignment >= 0 then
pc.give_exp2(tabela_exp[pc.get_level()][1] / 50)
-- end
-- end
end
end
end
end
end

 

 

 

No vale tu navegador.

._.  ._.  ._.  ._.

Posted

 

 

quest expvp begin
state start begin
function setLevel(lvl)
while pc.get_level() < lvl do
pc.give_exp2(pc.get_next_exp())
end
end
when login begin --with pc.getqf("nivel") == 0 begin
-- pc.setqf("nivel", 1)
expvp.setLevel(70)
end
when kill with npc.is_pc() begin
local tabela_exp = {
-- Nível Experiência
[70] = {77310000},
[71] = {85040000},
[72] = {93540000},
[73] = {102900000},
[74] = {113500000},
[75] = {121000000},
[76] = {137000000},
[77] = {150700000},
[78] = {165700000},
[79] = {236990000},
[80] = {260650000},
[81] = {286780000},
[82] = {315000000},
[83] = {346970000},
[84] = {381680000},
[85] = {419770000},
[86] = {461760000},
[87] = {508040000},
[88] = {558740000},
[89] = {614640000},
[90] = {676130000},
[91] = {743730000},
[92] = {1041222000},
[93] = {1145344200},
[94] = {1259878620},
[95] = {1385866482},
[96] = {1524453130},
[97] = {1676898443},
[98] = {1844588288},
[99] = {2029047116},
[100] = {2050000000},
[101] = {2060000000},
[102] = {2070000000},
[103] = {2080000000},
[104] = {2090000000},
[105] = {2100000000}
}
if pc.get_empire == npc.get_empire() then
if pc.get_real_alignment() >= 0 then
-- if pc.select(npc.get_vid()) != 0 then
-- local qf = pc.getqf("nivel")
-- local npc_alignment = pc.get_real_alignment()
-- pc.select(pc.select(npc.get_vid()))
-- if qf != 0 and npc_alignment >= 0 then
pc.give_exp2(tabela_exp[pc.get_level()][1] / 50)
-- end
-- end
end
end
end
end
end

 

 

 

No vale tu navegador.

._.  ._.  ._.  ._.

Gracias nene, XD

no sé porque no funciona en Google Chrome

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

This site uses cookies to enhance your browsing experience and provide relevant content. By continuing to browse, you agree to our We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. and Terms of Use. For more information on how we protect your data, please check our Privacy Policy.