Ich würde nichtQuote:
Hey,
wenn das erste Mob im mapindex 222 getötet wird, wird man geportet, usw.
Wenn das 5. Mob gekillt wurde ist die Quest zuende.
Fals ich das falsch verstanden habe sag bescheid! ;)
Pass nurnoch die xy mob vnums an und die xxx warp coords.
Mfg,PHP Code:-------------------------
--#####################--
--# mfg ProfessorEnte #--
--# ||-----|| #--
--# \o/ #--
--# | #--
--# / \ #--
--#####################--
-------------------------
quest mobkill begin
state start begin
when xy.kill with pc.get_map_index() == 222 and pc.getqf("mob") == 0 begin
--beim ersten mob kill
pc.warp(xxx,xxx)
pc.setqf("mob",1)
end
when xy.kill with pc.get_map_index() == 222 and pc.getqf("mob") == 1 begin
pc.warp(xxx,xxx)
pc.setqf("mob",2)
end
when xy.kill with pc.get_map_index() == 222 and pc.getqf("mob") == 2 begin
pc.warp(xxx,xxx)
pc.setqf("mob",3)
end
when xy.kill with pc.get_map_index() == 222 and pc.getqf("mob") == 3 begin
pc.warp(xxx,xxx)
pc.setqf("mob",4)
end
when xy.kill with pc.get_map_index() == 222 and pc.getqf("mob") == 4 begin
pc.warp(xxx,xxx)
pc.delqf("mob")
--nach letztem mob kill
set_state(questend)
end
end
state questend begin
end
end
ProfessorEnte
PHP Code:
when ***.kill
sondern
PHP Code:
when kill with npc.get_race() == ***