Hey
Index anpassen 41 ist z.B. Map1 Blau.
PHP Code:
quest test begin
state start begin
when kill with pc.get_map_index() == 41 begin
if npc.is_pc() then
chan = math.random(1, 5)
if chan == 1 then
game.drop_item_with_ownership(101, 1)
end
end
end
end
end