antiblock
Rodnia | Alpha & Omega
  • Chatbox

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

Quest Dando Core Dumped

Question

Boa tarde

a quest que quero upar fica aparecendo (Core Dumped)

quest Level_Up begin

state start begin

when levelup begin

if pc.get_level() == 10 then

notice_all ( "[Anúncio]: " .. pc . name .. " alcançou o nível 10. Parabéns!" )

end

if pc.get_level() == 20 then

notice_all ( "[Anúncio]: " .. pc . name .. " alcançou o nível 20. Parabéns!" )

end

if pc.get_level() == 30 then

notice_all ( "[Anúncio]: " .. pc . name .. " alcançou o nível 30. Parabéns!" )

end

if pc.get_level() == 40 then

notice_all ( "[Anúncio]: " .. pc . name .. " alcançou o nível 40. Parabéns!" )

end

if pc.get_level() == 50 then

notice_all ( "[Anúncio]: " .. pc . name .. " alcançou o nível 50. Parabéns!" )

end

if pc.get_level() == 60 then

notice_all ( "[Anúncio]: " .. pc . name .. " alcançou o nível 60. Parabéns!" )

end

if pc.get_level() == 70 then

notice_all ( "[Anúncio]: " .. pc . name .. " alcançou o nível 70. Parabéns!" )

pc.give_item2(71153)

end

if pc.get_level() == 80 then

notice_all ( "[Anúncio]: " .. pc . name .. " alcançou o nível 80. Parabéns!" )

pc.give_item2(71153)

end

if pc.get_level() == 90 then

notice_all ( "[Anúncio]: " .. pc . name .. " alcançou o nível 90. Parabéns!" )

pc.give_item2(71153)

end

if pc.get_level() == 99 then

notice_all ( "[Anúncio]: " .. pc . name .. " alcançou o nível 99. Será que estamos prestes a ver alguém se tornar um grande mito?" )

pc.give_item2(71153)

end

if pc.get_level() == 100 then

notice_all ( "[Anúncio]: " .. pc . name .. " alcançou o nível 100. Será que estamos prestes a ver alguém se tornar um grande mito?" )

pc.give_item2(80008)

end

if pc.get_level() == 101 then

notice_all ( "[Anúncio]: " .. pc . name .. " alcançou o nível 101. Será que estamos prestes a ver alguém se tornar um grande mito?" )

pc.give_item2(80008)

end

if pc.get_level() == 102 then

notice_all ( "[Anúncio]: " .. pc . name .. " alcançou o nível 102. Será que estamos prestes a ver alguém se tornar um grande mito?" )

pc.give_item2(80008)

end

if pc.get_level() == 103 then

notice_all ( "[Anúncio]: " .. pc . name .. " alcançou o nível 103. Será que estamos prestes a ver alguém se tornar um grande mito?" )

pc.give_item2(80008)

end

if pc.get_level() == 104 then

notice_all ( "[Anúncio]: " .. pc . name .. " alcançou o nível 104. Será que estamos prestes a ver alguém se tornar um grande mito?" )

pc.give_item2(80008)

end

if pc.get_level() == 105 then

notice_all ( "[Anúncio]: Os desafios foram vencidos e " .. pc . name .. " alcançou o nível 105! Parabéns!" )

pc.give_item2(80008)

end

end

end

end

Poderiam me ajudar ?

Share this post


Link to post
Share on other sites

3 answers to this question

  • 0

Reformulei e corrigi a quest, não testei mas não deve estar nada errado.

 

Já agora, não adicionei as falas.

 

http://pastebin.com/Ats5qd0y

 

 

Cumprimentos.

Share this post


Link to post
Share on other sites
antiblock
Cyphriun
  • 0

usa o levelup com o with inves de fazer levelup com if

Share this post


Link to post
Share on other sites
  • 0

Obrigado funcionou

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this