Beispiel #1
0
 def __init__(self,id,name,descr):
     JQuest.__init__(self,id,name,descr)
     self.questItemIds = [Ice_Heart]
     test = self.loadGlobalQuestVar("610_respawn")
     if test.isdigit() :
        remain = long(test) - System.currentTimeMillis()
        if remain <= 0 :
           self.addSpawn(31560,105452,-36775,-1050,34000, False, 0)
        else :
           self.startQuestTimer("spawn_npc", remain, None, None)
     else :
        self.addSpawn(31560,105452,-36775,-1050,34000, False, 0)
Beispiel #2
0
 def __init__(self,id,name,descr):
    JQuest.__init__(self,id,name,descr)
    self.questItemIds = [FOOD, MEAT]
    test = self.loadGlobalQuestVar("625_respawn")
    if test.isdigit() :
       remain = long(test) - System.currentTimeMillis()
       if remain <= 0 :
          self.addSpawn(31542,157136,-121456,-2363,0, False, 40000)
       else :
          self.startQuestTimer("spawn_npc", remain, None, None)
    else:
       self.addSpawn(31542,157136,-121456,-2363,0, False, 40000)
 def __init__(self,id,name,descr):
     self.MobSpawns ={
             20432: {'HP': 100, 'chance': 100}, # Elpy
             20058: {'HP': 50, 'chance': 10} # Ol Mahum Guard
             }
     # made a second dictionary for the texts
     self.MobTexts ={
             20058: ["I'll be back", "You are stronger than expected"] # I don't recall the retail text they say, so I made custom ones to test it
             }
     # finally, don't forget to call the parent constructor to prepare the event triggering
     # mechanisms etc.
     JQuest.__init__(self,id,name,descr)
Beispiel #4
0
    def __init__(self,id,name,descr):
        # firstly, don't forget to call the parent constructor to prepare the event triggering
        # mechanisms etc.
        JQuest.__init__(self,id,name,descr)

        self.chests = [18265,18266,18267,18268,18269,18270,18271,18272,18273,18274, \
                       18275,18276,18277,18278,18279,18280,18281,18282,18283,18284, \
                       18285,18286,18287,18288,18289,18290,18291,18292,18293,18294, \
                       18295,18296,18297,18298,21671,21694,21717,21740,21763,21786, \
                       21801,21802,21803,21804,21805,21806,21807,21808,21809,21810, \
                       21811,21812,21813,21814,21815,21816,21817,21818,21819,21820, \
                       21821,21822]

        for i in self.chests :
            self.addSkillUseId(i)
            self.addAttackId(i)
Beispiel #5
0
 def __init__(self,id,name,descr):
     JQuest.__init__(self,id,name,descr)
     # All of these are overridden in the subclasses
     self.NPC = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
     self.Items = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
     self.Mob = [0, 1, 2]
     self.classid = 0
     self.prevclass = 0
     self.qn = "SagasSuperclass"
     self.X = [0, 1, 2]
     self.Y = [0, 1, 2]
     self.Z = [0, 1, 2]
     self.Text = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17]
     self.Spawn_List = []
     #all these are not overridden by the subclasses (either cause they are constant or used only for this script)
     self.CREATED     = State('Start', self)
     self.STARTED     = State('Started', self)
     self.COMPLETED   = State('Completed', self)
Beispiel #6
0
 def __init__(self, id, name, descr) :
   JQuest.__init__(self, id, name, descr)
   self.Teleport = []
   self.Benomm = []
   castleOwner = CastleManager.getInstance().getCastleById(8).getOwnerId()
   siegeDate = CastleManager.getInstance().getCastleById(8).getSiegeDate().getTimeInMillis()
   benomTeleporterSpawn = (siegeDate - System.currentTimeMillis()) - 86400000
   benomRaidRoomSpawn = (siegeDate - System.currentTimeMillis()) - 86400000
   benomRaidSiegeSpawn = (siegeDate - System.currentTimeMillis())
   if benomTeleporterSpawn < 0 :
     benomTeleporterSpawn = 1
   if benomRaidSiegeSpawn < 0 :
     benomRaidSiegeSpawn = 1
   self.BenomWalkRouteStep = 0
   self.BenomIsSpawned = 0
   if castleOwner > 0 :
     if benomTeleporterSpawn >= 1 :
       self.startQuestTimer("BenomTeleSpawn", benomTeleporterSpawn, None, None)
     if (siegeDate - System.currentTimeMillis()) > 0 :
       self.startQuestTimer("BenomRaidRoomSpawn", benomRaidRoomSpawn, None, None)
     self.startQuestTimer("BenomRaidSiegeSpawn", benomRaidSiegeSpawn, None, None)
   self.Benom = Benom
 def __init__(self,id,name,descr):
     self.delu_lizardman_special_commander = 21107
     self.FirstAttacked = False
     # finally, don't forget to call the parent constructor to prepare the event triggering
     # mechanisms etc.
     JQuest.__init__(self,id,name,descr)
Beispiel #8
0
 def __init__(self, id, name, descr):
     JQuest.__init__(self, id, name, descr)
     self.questItemIds = [
         Flower, SilverCross, BrokenSilverCross, Letter, Hairpin, Totem
     ]
Beispiel #9
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]
Beispiel #10
0
 def __init__(self, id, name, descr):
     self.AlwaysSpawn = False
     # finally, don't forget to call the parent constructor to prepare the event triggering
     # mechanisms etc.
     JQuest.__init__(self, id, name, descr)
 def __init__(self,id,name,descr):
     self.timak_orc_troop_leader = 20767
     self.FirstAttacked = False
     # finally, don't forget to call the parent constructor to prepare the event triggering
     # mechanisms etc.
     JQuest.__init__(self,id,name,descr)
Beispiel #12
0
 def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr)
        
 def onAttack (self,npc,player,damage,isPet):
Beispiel #13
0
 def __init__(self, id, name, descr):
     JQuest.__init__(self, id, name, descr)
     self.questItemIds = [SuspiciousTotem, GemstoneKey, TotemDoll, Dress]
Beispiel #14
0
 def __init__(self, id, name, descr):
     JQuest.__init__(self, id, name, descr)
     self.questItemIds = [Medal]
     #a dynamic dictionary mapping player names to board status and selected numbers - name : [[game],[guesses],bet]
     self.gameStatus = {}
Beispiel #15
0
 def __init__(self, id, name, descr):
     self.turek_orc_supplier = 20498
     self.FirstAttacked = False
     # finally, don't forget to call the parent constructor to prepare the event triggering
     # mechanisms etc.
     JQuest.__init__(self, id, name, descr)
Beispiel #16
0
 def __init__(self,id,name,descr):
     JQuest.__init__(self,id,name,descr)
     self.questItemIds = [ECTOPLASM,STABILIZED_ECTOPLASM,ORDER,GLASS_JAGUAR_CRYSTAL,BOOK_OF_SEAL]
Beispiel #17
0
	def __init__(self,id,name,descr):
		self.isSpawned = False
		JQuest.__init__(self,id,name,descr)
Beispiel #18
0
 def __init__(self, id, name, descr):
     JQuest.__init__(self, id, name, descr)
     self.questItemIds = [
         GAZKH_FRAGMENT, ORNITHOMIMUS_CLAW, DEINONYCHUS_BONE,
         EPITAPH_OF_WISDOM
     ]
Beispiel #19
0
 def __init__(self,id,name,descr):
    JQuest.__init__(self,id,name,descr)
    self.isAngelSpawned = 0
    self.questItemIds = [SEALED_PATH,PATH,EMPTY_CRYSTAL,MEDICINE,MESSAGE]
Beispiel #20
0
 def __init__(self,id,name,descr):
    JQuest.__init__(self,id,name,descr)
    self.questItemIds = [CURSED_DOLL]
Beispiel #21
0
 def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr)

 def onTalk (Self,npc,player):
Beispiel #22
0
 def __init__(self, id, name, descr):
     JQuest.__init__(self, id, name, descr)
     self.questItemIds = [DINOSAUR_FANG_NECKLACE]
Beispiel #23
0
	def __init__(self,id,name,descr):
		JQuest.__init__(self,id,name,descr)
		self.questItemIds = [GAZKH_FRAGMENT,ORNITHOMIMUS_CLAW,DEINONYCHUS_BONE,EPITAPH_OF_WISDOM]
Beispiel #24
0
 def __init__(self, id, name, descr):
     JQuest.__init__(self, id, name, descr)
     self.questItemIds = [FRAGMENT, CHEST]
Beispiel #25
0
 def __init__(self,id,name,descr):  
     JQuest.__init__(self,id,name,descr)
     self.questItemIds = [Flower,SilverCross,BrokenSilverCross,Letter,Hairpin,Totem]
Beispiel #26
0
 def __init__(self,id,name,descr):
     JQuest.__init__(self,id,name,descr)
     # Выросшие
     self.adultSmallSquash = [12775,12776]
     self.adultLargeSquash = [12778,12779]
Beispiel #27
0
 def __init__(self, id, name, descr):
     self.karul_bugbear = 20600
     self.FirstAttacked = False
     # finally, don't forget to call the parent constructor to prepare the event triggering
     # mechanisms etc.
     JQuest.__init__(self, id, name, descr)
Beispiel #28
0
 def __init__(self,id,name,descr):  
    JQuest.__init__(self,id,name,descr)
    self.questItemIds = [SilverKey,LidiaHairPin,LidiaDiary,SilverSpear] 
Beispiel #29
0
 def __init__(self, id, name, descr):
     JQuest.__init__(self, id, name, descr)
     self.questItemIds = [BONES_OF_A_PLAINS_DINOSAUR]
Beispiel #30
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
     ]
Beispiel #31
0
 def __init__(self,id,name,descr):
     self.cats_eye_bandit = 27038
     self.FirstAttacked = False
     # finally, don't forget to call the parent constructor to prepare the event triggering
     # mechanisms etc.
     JQuest.__init__(self,id,name,descr)
Beispiel #32
0
 def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr)

 def onTalk (Self,npc,player):
Beispiel #33
0
 def __init__(self,id,name,descr):
     JQuest.__init__(self,id,name,descr)
     self.questItemIds = range(3692,3811) + [3471]
    def __init__(self,id,name,descr):
        # firstly, don't forget to call the parent constructor to prepare the event triggering
        # mechanisms etc.
        JQuest.__init__(self,id,name,descr)
        # DEFINE MEMBER VARIABLES FOR THIS AI
        # all mobs that can eat...
        self.tamedBeasts = range(16013,16019)
        self.feedableBeasts = range(21451,21508)+range(21824,21830)+ self.tamedBeasts
        # all mobs that grow by eating
        # mobId: current_growth_level, {food: [list of possible mobs[possible sublist of tamed pets]]}, chance of growth
        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 = [["What did you just do to me?","You want to tame me, huh?","Do not give me this. Perhaps you will be in danger.","Bah bah. What is this unpalatable thing?","My belly has been complaining.  This hit the spot.","What is this? Can I eat it?","You don't need to worry about me.","Delicious food, thanks.","I am starting to like you!","Gulp"], 
                    ["I do not think you have given up on the idea of taming me.","That is just food to me.  Perhaps I can eat your hand too.","Will eating this make me fat? Ha ha","Why do you always feed me?","Do not trust me.  I may betray you"], 
                    ["Destroy","Look what you have done!","Strange feeling...!  Evil intentions grow in my heart...!","It is happenning!","This is sad...Good is sad...!"]]

        self.feedInfo = {} # : feedInfo[objectId of mob] = objectId of player feeding it

        for i in self.feedableBeasts :
            self.addSkillUseId(i)
            self.addKillId(i)
Beispiel #35
0
 def __init__(self,id,name,descr):
 	JQuest.__init__(self,id,name,descr)
 	self.questItemIds = range(8283,8286)
Beispiel #36
0
 def __init__(self,id,name,descr):
     JQuest.__init__(self,id,name,descr)
     self.Party = []
     self.questItemIds = [FRAGMENT]
Beispiel #37
0
 def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr)

 def onAdvEvent (self,event,npc,player) :
Beispiel #38
0
 def __init__(self,id,name,descr):
    JQuest.__init__(self,id,name,descr)
    self.isSpawned = 0
    self.questItemIds = [Starstone,Detector,Detector2,Letter,Starstone2]
Beispiel #39
0
 def __init__(self,id,name,descr):
     JQuest.__init__(self,id,name,descr)
     self.questItemIds = [10866]
Beispiel #40
0
    def __init__(self, id, name, descr):
        # firstly, don't forget to call the parent constructor to prepare the event triggering
        # mechanisms etc.
        JQuest.__init__(self, id, name, descr)
        # DEFINE MEMBER VARIABLES FOR THIS AI
        # all mobs that can eat...
        self.tamedBeasts = range(16013, 16019)
        self.feedableBeasts = range(21451, 21508) + range(
            21824, 21830) + self.tamedBeasts
        # all mobs that grow by eating
        # mobId: current_growth_level, {food: [list of possible mobs[possible sublist of tamed pets]]}, chance of growth
        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 = [
            [
                "What did you just do to me?", "You want to tame me, huh?",
                "Do not give me this. Perhaps you will be in danger.",
                "Bah bah. What is this unpalatable thing?",
                "My belly has been complaining.  This hit the spot.",
                "What is this? Can I eat it?",
                "You don't need to worry about me.", "Delicious food, thanks.",
                "I am starting to like you!", "Gulp"
            ],
            [
                "I do not think you have given up on the idea of taming me.",
                "That is just food to me.  Perhaps I can eat your hand too.",
                "Will eating this make me fat? Ha ha",
                "Why do you always feed me?",
                "Do not trust me.  I may betray you"
            ],
            [
                "Destroy", "Look what you have done!",
                "Strange feeling...!  Evil intentions grow in my heart...!",
                "It is happenning!", "This is sad...Good is sad...!"
            ]
        ]

        self.feedInfo = {
        }  # : feedInfo[objectId of mob] = objectId of player feeding it

        for i in self.feedableBeasts:
            self.addSkillUseId(i)
            self.addKillId(i)
Beispiel #41
0
 def __init__(self,id,name,descr):
     JQuest.__init__(self,id,name,descr)
Beispiel #42
0
 def __init__(self, id, name, descr):
     JQuest.__init__(self, id, name, descr)
     self.priest = ""
     self.tifaren = 0
     self.soul = 0
     self.well = 0
Beispiel #43
0
 def __init__(self,id,name,descr):
   JQuest.__init__(self,id,name,descr)
   self.isGolemSpawned = 0
   self.isChaosSpawned = 1
Beispiel #44
0
 def __init__(self,id,name,descr):
    JQuest.__init__(self,id,name,descr)
    self.questItemIds = [FRAGMENT,CHEST]
Beispiel #45
0
 def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr)

 def onEvent (self,event,st) :
Beispiel #46
0
 def __init__(self,id,name,descr) :
     JQuest.__init__(self,id,name,descr)
     self.questItemIds = [HERB_OF_VANOR, HERB_OF_HARIT, HERB_OF_OEL_MAHUM, SYMBOL_OF_LOYALTY, ANTIDOTE_RECIPE, VOUCHER_OF_FAITH, POTION_OF_RECOVERY, ANTIDOTE_RECIPE]
     self.athrea = self.chests = 0