npclist
root.eix/epk / npclist.txt
Code:
0 reindeer_young1_christmas1 reindeer_young 0 reindeer_male1_christmas1 reindeer_male 0 reindeer_young1_christmas1 reindeer_young 0 reindeer_male1_christmas1 reindeer_male 20144 reindeer_young1_christmas1 20145 reindeer_young1_christmas1 20146 reindeer_young1_christmas1
mob_proto / Clientside
Code:
<Mob vnum="20144" name="'reindeer_young1_christm" gb2312name="reindeer_young1_christma" type="1" rank="5" battle_type="0" level="1" event_type="2" mob_color="0" /> <Mob vnum="20145" name="'reindeer_young1_christm" gb2312name="reindeer_young1_christma" type="1" rank="5" battle_type="0" level="1" event_type="2" mob_color="0" /> <Mob vnum="20146" name="'reindeer_young1_christm" gb2312name="reindeer_young1_christma" type="1" rank="5" battle_type="0" level="1" event_type="2" mob_color="0" />
quest:
Code:
quest pets begin
state start begin
when 53502.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
and pc.getqf("firephoenix8") == 0 begin
if pc.getqf("firephoenix8") == 0 then
horse.set_level("30")
horse.set_name(""..pc.get_name().."'s reindeer_young1_christmas1")
pc.setqf("phoenix_fly8", 1)
pc.setqf("firephoenix8", 1)
affect.add_collect(apply.ATT_GRADE_BONUS, 100, 60*60*8)
affect.add_collect(apply.DEF_GRADE_BONUS, 100, 60*60*8)
pet.unsummon() pet.summon()
horse.set_level("21")
horse.set_name(""..pc.get_name().."'s At ")
loop_timer("bugcheck8", 0.2)
elseif pc.getqf("firephoenix4") == 1 then
pet.unsummon()
horse.set_level("21")
horse.set_name(""..pc.get_name().."'s At ")
affect.remove_collect(apply.ATT_GRADE_BONUS, 100, 60*60*8)
affect.remove_collect(apply.DEF_GRADE_BONUS, 100, 60*60*8)
pc.setqf("phoenix_fly8", 0)
pc.setqf("firephoenix8", 0)
cleartimer("bugcheck8")
end
end
-- Bugschutz
when bugcheck4.timer begin
if pc.count_item(53502) == 0 then
pet.unsummon()
horse.set_level("21")
horse.set_name(""..pc.get_name().."'s At ")
syschat(" <Pet> Print the call is not found, the pet has been removed! ")
affect.remove_collect(apply.ATT_GRADE_BONUS, 100, 60*60*8)
affect.remove_collect(apply.DEF_GRADE_BONUS, 100, 60*60*8)
pc.setqf("phoenix_fly8", 0)
pc.setqf("firephoenix8", 0)
cleartimer("bugcheck8")
end
end
when login or logout or disconnect with pc.getqf("firephoenix4") == 1 begin
horse.set_level("30")
horse.set_name(""..pc.get_name().."'s Rufus")
pc.setqf("phoenix_fly8", 1)
pc.setqf("firephoenix8", 1)
pet.unsummon() pet.summon()
horse.set_level("21")
horse.set_name(""..pc.get_name().."'s At ")
loop_timer("bugcheck8", 0.2)
end
end
end
horse_summon.quest:
Code:
when 20144.click begin PetSystem.ShowMenu(9) end when 20145.click begin PetSystem.ShowMenu(9) end when 20146.click begin PetSystem.ShowMenu(9) end
Where is the error? help me ?






