antiblock
https://i.imgur.com/aJ17bf7.gif
  • Chatbox

    You don't have permission to chat.
    Load More
  • 0
Sign in to follow this  
DeekS

Quest Ou Pergaminho Reniciar Skills

Question

Boas , pessoal estou ussando as files do Invoice no meu servidor e ja desbugai tudo menos 3 4 coisinhas , queria saber sé alguém sabe resolver a cena de reniciar as hablidades é que o item 70001 só esta a reniciar os status agradeçai ajuda deixo o meu skype

 

 

 

 

skype: mystersonny

Share this post


Link to post
Share on other sites

3 answers to this question

  • 0
quest reset_scroll begin    state start begin        when 71002.use begin--- lsay_title("Reiniciar Status")say("Então queres")say("realmente que o teu status")say("seja reiniciado?")say("")local s = select("Sim", "Não")if 2 == s thenreturnendsay_title("Reiniciar status!")say("Quer mesmo reiniciar os status?")say("")local c = select("Sim!", "Vou pensar no assunto...")if 2 == c thenreturnendchar_log(0, "RESET_ALL", "USE_ITEM(71002)")pc.remove_item(71002)char_log(0, "RESET_ALL", "RESET_STAT_POINTS")pc.reset_point()char_log(0, "RESET_ALL", "RESET_SKILL_POINTS")pc.clear_skill()pc.set_skill_group(0)char_log(0, "RESET_ALL", "RESET_END")endwhen 71003.use begin--- lsay_title("Redistribuição de habilidades")say_reward("Queres as skills passadas a 17?")say_reward("Se eu te reiniciar essa skill,")say_reward("apenas obterás 17 pontos!")local result = BuildSkillList(pc.get_job(), pc.get_skill_group())local vnum_list = result[1]local name_list = result[2]if table.getn(vnum_list) < 2 thensay("Não há nenhuma habilidade que possa ser reiniciada!")say("")returnendsay("Que habilidade desejas reiniciar?")say("")local i = select_table(name_list)if table.getn(name_list) == i thenreturnendlocal name = name_list[i]local vnum = vnum_list[i]say_reward("Quere confirmar a ação?")say(string.format("Reiniciar %s?", name))say("")local s = select("Sim", "Não")if 2 == s thenreturnendsay_title("Redistribuição de habilidades")say("Depois de ser reiniciado, não há volta atrás.")say("Quer mesmo fazê-lo?")say("")local c = select("Sim", "Não")if 2 == c thenreturnend----local val = pc.getqf("force_to_master_skill")--if val > 0 then--- l-- say_title("Sucesso!")-- say("Reiniciei a tua skill. ")-- say("Tens agora 17 pontos para redistribuir. ")-- say("")-- return--endchar_log(0, "RESET_ONE_SKILL", "USE_ITEM(71003)")pc.remove_item(71003)char_log(0, "RESET_ONE_SKILL", string.format("RESET_SKILL[%s]", name))pc.clear_one_skill(vnum)char_log(0, "RESET_ONE_SKILL", "APPLY_17MASTER_BONUS")pc.setqf("force_to_master_skill", 1)say_title("Concluído!")say(string.format("%s Foi redistribuido.", name))say("")--- lsay_reward("A redistribuição de habilidades está completa.")say("")endendend

uso essa quest pra resetar status e habilidades cmg funciona.

Share this post


Link to post
Share on other sites
antiblock
Rodnia | Alpha & Omega
  • 0

Ok irei tentar mas tenho de substituir por alguma quest?

Share this post


Link to post
Share on other sites
  • 0

não seio

vê se vc tem a quest já se tiver substitui e se não tiver coloca.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this