brauche vlt ma hilfe :D
thx im vorraus ;D
PHP Code:
quest elementar_ruessi begin
state start begin
when 70024.chat."Elementar Rüstung" begin
say_title("Extra-Item:")
say("Du möchtest also eine")
say("Elementar Rüstung haben?")
local s = select("Ja, Nein")
if s==1 then
say_title("Extra-Item:")
say("Du benötigst folgende Dinge:")
wait()
say_title("Du benötigst:")
say("200x Leere Flasche")
say("500x Weiße Perle")
say("550x Blaue Perle")
say("620x Rote Perle")
say("55x Heldensymbol")
say("5x Truhe des Blauen Tod")
local i = select("Fortfahren", "Abbrechen")
if i==1 then
if pc.count_item(27992) >= 500 and
pc.count_item(27993) >= 550 and
pc.count_item(27994) >= 620 and
pc.count_item(99999) >= 5 and
pc.count_item(50901) >= 200 then
pc.remove_item(27992,500)
pc.remove_item(27993,550)
pc.remove_item(27994,620)
pc.remove_item(99999,59)
pc.remove_item(50901,200)
if pc.job==0 then
pc.give_item2("11309", 1)
if pc.job==1 then
pc.give_item2("11509", 1)
if pc.job==2 then
pc.give_item2("11709", 1)
if pc.job==3 then
pc.give_item2("12009", 1)
say("")
say_reward("Du hast eine Elementar Rüstung erhalten.")
elseif say("Du hast nicht genug Materialien")
return
end
elseif
return
end
elseif
return
end
end
end
end