PHP Code:
quest drache begin
state start begin
when 2493.kill begin
notice_all(pc.name .." hat den Wasserdrachen getötet.")
local r=number(1, 3)
if 1==r then
game.drop_item(smaragti_id, 1)
chat("Du hast einen Smaragti gedroppt")
end
if 2==r then
game.drop_item(saphir_id, 1)
chat("Du hast einen Saphir gedroppt")
end
if 3==r then
game.drop_item(gift_id, 1)
chat("Du hast einen Gifti gedroppt")
end
end
end
end
IDs natürlich ersetzen ;O