def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr) self.questItemIds = [DINOSAUR_FANG_NECKLACE]
def __init__(self, id, name, descr): self.cats_eye_bandit = 27038 self.FirstAttacked = False # finalmente, não esqueça de chamar o construtor pai para preparar o acionamento do evento # mecanismos etc. JQuest.__init__(self, id, name, descr)
def __init__(self, id, name, descr): JQuest.__init__(self, id, name, descr) self.questItemIds = [EVIL_SPIRIT, BROKEN_CRYSTAL]
def __init__(self, id, name, descr): JQuest.__init__(self, id, name, descr) self.questItemIds = [FRAGMENT]
def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr) def onEvent (self,event,st) :
def __init__(self, id, name, descr): JQuest.__init__(self, id, name, descr) self.questItemIds = [Claw]
def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr) def onAdvEvent (self,event,npc,player) :
def __init__(self, id, name, descr): self.AlwaysSpawn = False # finalmente, não esqueça de chamar o construtor pai para preparar o acionamento do evento # mecanismos etc. JQuest.__init__(self, id, name, descr)
def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr) self.questItemIds = [Certificate,Metal]
def __init__(self, id, name, descr): JQuest.__init__(self, id, name, descr) self.priest = "" self.tifaren = 0 self.soul = 0 self.well = 0
def __init__(self, id, name, descr): JQuest.__init__(self, id, name, descr) self.questItemIds = [ ANTIQUE_BROOCH, SEALED_BOX, 7256, 7257, 7258, 7259, GRAVE_PASS ]
def __init__(self, id, name, descr): self.vlc = [] self.ptr = [] self.trx = [] self.slrn = [] JQuest.__init__(self, id, name, descr)
def __init__(self,id,name,descr): # em primeiro lugar, não se esqueça de chamar o construtor pai para preparar o acionamento do evento # mecanismos etc. JQuest.__init__(self,id,name,descr) # DEFINE VARIÁVEIS DE MEMBRO PARA ESTE AI # Todos os mobs que podem comer ... self.tamedBeasts = range(16013,16019) self.feedableBeasts = range(21451,21508)+range(21824,21830)+ self.tamedBeasts # todos os mobs que crescem comendo # mobId: current_growth_level, {comida: [lista de possíveis mobs [possível sub-lista de animais domesticados]]}, chance de crescimento self.growthCapableMobs = { # Alpen Kookabura 21451: [0,{GOLDEN_SPICE:[21452,21453, 21454, 21455],CRYSTAL_SPICE:[21456,21457, 21458, 21459]},100], 21452: [1,{GOLDEN_SPICE:[21460,21462],CRYSTAL_SPICE:[]},40], 21453: [1,{GOLDEN_SPICE:[21461,21463],CRYSTAL_SPICE:[]},40], 21454: [1,{GOLDEN_SPICE:[21460,21462],CRYSTAL_SPICE:[]},40], 21455: [1,{GOLDEN_SPICE:[21461,21463],CRYSTAL_SPICE:[]},40], 21456: [1,{GOLDEN_SPICE:[],CRYSTAL_SPICE:[21464,21466]},40], 21457: [1,{GOLDEN_SPICE:[],CRYSTAL_SPICE:[21465,21467]},40], 21458: [1,{GOLDEN_SPICE:[],CRYSTAL_SPICE:[21464,21466]},40], 21459: [1,{GOLDEN_SPICE:[],CRYSTAL_SPICE:[21465,21467]},40], 21460: [2,{GOLDEN_SPICE:[[21468,21824],[16017,16018]],CRYSTAL_SPICE:[]},25], 21461: [2,{GOLDEN_SPICE:[[21469,21825],[16017,16018]],CRYSTAL_SPICE:[]},25], 21462: [2,{GOLDEN_SPICE:[[21468,21824],[16017,16018]],CRYSTAL_SPICE:[]},25], 21463: [2,{GOLDEN_SPICE:[[21469,21825],[16017,16018]],CRYSTAL_SPICE:[]},25], 21464: [2,{GOLDEN_SPICE:[],CRYSTAL_SPICE:[[21468,21824],[16017,16018]]},25], 21465: [2,{GOLDEN_SPICE:[],CRYSTAL_SPICE:[[21469,21825],[16017,16018]]},25], 21466: [2,{GOLDEN_SPICE:[],CRYSTAL_SPICE:[[21468,21824],[16017,16018]]},25], 21467: [2,{GOLDEN_SPICE:[],CRYSTAL_SPICE:[[21469,21825],[16017,16018]]},25], # Alpen Buffalo 21470: [0,{GOLDEN_SPICE:[21471,21472, 21473, 21474],CRYSTAL_SPICE:[21475,21476, 21477, 21478]},100], 21471: [1,{GOLDEN_SPICE:[21479,21481],CRYSTAL_SPICE:[]},40], 21472: [1,{GOLDEN_SPICE:[21481,21482],CRYSTAL_SPICE:[]},40], 21473: [1,{GOLDEN_SPICE:[21479,21481],CRYSTAL_SPICE:[]},40], 21474: [1,{GOLDEN_SPICE:[21480,21482],CRYSTAL_SPICE:[]},40], 21475: [1,{GOLDEN_SPICE:[],CRYSTAL_SPICE:[21483,21485]},40], 21476: [1,{GOLDEN_SPICE:[],CRYSTAL_SPICE:[21484,21486]},40], 21477: [1,{GOLDEN_SPICE:[],CRYSTAL_SPICE:[21483,21485]},40], 21478: [1,{GOLDEN_SPICE:[],CRYSTAL_SPICE:[21484,21486]},40], 21479: [2,{GOLDEN_SPICE:[[21487,21826],[16013,16014]],CRYSTAL_SPICE:[]},25], 21480: [2,{GOLDEN_SPICE:[[21488,21827],[16013,16014]],CRYSTAL_SPICE:[]},25], 21481: [2,{GOLDEN_SPICE:[[21487,21826],[16013,16014]],CRYSTAL_SPICE:[]},25], 21482: [2,{GOLDEN_SPICE:[[21488,21827],[16013,16014]],CRYSTAL_SPICE:[]},25], 21483: [2,{GOLDEN_SPICE:[],CRYSTAL_SPICE:[[21487,21826],[16013,16014]]},25], 21484: [2,{GOLDEN_SPICE:[],CRYSTAL_SPICE:[[21488,21827],[16013,16014]]},25], 21485: [2,{GOLDEN_SPICE:[],CRYSTAL_SPICE:[[21487,21826],[16013,16014]]},25], 21486: [2,{GOLDEN_SPICE:[],CRYSTAL_SPICE:[[21488,21827],[16013,16014]]},25], # Alpen Cougar 21489: [0,{GOLDEN_SPICE:[21490,21491, 21492, 21493],CRYSTAL_SPICE:[21494,21495, 21496, 21497]},100], 21490: [1,{GOLDEN_SPICE:[21498,21500],CRYSTAL_SPICE:[]},40], 21491: [1,{GOLDEN_SPICE:[21499,21501],CRYSTAL_SPICE:[]},40], 21492: [1,{GOLDEN_SPICE:[21498,21500],CRYSTAL_SPICE:[]},40], 21493: [1,{GOLDEN_SPICE:[21499,21501],CRYSTAL_SPICE:[]},40], 21494: [1,{GOLDEN_SPICE:[],CRYSTAL_SPICE:[21502,21504]},40], 21495: [1,{GOLDEN_SPICE:[],CRYSTAL_SPICE:[21503,21505]},40], 21496: [1,{GOLDEN_SPICE:[],CRYSTAL_SPICE:[21502,21504]},40], 21497: [1,{GOLDEN_SPICE:[],CRYSTAL_SPICE:[21503,21505]},40], 21498: [2,{GOLDEN_SPICE:[[21506,21828],[16015,16016]],CRYSTAL_SPICE:[]},25], 21499: [2,{GOLDEN_SPICE:[[21507,21829],[16015,16016]],CRYSTAL_SPICE:[]},25], 21500: [2,{GOLDEN_SPICE:[[21506,21828],[16015,16016]],CRYSTAL_SPICE:[]},25], 21501: [2,{GOLDEN_SPICE:[[21507,21829],[16015,16016]],CRYSTAL_SPICE:[]},25], 21502: [2,{GOLDEN_SPICE:[],CRYSTAL_SPICE:[[21506,21828],[16015,16016]]},25], 21503: [2,{GOLDEN_SPICE:[],CRYSTAL_SPICE:[[21507,21829],[16015,16016]]},25], 21504: [2,{GOLDEN_SPICE:[],CRYSTAL_SPICE:[[21506,21828],[16015,16016]]},25], 21505: [2,{GOLDEN_SPICE:[],CRYSTAL_SPICE:[[21507,21829],[16015,16016]]},25] } self.madCowPolymorph = {21824:21468,21825:21469,21826:21487,21827:21488,21828:21506,21829:21507} self.Text = [["O que você acabou de fazer comigo? "," Você quer me domar, hein? "," Não me dê isso. Talvez você esteja em perigo "," Bah bah. O que é essa coisa desagradável? "," Minha barriga está reclamando. Isso atingiu o ponto "," O que é isso? Posso comê-lo? "," Você não precisa se preocupar comigo "," Comida deliciosa, obrigado "," Estou começando a gostar de você!","Gulp"], ["Eu não acho que você tenha desistido da idéia de me domar. "" Isso é apenas comida para mim. Talvez eu possa comer sua mão também "," Comer isso me deixa gorda? Ha ha "," Por que você sempre me alimenta? "," Não confie em mim. Eu posso te trair"], ["Destrua "," Veja o que você fez! "," Sensação estranha ...! Intenções malignas crescem em meu coração ...! "," Está acontecendo! "," Isso é triste ... Bom é triste ...!"]] self.feedInfo = {} #: feedInfo [objectId of mob] = objectId do jogador alimentando-o for i in self.feedableBeasts : self.addSkillUseId(i) self.addKillId(i)
def __init__(self,id,name,descr): self.timak_orc_troop_leader = 20767 self.FirstAttacked = False # finalmente, não esqueça de chamar o construtor pai para preparar o acionamento do evento # mecanismos etc. JQuest.__init__(self,id,name,descr)
def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr) def onAttack (self,npc,player,damage,isPet):
def __init__(self, id, name, descr): JQuest.__init__(self, id, name, descr) self.questItemIds = [DINOSAUR_TISSUE, DINOSAUR_EGG]
def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr) self.questItemIds = [BONES_OF_A_PLAINS_DINOSAUR]
def __init__(self, id, name, descr): JQuest.__init__(self, id, name, descr) self.ImpGraveKepperStat = 1
def __init__(self, id, name, descr): JQuest.__init__(self, id, name, descr) self.isAngelSpawned = 0 self.questItemIds = [ SEALED_PATH, PATH, EMPTY_CRYSTAL, MEDICINE, MESSAGE ]
def __init__(self, id, name, descr): JQuest.__init__(self, id, name, descr) self.katenar = self.harkil = 0 self.questItemId = [BLACK_ECHO_CRYSTAL, SHINING_MEDALLION]
def __init__(self,id,name,descr): self.isSpawned = False JQuest.__init__(self,id,name,descr)
def __init__(self, id, name, descr): JQuest.__init__(self, id, name, descr) self.questItemIds = [SilverKey, LidiaHairPin, LidiaDiary, SilverSpear]
def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr) self.questItemIds = range(8283,8286)
def __init__(self, id, name, descr): JQuest.__init__(self, id, name, descr) self.questItemIds = [CURSED_DOLL]
def __init__(self, id, name, descr): JQuest.__init__(self, id, name, descr) self.questItemIds = [] self.games = {}
def __init__(self, id, name, descr): self.turek_orc_warlord = 20495 self.FirstAttacked = False # finalmente, não esqueça de chamar o construtor pai para preparar o acionamento do evento # mecanismos etc. JQuest.__init__(self, id, name, descr)
def __init__(self, id, name, descr): JQuest.__init__(self, id, name, descr) self.questItemIds = [CRYSTAL, OXYDE, CRYPT]
def __init__(self, id, name, descr): self.antharasAI = QuestManager.getInstance().getQuest("antharas") self.valakasAI = QuestManager.getInstance().getQuest("valakas") self.count = 0 self.count2 = 0 JQuest.__init__(self, id, name, descr)
def __init__(self, id, name, descr): JQuest.__init__(self, id, name, descr)
def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr) self.questItemIds = [WATER_BOTTLE,HOLY_WATER_BOTTLE,SCRIPTURES]