PHP Code:
quest pets begin
state start begin
when 53001.use with pc.getqf("firephoenix1") == 0 and pc.getqf("firephoenix2") == 0
and pc.getqf("firephoenix3") == 0 and pc.getqf("firephoenix4") == 0
and pc.getqf("firephoenix5") == 0 and pc.getqf("firephoenix6") == 0
and pc.getqf("firephoenix7") == 0 begin
if pc.getqf("firephoenix") == 0 then
horse.set_level("22")
horse.set_name(""..pc.get_name().." - Feuer Phönix")
pc.setqf("phoenix_fly", 1)
pc.setqf("firephoenix", 1)
affect.add_collect(apply.MAX_HP, 2000, 60*60*8)
affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*8)
affect.add_collect(apply.CRITICAL_PCT, 10, 60*60*8)
affect.add_collect(apply.PENETRATE_PCT, 10, 60*60*8)
pet.unsummon() pet.summon()
horse.set_level("21")
horse.set_name(""..pc.get_name().."'s Pferd ")
loop_timer("bugcheck", 0.2)
elseif pc.getqf("firephoenix") == 1 then
pet.unsummon()
horse.set_level("21")
horse.set_name(""..pc.get_name().."'s Pferd")
affect.remove_collect(apply.MAX_HP, 2000, 60*60*8)
affect.remove_collect(apply.ATTBONUS_HUMAN, 5, 60*60*8)
affect.remove_collect(apply.CRITICAL_PCT, 10, 60*60*8)
affect.remove_collect(apply.PENETRATE_PCT, 10, 60*60*8)
pc.setqf("phoenix_fly", 0)
pc.setqf("firephoenix", 0)
cleartimer("bugcheck")
end
end
-- Bugschutz
when bugcheck.timer begin
if pc.count_item(53001) == 0 then
pet.unsummon()
horse.set_level("21")
horse.set_name(""..pc.get_name().."'s Pferd ")
affect.remove_collect(apply.MAX_HP, 2000, 60*60*8)
affect.remove_collect(apply.ATTBONUS_HUMAN, 5, 60*60*8)
affect.remove_collect(apply.CRITICAL_PCT, 10, 60*60*8)
affect.remove_collect(apply.PENETRATE_PCT, 10, 60*60*8)
pc.setqf("phoenix_fly", 0)
pc.setqf("firephoenix", 0)
syschat(" Rufe dein Pet bitte erneut, ein Fehler ist aufgetreten! ")
cleartimer("bugcheck")
end
end
when login or logout or disconnect with pc.getqf("firephoenix") == 1 begin
horse.set_level("22")
horse.set_name(""..pc.get_name().." - Feuer Phönix ")
pc.setqf("phoenix_fly", 1)
pc.setqf("firephoenix", 1)
pet.unsummon() pet.summon()
horse.set_level("21")
horse.set_name(""..pc.get_name().."'s Pferd ")
loop_timer("bugcheck", 0.2)
end
end
end
quest pets begin
state start begin
when 53003.use with pc.getqf("firephoenix") == 0 and pc.getqf("firephoenix2") == 0
and pc.getqf("firephoenix3") == 0 and pc.getqf("firephoenix4") == 0
and pc.getqf("firephoenix5") == 0 and pc.getqf("firephoenix6") == 0
and pc.getqf("firephoenix7") == 0 begin
if pc.getqf("firephoenix1") == 0 then
horse.set_level("23")
horse.set_name(""..pc.get_name().." - Eis Phönix")
pc.setqf("phoenix_fly1", 1)
pc.setqf("firephoenix1", 1)
affect.add_collect(apply.MAX_HP, 2000, 60*60*8)
affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*8)
affect.add_collect(apply.CRITICAL_PCT, 10, 60*60*8)
affect.add_collect(apply.PENETRATE_PCT, 10, 60*60*8)
pet.unsummon() pet.summon()
horse.set_level("21")
horse.set_name(""..pc.get_name().."'s Pferd ")
loop_timer("bugcheck1", 0.2)
elseif pc.getqf("firephoenix1") == 1 then
pet.unsummon()
horse.set_level("21")
horse.set_name(""..pc.get_name().."'s Pferd ")
affect.remove_collect(apply.MAX_HP, 2000, 60*60*8)
affect.remove_collect(apply.ATTBONUS_HUMAN, 5, 60*60*8)
affect.remove_collect(apply.CRITICAL_PCT, 10, 60*60*8)
affect.remove_collect(apply.PENETRATE_PCT, 10, 60*60*8)
pc.setqf("phoenix_fly1", 0)
pc.setqf("firephoenix1", 0)
cleartimer("bugcheck1")
end
end
-- Bugschutz
when bugcheck1.timer begin
if pc.count_item(53003) == 0 then
pet.unsummon()
horse.set_level("21")
horse.set_name(""..pc.get_name().."- Pferd ")
syschat(" Rufe dein Pet bitte erneut, ein Fehler ist aufgetreten! ")
affect.remove_collect(apply.MAX_HP, 2000, 60*60*8)
affect.remove_collect(apply.ATTBONUS_HUMAN, 5, 60*60*8)
affect.remove_collect(apply.CRITICAL_PCT, 10, 60*60*8)
affect.remove_collect(apply.PENETRATE_PCT, 10, 60*60*8)
pc.setqf("phoenix_fly1", 0)
pc.setqf("firephoenix1", 0)
cleartimer("bugcheck1")
end
end
when login or logout or disconnect with pc.getqf("firephoenix1") == 1 begin
horse.set_level("23")
horse.set_name(""..pc.get_name().." - Eis Phönix")
pc.setqf("phoenix_fly1", 1)
pc.setqf("firephoenix1", 1)
pet.unsummon() pet.summon()
horse.set_level("21")
horse.set_name(""..pc.get_name().."'s Pferd ")
loop_timer("bugcheck1", 0.2)
end
end
end
quest pets begin
state start begin
when 53002.use with pc.getqf("firephoenix") == 0 and pc.getqf("firephoenix1") == 0
and pc.getqf("firephoenix3") == 0 and pc.getqf("firephoenix4") == 0
and pc.getqf("firephoenix5") == 0 and pc.getqf("firephoenix6") == 0
and pc.getqf("firephoenix7") == 0 begin
if pc.getqf("firephoenix2") == 0 then
horse.set_level("24")
horse.set_name(""..pc.get_name().." - BabyAzreal")
pc.setqf("phoenix_fly2", 1)
pc.setqf("firephoenix2", 1)
affect.add_collect(apply.MAX_HP, 5000, 60*60*8)
affect.add_collect(apply.ATTBONUS_HUMAN, 15, 60*60*8)
affect.add_collect(apply.CRITICAL_PCT, 20, 60*60*8)
affect.add_collect(apply.PENETRATE_PCT, 20, 60*60*8)
pet.unsummon() pet.summon()
horse.set_level("21")
horse.set_name(""..pc.get_name().."'s Pferd ")
loop_timer("bugcheck2", 0.2)
elseif pc.getqf("firephoenix2") == 1 then
pet.unsummon()
horse.set_level("21")
horse.set_name(""..pc.get_name().."'s Pferd ")
affect.remove_collect(apply.MAX_HP, 5000, 60*60*8)
affect.remove_collect(apply.ATTBONUS_HUMAN, 15, 60*60*8)
affect.remove_collect(apply.CRITICAL_PCT, 20, 60*60*8)
affect.remove_collect(apply.PENETRATE_PCT, 20, 60*60*8)
pc.setqf("phoenix_fly2", 0)
pc.setqf("firephoenix2", 0)
cleartimer("bugcheck2")
end
end
-- Bugschutz
when bugcheck2.timer begin
if pc.count_item(53002) == 0 then
pet.unsummon()
horse.set_level("21")
horse.set_name(""..pc.get_name().."'s Pferd ")
syschat(" Rufe dein Pet bitte erneut, ein Fehler ist aufgetreten! ")
affect.remove_collect(apply.MAX_HP, 5000, 60*60*8)
affect.remove_collect(apply.ATTBONUS_HUMAN, 15, 60*60*8)
affect.remove_collect(apply.CRITICAL_PCT, 20, 60*60*8)
affect.remove_collect(apply.PENETRATE_PCT, 20, 60*60*8)
pc.setqf("phoenix_fly2", 0)
pc.setqf("firephoenix2", 0)
cleartimer("bugcheck2")
end
end
when login or logout or disconnect with pc.getqf("firephoenix2") == 1 begin
horse.set_level("24")
horse.set_name(""..pc.get_name().." - Rentierjunges")
pc.setqf("phoenix_fly2", 1)
pc.setqf("firephoenix2", 1)
pet.unsummon() pet.summon()
horse.set_level("21")
horse.set_name(""..pc.get_name().."'s Pferd ")
loop_timer("bugcheck2", 0.2)
end
end
end
quest pets begin
state start begin
when 53005.use with pc.getqf("firephoenix") == 0 and pc.getqf("firephoenix1") == 0
and pc.getqf("firephoenix2") == 0 and pc.getqf("firephoenix4") == 0
and pc.getqf("firephoenix5") == 0 and pc.getqf("firephoenix6") == 0
and pc.getqf("firephoenix7") == 0 begin
if pc.getqf("firephoenix3") == 0 then
horse.set_level("25")
horse.set_name(""..pc.get_name().." - Renntier")
pc.setqf("phoenix_fly3", 1)
pc.setqf("firephoenix3", 1)
affect.add_collect(apply.MAX_HP, 2000, 60*60*8)
affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*8)
affect.add_collect(apply.CRITICAL_PCT, 10, 60*60*8)
affect.add_collect(apply.PENETRATE_PCT, 10, 60*60*8)
pet.unsummon() pet.summon()
horse.set_level("21")
horse.set_name(""..pc.get_name().."'s Pferd ")
loop_timer("bugcheck3", 0.2)
elseif pc.getqf("firephoenix3") == 1 then
pet.unsummon()
horse.set_level("21")
horse.set_name(""..pc.get_name().."'s Pferd ")
affect.remove_collect(apply.MAX_HP, 2000, 60*60*8)
affect.remove_collect(apply.ATTBONUS_HUMAN, 5, 60*60*8)
affect.remove_collect(apply.CRITICAL_PCT, 10, 60*60*8)
affect.remove_collect(apply.PENETRATE_PCT, 10, 60*60*8)
pc.setqf("phoenix_fly3", 0)
pc.setqf("firephoenix3", 0)
cleartimer("bugcheck3")
end
end
-- Bugschutz
when bugcheck3.timer begin
if pc.count_item(53005) == 0 then
pet.unsummon()
horse.set_level("21")
horse.set_name(""..pc.get_name().." - Pferd ")
syschat(" Rufe dein Pet bitte erneut, ein Fehler ist aufgetreten! ")
affect.remove_collect(apply.MAX_HP, 2000, 60*60*8)
affect.remove_collect(apply.ATTBONUS_HUMAN, 5, 60*60*8)
affect.remove_collect(apply.CRITICAL_PCT, 10, 60*60*8)
affect.remove_collect(apply.PENETRATE_PCT, 10, 60*60*8)
pc.setqf("phoenix_fly3", 0)
pc.setqf("firephoenix3", 0)
cleartimer("bugcheck3")
end
end
when login or logout or disconnect with pc.getqf("firephoenix3") == 1 begin
horse.set_level("25")
horse.set_name(""..pc.get_name().." - Baby Azrael")
pc.setqf("phoenix_fly3", 1)
pc.setqf("firephoenix3", 1)
pet.unsummon() pet.summon()
horse.set_level("21")
horse.set_name(""..pc.get_name().."'s Pferd ")
loop_timer("bugcheck3", 0.2)
end
end
end
quest pets begin
state start begin
when 53006.use with pc.getqf("firephoenix") == 0 and pc.getqf("firephoenix1") == 0
and pc.getqf("firephoenix2") == 0 and pc.getqf("firephoenix3") == 0
and pc.getqf("firephoenix5") == 0 and pc.getqf("firephoenix6") == 0
and pc.getqf("firephoenix7") == 0 begin
if pc.getqf("firephoenix4") == 0 then
horse.set_level("26")
horse.set_name(""..pc.get_name().." - Rufus")
pc.setqf("phoenix_fly4", 1)
pc.setqf("firephoenix4", 1)
affect.add_collect(apply.MAX_HP, 2000, 60*60*8)
affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*8)
affect.add_collect(apply.CRITICAL_PCT, 10, 60*60*8)
affect.add_collect(apply.PENETRATE_PCT, 10, 60*60*8)
pet.unsummon() pet.summon()
horse.set_level("21")
horse.set_name(""..pc.get_name().."'s Pferd ")
loop_timer("bugcheck4", 0.2)
elseif pc.getqf("firephoenix4") == 1 then
pet.unsummon()
horse.set_level("21")
horse.set_name(""..pc.get_name().."'s Pferd ")
affect.remove_collect(apply.MAX_HP, 2000, 60*60*8)
affect.remove_collect(apply.ATTBONUS_HUMAN, 5, 60*60*8)
affect.remove_collect(apply.CRITICAL_PCT, 10, 60*60*8)
affect.remove_collect(apply.PENETRATE_PCT, 10, 60*60*8)
pc.setqf("phoenix_fly4", 0)
pc.setqf("firephoenix4", 0)
cleartimer("bugcheck4")
end
end
-- Bugschutz
when bugcheck4.timer begin
if pc.count_item(53006) == 0 then
pet.unsummon()
horse.set_level("21")
horse.set_name(""..pc.get_name().."'s Pferd ")
syschat(" Rufe dein Pet bitte erneut, ein Fehler ist aufgetreten! ")
affect.remove_collect(apply.MAX_HP, 2000, 60*60*8)
affect.remove_collect(apply.ATTBONUS_HUMAN, 5, 60*60*8)
affect.remove_collect(apply.CRITICAL_PCT, 10, 60*60*8)
affect.remove_collect(apply.PENETRATE_PCT, 10, 60*60*8)
pc.setqf("phoenix_fly4", 0)
pc.setqf("firephoenix4", 0)
cleartimer("bugcheck4")
end
end
when login or logout or disconnect with pc.getqf("firephoenix4") == 1 begin
horse.set_level("26")
horse.set_name(""..pc.get_name().." - Rufus")
pc.setqf("phoenix_fly4", 1)
pc.setqf("firephoenix4", 1)
pet.unsummon() pet.summon()
horse.set_level("21")
horse.set_name(""..pc.get_name().."'s Pferd ")
loop_timer("bugcheck4", 0.2)
end
end
end
quest pets begin
state start begin
when 53007.use with pc.getqf("firephoenix") == 0 and pc.getqf("firephoenix1") == 0
and pc.getqf("firephoenix2") == 0 and pc.getqf("firephoenix3") == 0
and pc.getqf("firephoenix4") == 0 and pc.getqf("firephoenix6") == 0
and pc.getqf("firephoenix7") == 0 begin
if pc.getqf("firephoenix5") == 0 then
horse.set_level("27")
horse.set_name(""..pc.get_name().." - Leonidas")
pc.setqf("phoenix_fly5", 1)
pc.setqf("firephoenix5", 1)
affect.add_collect(apply.MAX_HP, 2000, 60*60*8)
affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*8)
affect.add_collect(apply.CRITICAL_PCT, 10, 60*60*8)
affect.add_collect(apply.PENETRATE_PCT, 10, 60*60*8)
pet.unsummon() pet.summon()
horse.set_level("21")
horse.set_name(""..pc.get_name().."'s Pferd ")
loop_timer("bugcheck5", 0.2)
elseif pc.getqf("firephoenix5") == 1 then
pet.unsummon()
horse.set_level("21")
horse.set_name(""..pc.get_name().."'s Pferd ")
affect.remove_collect(apply.MAX_HP, 2000, 60*60*8)
affect.remove_collect(apply.ATTBONUS_HUMAN, 5, 60*60*8)
affect.remove_collect(apply.CRITICAL_PCT, 10, 60*60*8)
affect.remove_collect(apply.PENETRATE_PCT, 10, 60*60*8)
pc.setqf("phoenix_fly5", 0)
pc.setqf("firephoenix5", 0)
cleartimer("bugcheck5")
end
end
-- Bugschutz
when bugcheck5.timer begin
if pc.count_item(53007) == 0 then
pet.unsummon()
horse.set_level("21")
horse.set_name(""..pc.get_name().."'s Pferd ")
syschat(" Rufe dein Pet bitte erneut, ein Fehler ist aufgetreten! ")
affect.remove_collect(apply.MAX_HP, 2000, 60*60*8)
affect.remove_collect(apply.ATTBONUS_HUMAN, 5, 60*60*8)
affect.remove_collect(apply.CRITICAL_PCT, 10, 60*60*8)
affect.remove_collect(apply.PENETRATE_PCT, 10, 60*60*8)
pc.setqf("phoenix_fly5", 0)
pc.setqf("firephoenix5", 0)
cleartimer("bugcheck5")
end
end
when login or logout or disconnect with pc.getqf("firephoenix5") == 1 begin
horse.set_level("27")
horse.set_name(""..pc.get_name().." - Leonidas")
pc.setqf("phoenix_fly5", 1)
pc.setqf("firephoenix5", 1)
pet.unsummon() pet.summon()
horse.set_level("21")
horse.set_name(""..pc.get_name().."'s Pferd ")
loop_timer("bugcheck5", 0.2)
end
end
end
quest pets begin
state start begin
when 53008.use with pc.getqf("firephoenix") == 0 and pc.getqf("firephoenix1") == 0
and pc.getqf("firephoenix2") == 0 and pc.getqf("firephoenix3") == 0
and pc.getqf("firephoenix4") == 0 and pc.getqf("firephoenix5") == 0
and pc.getqf("firephoenix7") == 0 begin
if pc.getqf("firephoenix6") == 0 then
horse.set_level("28")
horse.set_name(""..pc.get_name().." - Porkie")
pc.setqf("phoenix_fly6", 1)
pc.setqf("firephoenix6", 1)
affect.add_collect(apply.MAX_HP, 2000, 60*60*8)
affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*8)
affect.add_collect(apply.CRITICAL_PCT, 10, 60*60*8)
affect.add_collect(apply.PENETRATE_PCT, 10, 60*60*8)
pet.unsummon() pet.summon()
horse.set_level("21")
horse.set_name(""..pc.get_name().."'s Pferd ")
loop_timer("bugcheck6", 0.2)
elseif pc.getqf("firephoenix6") == 1 then
pet.unsummon()
horse.set_level("21")
horse.set_name(""..pc.get_name().."'s Pferd ")
affect.remove_collect(apply.MAX_HP, 2000, 60*60*8)
affect.remove_collect(apply.ATTBONUS_HUMAN, 5, 60*60*8)
affect.remove_collect(apply.CRITICAL_PCT, 10, 60*60*8)
affect.remove_collect(apply.PENETRATE_PCT, 10, 60*60*8)
pc.setqf("phoenix_fly6", 0)
pc.setqf("firephoenix6", 0)
cleartimer("bugcheck6")
end
end
-- Bugschutz
when bugcheck6.timer begin
if pc.count_item(53008) == 0 then
pet.unsummon()
horse.set_level("21")
horse.set_name(""..pc.get_name().."'s Pferd ")
syschat(" Rufe dein Pet bitte erneut, ein Fehler ist aufgetreten! ")
affect.remove_collect(apply.MAX_HP, 2000, 60*60*8)
affect.remove_collect(apply.ATTBONUS_HUMAN, 5, 60*60*8)
affect.remove_collect(apply.CRITICAL_PCT, 10, 60*60*8)
affect.remove_collect(apply.PENETRATE_PCT, 10, 60*60*8)
pc.setqf("phoenix_fly6", 0)
pc.setqf("firephoenix6", 0)
cleartimer("bugcheck6")
end
end
when login or logout or disconnect with pc.getqf("firephoenix6") == 1 begin
horse.set_level("28")
horse.set_name(""..pc.get_name().." - Porkie")
pc.setqf("phoenix_fly6", 1)
pc.setqf("firephoenix6", 1)
pet.unsummon() pet.summon()
horse.set_level("21")
horse.set_name(""..pc.get_name().."'s Pferd ")
loop_timer("bugcheck6", 0.2)
end
end
end
quest pets begin
state start begin
when 53009.use with pc.getqf("firephoenix") == 0 and pc.getqf("firephoenix1") == 0
and pc.getqf("firephoenix2") == 0 and pc.getqf("firephoenix3") == 0
and pc.getqf("firephoenix4") == 0 and pc.getqf("firephoenix5") == 0
and pc.getqf("firephoenix6") == 0 begin
if pc.getqf("firephoenix7") == 0 then
horse.set_level("29")
horse.set_name(""..pc.get_name().." - Khan")
pc.setqf("phoenix_fly7", 1)
pc.setqf("firephoenix7", 1)
affect.add_collect(apply.MAX_HP, 2000, 60*60*8)
affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*8)
affect.add_collect(apply.CRITICAL_PCT, 10, 60*60*8)
affect.add_collect(apply.PENETRATE_PCT, 10, 60*60*8)
pet.unsummon() pet.summon()
horse.set_level("21")
horse.set_name(""..pc.get_name().."'s Pferd ")
loop_timer("bugcheck7", 0.2)
elseif pc.getqf("firephoenix7") == 1 then
pet.unsummon()
horse.set_level("21")
horse.set_name(""..pc.get_name().."'s Pferd ")
affect.remove_collect(apply.MAX_HP, 2000, 60*60*8)
affect.remove_collect(apply.ATTBONUS_HUMAN, 5, 60*60*8)
affect.remove_collect(apply.CRITICAL_PCT, 10, 60*60*8)
affect.remove_collect(apply.PENETRATE_PCT, 10, 60*60*8)
pc.setqf("phoenix_fly7", 0)
pc.setqf("firephoenix7", 0)
cleartimer("bugcheck7")
end
end
-- Bugschutz
when bugcheck7.timer begin
if pc.count_item(53009) == 0 then
pet.unsummon()
horse.set_level("21")
horse.set_name(""..pc.get_name().."'s Pferd ")
syschat(" Rufe dein Pet bitte erneut, ein Fehler ist aufgetreten! ")
affect.remove_collect(apply.MAX_HP, 2000, 60*60*8)
affect.remove_collect(apply.ATTBONUS_HUMAN, 5, 60*60*8)
affect.remove_collect(apply.CRITICAL_PCT, 10, 60*60*8)
affect.remove_collect(apply.PENETRATE_PCT, 10, 60*60*8)
pc.setqf("phoenix_fly7", 0)
pc.setqf("firephoenix7", 0)
cleartimer("bugcheck7")
end
end
when login or logout or disconnect with pc.getqf("firephoenix7") == 1 begin
horse.set_level("29")
horse.set_name(""..pc.get_name().." - Khan")
pc.setqf("phoenix_fly7", 1)
pc.setqf("firephoenix7", 1)
pet.unsummon() pet.summon()
horse.set_level("21")
horse.set_name(""..pc.get_name().."'s Pferd ")
loop_timer("bugcheck7", 0.2)
end
end
end