Funktioniert einwandfrei.
Danke schön!
Danke schön!
quest permtiere2 begin
state start begin
when 71115.use begin --Keiler
if pc.is_mount(20110) then
pc.unmount()
else
pc.mount(20110, 60*60*24*365)
end
end
when 71117.use begin --Wolf
if pc.is_mount(20111) then
pc.unmount()
else
pc.mount(20111, 60*60*24*365)
end
end
when 71119.use begin --Tiger
if pc.is_mount(20112) then
pc.unmount()
else
pc.mount(20112, 60*60*24*365)
end
end
when 71121.use begin --Löwe
if pc.is_mount(20113) then
pc.unmount()
else
pc.mount(20113, 60*60*24*365)
end
end
end
end
when ITEM.use begin
when ITEM.use with pc.get_level() >= 100 begin
per quest?Quote:
@.Delta
ich weis nich ab dazu gehört aber ich frag einfach mal :)
wie macht man das das man das item ab lv 100 droppt? (und vllt noch da man es ab lv 150 nicht mehr droppt)
were nett ;)
when MOB1.kill or MOB2.kill begin
if pc.get_level() >= 100 and pc.get_level() < 150 then
local ch = number(1, 100)
if ch <= 15 then
game.drop_item(VNUM, 1)
emd
end
end
quest drache begin
state start begin
when 2493.kill begin
notice_all(""..pc.get_name().." hat den Wasserdrachen bezwugen!")
local r=number(1, 3)
if r == 1 then
game.drop_item(27991, 1)
chat("Du hast einen Wasserstein gedroppt")
elseif r == 2 then
game.drop_item(11299, 1)
chat("Du hast einen Schwarzstahlpanzer+9 gedroppt")
elseif r == 3 then
game.drop_item(149, 1)
chat("Du hast ein Schlachtschwert+9 gedroppt")
end
end
end
end
game.drop_item(VNUM, 1)
pc.give_item2(VNUM, 1)
quest siegel begin
state start begin
when 71120.use with not pc.is_mount() begin
pc.mount(20113,60*60*24*365)
affect.add_collect(apply.ATT_GRADE_BONUS,300,900)
affect.add_collect(apply.DEF_GRADE_BONUS,200,900)
end
when 71120.use with pc.is_mount() begin
pc.unmount()
end
end
end
quest siegel begin
state start begin
when 71120.use with not pc.is_mount() begin
if get_time() > pc.getqf("reitboni") then
pc.mount(20113,60*60*24*365)
affect.add_collect(apply.ATT_GRADE_BONUS,300,900)
affect.add_collect(apply.DEF_GRADE_BONUS,200,900)
pc.setqf("reitboni", get_time()+900)
else
pc.mount(20113,60*60*24*365)
chat("Keine Boni erhalten")
end
end
when 71120.use with pc.is_mount() begin
pc.unmount()
end
end
end