PHP Code:
quest rufrollen begin
state start begin
when 71036.use or 71037.use or 71038.use or 71039.use or 71040.use or 71041.use or 71042.use or 71043.use begin
if not rufrollen.map_allowed() then chat('Funktion auf dieser Map nicht möglich!') return end
mob.spawn(({[71036] = mobid,[71037] = mobid,[71038] = mobid,[71039] = mobid,
[71040] = mobid,[71041] = mobid,[71042] = mobid,[71042] = mobid})[item.get_vnum()],pc.get_x(),pc.get_y(),0,0,1)
end
function map_allowed()
local blocked_maps = {1,3,21,23,41,43,61,64}
if in_table(pc.get_map_index(),blocked_maps) then
return false
end
return true
end
end
end
Einfach Rufrollen ids auf typ 18 stellen & dann sollte das ja klappen ;)
Musst gucken, ob du die verwendeten Funktionen wie zb. 'in_table' hast
& musst die mob ids bzw. mob gruppen ids eintragen
lg sponge