wieso machste da eig 1000 ends unten dran xD
probier mal this
probier mal this
Code:
quest armortrade2 begin
state start begin
when 9001.chat."110er zur 120er Rüstung Uppen" begin
say("Hey Landratte")
say("Möchtest du deine Lv110 Rüstung zur Lv120 Rüstung Uppen?")
say("")
say("Es kostet dich 100000000 Yang, 10x Plasma Perlen, 10x Violetter Kristall, 10x Weißer Kristall.")
local a=select("Ja, Krieger","Ja, Sura","Ja, Ninja","Ja, Schamane","Nein Danke")
if 1==a then
if pc.money>=100000000 and pc.count_item("13229")>=1 and pc.count_item("33012")>=10 and pc.count_item("33014")>=10 and pc.count_item("33015")>=10 then
pc.changemoney(-100000000)
pc.removeitem("13229", 1)
pc.removeitem("33012", 10)
pc.removeitem("33014", 10)
pc.removeitem("33015", 10)
say("Hier hast du eine")
say("Level 120er Krieger Rüstung")
pc.give_item2("13250", 1)
else
say("Ok")
say("Dann nicht")
say("Hast bestimmt wichtigeres zu tun.")
end
elseif 2==a then
if pc.money>=100000000 and pc.count_item("13219")>=1 and pc.count_item("33012")>=10 and pc.count_item("33014")>=10 and pc.count_item("33015")>=10 then
pc.changemoney(-100000000)
pc.removeitem("13219", 1)
pc.removeitem("33012", 10)
pc.removeitem("33014", 10)
pc.removeitem("33015", 10)
say("Hier hast du eine")
say("Level 120er Sura Rüstung")
pc.give_item2("13280", 1)
else
say("Ok")
say("Dann nicht")
say("Hast bestimmt wichtigeres zu tun.")
end
elseif 3==a then
if pc.money>=100000000 and pc.count_item("13239")>=1 and pc.count_item("33012")>=10 and pc.count_item("33014")>=10 and pc.count_item("33015")>=10 then
pc.changemoney(-100000000)
pc.removeitem("13239", 1)
pc.removeitem("33012", 10)
pc.removeitem("33014", 10)
pc.removeitem("33015", 10)
say("Hier hast du eine")
say("Level 120er Ninja Rüstung")
pc.give_item2("13270", 1)
else
say("Ok")
say("Dann nicht")
say("Hast bestimmt wichtigeres zu tun.")
end
elseif 4==a then
if pc.money>=100000000 and pc.count_item("13249")>=1 and pc.count_item("33012")>=10 and pc.count_item("33014")>=10 and pc.count_item("33015")>=10 then
pc.changemoney(-100000000)
pc.removeitem("13249", 1)
pc.removeitem("33012", 10)
pc.removeitem("33014", 10)
pc.removeitem("33015", 10)
say("Hier hast du eine")
say("Level 120er Schamanen Rüstung")
pc.give_item2("13260", 1)
else
say("Ok")
say("Dann nicht")
say("Hast bestimmt wichtigeres zu tun.")
end
elseif 5==a then
return
end
end
end
end