def __init__(self):
		Spell.__init__(self, 0)
		self.skill = NECROMANCY
		self.damageskill = SPIRITSPEAK
		self.mana = 0
		self.reagents = {REAGENT_BATWING: 1, REAGENT_NOXCRYSTAL: 1}
		self.mantra = 'Pas Tym An Sanct'
	def __init__(self):
		Spell.__init__(self, 6)
		self.reagents = {REAGENT_BLACKPEARL: 1, REAGENT_SPIDERSILK: 1, REAGENT_GINSENG: 1}
		self.mantra = 'In Ex Grav'
		self.validtarget = TARGET_GROUND
		self.harmful = 1
		self.resistable = 1
	def __init__(self):
		Spell.__init__(self, 0)
		self.skill = CHIVALRY
		self.damageskill = FOCUS
		self.mana = 0
		#self.reagents = {REAGENT_BLOODMOSS: 1, REAGENT_MANDRAKE: 1, REAGENT_GINSENG: 1, REAGENT_SULFURASH: 1}
		self.mantra = ''
	def __init__(self):
		Spell.__init__(self, 1)
		self.skill = NECROMANCY
		self.damageskill = SPIRITSPEAK
		self.mana = 0
		self.reagents = {REAGENT_BATWING: 1, REAGENT_GRAVEDUST: 1, REAGENT_PIGIRON: 1}
		self.mantra = 'Kal Xen Bal Beh'
	def __init__(self):
		Spell.__init__(self, 0)
		self.skill = NECROMANCY
		self.damageskill = SPIRITSPEAK
		self.mana = 0
		self.reagents = {REAGENT_DAEMONBLOOD: 1}
		self.mantra = 'In Jux Mani Xen'
	def __init__(self):
		Spell.__init__(self, 1)
		self.skill = NECROMANCY
		self.damageskill = SPIRITSPEAK
		self.mana = 0
		self.reagents = {REAGENT_GRAVEDUST: 1, REAGENT_NOXCRYSTAL: 1, REAGENT_PIGIRON: 1}
		self.mantra = 'Kal Vas An Flam'
	def __init__(self):
		Spell.__init__(self, 0)
		self.skill = NECROMANCY
		self.damageskill = SPIRITSPEAK
		self.mana = 0
		self.reagents = {REAGENT_PIGIRON: 1}
		self.mantra = 'An Sanct Gra Char'
	def __init__(self):
		Spell.__init__(self, 0)
		self.skill = NECROMANCY
		self.damageskill = SPIRITSPEAK
		self.mana = 0
		self.reagents = {REAGENT_BATWING: 1, REAGENT_DAEMONBLOOD: 1}
		self.mantra = 'Rel Xen Vas Bal'
	def __init__(self):
		Spell.__init__(self, 1)
		self.skill = NECROMANCY
		self.damageskill = SPIRITSPEAK
		self.mana = 0
		self.reagents = {REAGENT_NOXCRYSTAL: 1, REAGENT_DAEMONBLOOD: 1}
		self.mantra = 'In Bal Nox'
	def __init__(self):
		Spell.__init__(self, 0)
		self.skill = NECROMANCY
		self.damageskill = SPIRITSPEAK
		self.mana = 0
		self.reagents = {REAGENT_GRAVEDUST: 1, REAGENT_BATWING: 1}
		self.mantra = 'In Agle Corp Ylem'
	def __init__(self):
		Spell.__init__(self, 0)
		self.skill = NECROMANCY
		self.damageskill = SPIRITSPEAK
		self.mana = 0
		self.reagents = {REAGENT_NOXCRYSTAL: 1, REAGENT_PIGIRON: 1}
		self.mantra = 'Rel Xen Um'
	def __init__(self):
		Spell.__init__(self, 0)
		self.skill = NECROMANCY
		self.damageskill = SPIRITSPEAK
		self.mana = 0
		self.reagents = {REAGENT_PIGIRON: 1, REAGENT_GRAVEDUST: 1}
		self.mantra = 'In Sar'
	def __init__(self):
		Spell.__init__(self, 1)
		self.skill = NECROMANCY
		self.damageskill = SPIRITSPEAK
		self.mana = 0
		self.reagents = {REAGENT_GRAVEDUST: 1, REAGENT_DAEMONBLOOD: 1}
		self.mantra = 'Uus Corp'
 def __init__(self):
     Spell.__init__(self, 4)
     self.reagents = {REAGENT_BLACKPEARL: 1, REAGENT_SPIDERSILK: 1, REAGENT_SULFURASH: 1}
     self.mantra = "In Flam Grav"
     self.validtarget = TARGET_GROUND
     self.harmful = 1
     self.resistable = 1
	def __init__(self):
		Spell.__init__(self, 5)
		self.skill = CHIVALRY
		self.requiredskill = 250
		self.damageskill = FOCUS
		self.mana = 15
		self.tithingpoints = 10
		self.mantra = 'Divinum Furis'
Beispiel #16
0
 def __init__(self):
     Spell.__init__(self, 3)
     self.skill = CHIVALRY
     self.requiredskill = 450
     self.damageskill = FOCUS
     self.mana = 20
     self.tithingpoints = 10
     self.mantra = 'Forul Solum'
	def __init__(self):
		Spell.__init__(self, 7)
		self.skill = CHIVALRY
		self.requiredskill = 650
		self.damageskill = FOCUS
		self.mana = 20
		self.tithingpoints = 30
		self.mantra = 'Dium Prostra'
	def __init__(self):
		Spell.__init__(self, 3)
		self.skill = CHIVALRY
		self.requiredskill = 450
		self.damageskill = FOCUS
		self.mana = 20
		self.tithingpoints = 10
		self.mantra = 'Forul Solum'
	def __init__(self):
		Spell.__init__(self, 3)
		self.skill = CHIVALRY
		self.requiredskill = 150
		self.damageskill = FOCUS
		self.mana = 10
		self.tithingpoints = 10
		self.mantra = 'Consecrus Arma'
Beispiel #20
0
 def __init__(self):
     Spell.__init__(self, 7)
     self.skill = CHIVALRY
     self.requiredskill = 650
     self.damageskill = FOCUS
     self.mana = 20
     self.tithingpoints = 30
     self.mantra = 'Dium Prostra'
Beispiel #21
0
 def __init__(self):
     Spell.__init__(self, 7)
     self.reagents = {
         REAGENT_GARLIC: 1,
         REAGENT_GINSENG: 1,
         REAGENT_SULFURASH: 1
     }
     self.mantra = 'Vas Ylem Rel'
	def __init__(self):
		Spell.__init__(self, 6)
		self.skill = NECROMANCY
		self.requiredskill = 1000
		self.damageskill = SPIRITSPEAK
		self.mana = 40
		self.reagents = {REAGENT_GRAVEDUST: 1, REAGENT_NOXCRYSTAL: 1}
		self.mantra = 'Ort Corp Grav'
Beispiel #23
0
 def __init__(self):
     Spell.__init__(self, 2)
     self.reagents = {
         REAGENT_GARLIC: 1,
         REAGENT_GINSENG: 1,
         REAGENT_SULFURASH: 1
     }
     self.mantra = 'Uus Sanct'
Beispiel #24
0
 def __init__(self):
     Spell.__init__(self, 5)
     self.reagents = {
         REAGENT_NIGHTSHADE: 1,
         REAGENT_BLOODMOSS: 1,
         REAGENT_GARLIC: 1
     }
     self.mantra = 'Kal In Ex'
Beispiel #25
0
 def __init__(self):
     Spell.__init__(self, 5)
     self.reagents = {
         REAGENT_GARLIC: 1,
         REAGENT_MANDRAKE: 1,
         REAGENT_SPIDERSILK: 1
     }
     self.mantra = 'In Jux Sanct'
Beispiel #26
0
 def __init__(self):
     Spell.__init__(self, 6)
     self.skill = NECROMANCY
     self.requiredskill = 1000
     self.damageskill = SPIRITSPEAK
     self.mana = 40
     self.reagents = {REAGENT_GRAVEDUST: 1, REAGENT_NOXCRYSTAL: 1}
     self.mantra = 'Ort Corp Grav'
Beispiel #27
0
 def __init__(self):
     Spell.__init__(self, 1)
     self.skill = NECROMANCY
     self.requiredskill = 0
     self.damageskill = SPIRITSPEAK
     self.mana = 0
     self.reagents = {REAGENT_PIGIRON: 1}
     self.mantra = 'An Sanct Gra Char'
Beispiel #28
0
 def __init__(self):
     Spell.__init__(self, 1)
     self.reagents = {
         REAGENT_GARLIC: 1,
         REAGENT_SPIDERSILK: 1,
         REAGENT_SULFURASH: 1
     }
     self.mantra = 'Flam Sanct'
Beispiel #29
0
 def __init__(self):
     Spell.__init__(self, 1)
     self.reagents = {
         REAGENT_GARLIC: 1,
         REAGENT_GINSENG: 1,
         REAGENT_MANDRAKE: 1
     }
     self.mantra = 'In Mani Ylem'
Beispiel #30
0
 def __init__(self):
     Spell.__init__(self, 3)
     self.skill = CHIVALRY
     self.requiredskill = 150
     self.damageskill = FOCUS
     self.mana = 10
     self.tithingpoints = 10
     self.mantra = 'Consecrus Arma'
Beispiel #31
0
 def __init__(self):
     Spell.__init__(self, 5)
     self.skill = CHIVALRY
     self.requiredskill = 250
     self.damageskill = FOCUS
     self.mana = 15
     self.tithingpoints = 10
     self.mantra = 'Divinum Furis'
	def __init__(self):
		Spell.__init__(self, 6)
		self.skill = NECROMANCY
		self.requiredskill = 30
		self.damageskill = SPIRITSPEAK
		self.mana = 17
		self.reagents = {REAGENT_BATWING: 1, REAGENT_GRAVEDUST: 1, REAGENT_DAEMONBLOOD: 1}
		self.mantra = 'Kal Xen Bal'
Beispiel #33
0
 def __init__(self):
     Spell.__init__(self, 5)
     self.reagents = {
         REAGENT_BLOODMOSS: 1,
         REAGENT_MANDRAKE: 1,
         REAGENT_SPIDERSILK: 1
     }
     self.mantra = 'Kal Xen'
     self.validtarget = TARGET_GROUND
Beispiel #34
0
 def __init__(self):
     Spell.__init__(self, 4)
     self.skill = NECROMANCY
     self.requiredskill = 40
     self.damageskill = SPIRITSPEAK
     self.mana = 23
     self.reagents = {REAGENT_GRAVEDUST: 1, REAGENT_DAEMONBLOOD: 1}
     self.mantra = 'Uus Corp'
     self.validtarget = TARGET_ITEM
Beispiel #35
0
 def __init__(self):
     Spell.__init__(self, 7)
     self.reagents = {
         REAGENT_BLACKPEARL: 1,
         REAGENT_MANDRAKE: 1,
         REAGENT_SULFURASH: 1
     }
     self.mantra = 'Vas Rel Por'
     self.validtarget = TARGET_ITEM
	def __init__(self):
		Spell.__init__(self, 5)
		self.skill = CHIVALRY
		self.requiredskill = 550
		self.damageskill = FOCUS
		self.mana = 10
		self.tithingpoints = 10
		self.mantra = 'Augus Luminos'
		self.harmful = 1
Beispiel #37
0
 def __init__(self):
     Spell.__init__(self, 5)
     self.reagents = {
         REAGENT_BLACKPEARL: 1,
         REAGENT_MANDRAKE: 1,
         REAGENT_NIGHTSHADE: 1
     }
     self.mantra = 'In Jux Hur Ylem'
     self.validtarget = TARGET_GROUND
Beispiel #38
0
 def __init__(self):
     Spell.__init__(self, 4)
     self.reagents = {
         REAGENT_GARLIC: 1,
         REAGENT_GINSENG: 1,
         REAGENT_MANDRAKE: 1
     }
     self.mantra = 'Vas An Nox'
     self.validtarget = TARGET_GROUND
Beispiel #39
0
 def __init__(self):
     Spell.__init__(self, 8)
     self.reagents = {
         REAGENT_BLOODMOSS: 1,
         REAGENT_MANDRAKE: 1,
         REAGENT_GINSENG: 1,
         REAGENT_SULFURASH: 1
     }
     self.mantra = 'In Vas Por'
Beispiel #40
0
 def __init__(self):
     Spell.__init__(self, 8)
     self.elementid = ''
     self.validtarget = TARGET_GROUND
     self.reagents = {
         REAGENT_BLOODMOSS: 1,
         REAGENT_MANDRAKE: 1,
         REAGENT_SPIDERSILK: 1
     }
Beispiel #41
0
 def __init__(self):
     Spell.__init__(self, 3)
     self.reagents = {
         REAGENT_BLOODMOSS: 1,
         REAGENT_SULFURASH: 1,
         REAGENT_GARLIC: 1
     }
     self.mantra = 'An Por'
     self.validtarget = TARGET_ITEM
	def __init__(self):
		Spell.__init__(self, 2)
		self.skill = CHIVALRY
		self.requiredskill = 350
		self.damageskill = FOCUS
		self.mana = 10
		self.tithingpoints = 10
		self.mantra = 'Dispiro Malas'
		self.harmful = 1
Beispiel #43
0
 def __init__(self):
     Spell.__init__(self, 2)
     self.validtarget = TARGET_ITEM
     self.reagents = {
         REAGENT_GARLIC: 1,
         REAGENT_SPIDERSILK: 1,
         REAGENT_SULFURASH: 1
     }
     self.mantra = 'In Jux'
Beispiel #44
0
 def __init__(self):
     Spell.__init__(self, 6)
     self.reagents = {
         REAGENT_BLOODMOSS: 1,
         REAGENT_BLACKPEARL: 1,
         REAGENT_MANDRAKE: 1
     }
     self.mantra = 'Kal Por Ylem'
     self.validtarget = TARGET_ITEM
Beispiel #45
0
 def __init__(self):
     Spell.__init__(self, 5)
     self.reagents = {
         REAGENT_BLACKPEARL: 1,
         REAGENT_SPIDERSILK: 1,
         REAGENT_NIGHTSHADE: 1
     }
     self.mantra = 'In Nox Grav'
     self.validtarget = TARGET_GROUND
	def __init__(self):
		Spell.__init__(self, 7)
		self.skill = CHIVALRY
		self.requiredskill = 150
		self.damageskill = FOCUS
		self.mana = 10
		self.tithingpoints = 15
		self.mantra = 'Sanctum Viatas'
		self.validtarget = TARGET_ITEM
	def __init__(self):
		Spell.__init__(self, 4)
		self.skill = NECROMANCY
		self.requiredskill = 40
		self.damageskill = SPIRITSPEAK
		self.mana = 23
		self.reagents = {REAGENT_GRAVEDUST: 1, REAGENT_DAEMONBLOOD: 1}
		self.mantra = 'Uus Corp'
		self.validtarget = TARGET_ITEM
Beispiel #48
0
 def __init__(self):
     Spell.__init__(self, 7)
     self.skill = CHIVALRY
     self.requiredskill = 150
     self.damageskill = FOCUS
     self.mana = 10
     self.tithingpoints = 15
     self.mantra = 'Sanctum Viatas'
     self.validtarget = TARGET_ITEM
Beispiel #49
0
 def __init__(self):
     Spell.__init__(self, 5)
     self.skill = CHIVALRY
     self.requiredskill = 550
     self.damageskill = FOCUS
     self.mana = 10
     self.tithingpoints = 10
     self.mantra = 'Augus Luminos'
     self.harmful = 1
Beispiel #50
0
 def __init__(self):
     Spell.__init__(self, 2)
     self.skill = CHIVALRY
     self.requiredskill = 350
     self.damageskill = FOCUS
     self.mana = 10
     self.tithingpoints = 10
     self.mantra = 'Dispiro Malas'
     self.harmful = 1
Beispiel #51
0
 def __init__(self):
     Spell.__init__(self, 8)
     self.reagents = {
         REAGENT_BLACKPEARL: 1,
         REAGENT_MANDRAKE: 1,
         REAGENT_BLOODMOSS: 1,
         REAGENT_NIGHTSHADE: 1
     }
     self.mantra = 'Vas Corp Por'
     self.validtarget = TARGET_GROUND
Beispiel #52
0
 def __init__(self):
     Spell.__init__(self, 7)
     self.reagents = {
         REAGENT_BLACKPEARL: 1,
         REAGENT_MANDRAKE: 1,
         REAGENT_SPIDERSILK: 1,
         REAGENT_SULFURASH: 1
     }
     self.mantra = 'In Sanct Grav'
     self.validtarget = TARGET_GROUND
Beispiel #53
0
 def __init__(self):
     Spell.__init__(self, 8)
     self.reagents = {
         REAGENT_BLOODMOSS: 1,
         REAGENT_GARLIC: 1,
         REAGENT_GINSENG: 1
     }
     self.mantra = 'An Corp'
     self.validtarget = TARGET_CHAR
     self.affectdead = True
Beispiel #54
0
 def __init__(self):
     Spell.__init__(self, 5)
     self.reagents = {
         REAGENT_BLACKPEARL: 1,
         REAGENT_SPIDERSILK: 1,
         REAGENT_SULFURASH: 1,
         REAGENT_GARLIC: 1
     }
     self.mantra = 'An Grav'
     self.validtarget = TARGET_ITEM
	def cast(self, char, mode, args=[], target=None, item=None):
		# No Mark Region
		if not char.region or char.region.nomark:
			if char.socket:
				char.socket.clilocmessage(501802)
			return

		return Spell.cast(self, char, mode, args, target, item)
	def affectchar(self, char, mode, target, args=[]):
		if not Spell.affectchar(self, char, mode, target):
			return 0

		# Dispelling ourself is forbidden
		# And we can only dispel summoned creatures
		if char == target or not target.npc or target.summontimer == 0:
			if char.socket:
				char.socket.clilocmessage(1005049)
			return 0
		return 1
	def cast(self, char, mode, args=[], target=None, item=None):
		if not self.consumerequirements(char, mode, args, target, item):
			return False
		if not char.gm:
			if char.criminal:
				char.socket.clilocmessage( 1005561, "", 0x22 ) # Thou'rt a criminal and cannot escape so easily.
			elif len(char.getopponents()):
				char.socket.clilocmessage( 1061282 ) # You cannot use the Sacred Journey ability to flee from combat.
			elif char.overloaded:
				char.socket.clilocmessage( 502359, "", 0x22 ) # Thou art too encumbered to move.
			return False
		return Spell.cast(self, char, mode, args, target, item)
	def cast(self, char, mode, args=[], target=None, item=None):
		if not char.gm:
			if char.iscriminal():
				if char.socket:
					char.socket.clilocmessage(1005561)
				return

			if char.attacktarget:
				if char.socket:
					char.socket.clilocmessage(1005564)
				return

		return Spell.cast(self, char, mode, args, target, item)
    def checkrequirements(self, char, mode, args=[], target=None, item=None):
        if char.polymorph:
            if char.socket:
                char.socket.clilocmessage(1005559)
            return 0
        if char.incognito:
            if char.socket:
                char.socket.clilocmessage(502167)
            return 0

        if len(args) == 0:
            polymorph.showmenu(char)
            return 0
        return Spell.checkrequirements(self, char, mode, args, target, item)
	def checkrequirements(self, char, mode, args=[], target=None, item=None):
		if char.polymorph:
			if char.socket:
				char.socket.clilocmessage(1005559)
			return 0
		if char.incognito:
			if char.socket:
				char.socket.clilocmessage(502167)
			return 0
		if necromancy.transformed(char):
			if char.socket:
				char.socket.clilocmessage(1061633 ) # You cannot polymorph while in that form.
			return 0
		if len(args) == 0:
			polymorph.showmenu(char)
			return 0
		return Spell.checkrequirements(self, char, mode, args, target, item)