Jump to content
TLThings

Quest Yang Bug Fix


Recommended Posts

Estava aqui a ver uns quantos ficheiros de metin que aqui tenho e encontrei isto, pode ser que dê jeito a alguém.

Função: Verifica o yang e troca-o por uma barra de ouro.

Obs: verificar se o vosso item 80007 é o da barra de 1M.

quest yang_bug_fix begin
state start begin
when kill or levelup or login begin
if pc.get_gold() >= (1970000000) then
timer("yang_bug", 1)
end
end
when yang_bug.timer begin
say_title ("Ai prea mult yang in inventar.")
say ("Ai depasit suma de 1.970.000.000 yang. ")
say ("Ti-au fost retrasi 1.000.000.000 yang de pe cont.")
say ("In schimb ai primit un lingou de un 1.000.000.000 yang!")
pc.changegold(-1000000000)
pc.give_item2 (80007,1)
end
end
end

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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.