Example #1
0
 def __init__(self):
     name = "Large Pulse Laser"
     damage = 10
     heat = 10
     wtype = "L"
     wrange = 6
     Weapon.__init__(self, name, damage, heat, 0, wtype, wrange)
Example #2
0
 def __init__(self):
     name = "Medium Pulse Laser"
     damage = 7
     heat = 4
     wtype = "L"
     wrange = 4
     Weapon.__init__(self, name, damage, heat, 0, wtype, wrange)
Example #3
0
 def __init__(self):
     name = "Small Pulse Laser"
     damage = 3
     heat = 2
     wtype = "L"
     wrange = 2
     Weapon.__init__(self, name, damage, heat, 0, wtype, wrange)
Example #4
0
 def __init__(self):
     name = "Extended Range Large Laser"
     damage = 10
     heat = 12
     wtype = "L"
     wrange = 8
     Weapon.__init__(self, name, damage, heat, 0, wtype, wrange)
Example #5
0
	def __init__(self, pos = (0,0), **images) :
		Projectile.__init__ (self, pos, **images)
		Weapon.__init__ (self, pos, **images)
		self._has_been_launched = False
		self.set_knockback_factor (5)
		self._damage = 5
		self._name = "Bomb"
Example #6
0
 def __init__(self):
     name = "Extended Range Medium Laser"
     damage = 7
     heat = 5
     wtype = "L"
     wrange = 5
     Weapon.__init__(self, name, damage, heat, 0, wtype, wrange)
Example #7
0
 def __init__(self):
    Weapon.__init__(self)
    self.enhancement = 2
    self.damageDie = 'd8'
    self.numDie = 0
    self.extraCrit = '2d6'
    self.weaponType = 'implement'
    self.keywords = ['implement',]
Example #8
0
 def __init__(self):
    Weapon.__init__(self)
    self.enhancement = 0
    self.damageDie = 'd8'
    self.numDie = 1
    self.damageType = 'str'
    self.weaponType = 'mace'
    self.keywords = ['mace','weapon']
Example #9
0
 def __init__(self):
     name = "Gauss Rifle"
     damage = 15
     heat = 1
     ammo = 5
     wtype = "R"
     wrange = 7
     Weapon.__init__(self, name, damage, heat, ammo, wtype, wrange)
Example #10
0
 def __init__(self):
     name = "Autocannon"
     damage = 10
     heat = 3
     ammo = 15
     wtype = "K"
     wrange = 5
     Weapon.__init__(self, name, damage, heat, ammo, wtype, wrange)
Example #11
0
 def __init__(self):
     name = "Short Range Missles"
     damage = 10
     heat = 4
     ammo = 10
     wtype = "M"
     wrange = 3
     Weapon.__init__(self, name, damage, heat, ammo, wtype, wrange)
Example #12
0
 def __init__(self):
     name = "Autocannon/20"
     damage = 20
     heat = 7
     ammo = 15
     wtype = "K"
     wrange = 3
     Weapon.__init__(self, name, damage, heat, ammo, wtype, wrange)
Example #13
0
 def __init__(self):
     name = "Long Range Missles"
     damage = 10
     heat = 6
     ammo = 10
     wtype = "M"
     wrange = 7
     Weapon.__init__(self, name, damage, heat, ammo, wtype, wrange)
Example #14
0
	def __init__(self, pos = (0,0), **images) :
		Weapon.__init__ (self, pos,**images)
		self._firing_velocity = 20
		self._magazine = []
		self._cooldown = 30
		self._name = "Firearm"

		#used for timing
		self._cooldown_frames_left = 0
Example #15
0
 def __init__(self):
     Weapon.__init__(self)
     self.enhancement = 1
     self.damageDie = "d6"
     self.numDie = 1
     self.critDamage = ""
     self.damageType = "dex"
     self.weaponType = "handCrossbow"
     self.keywords = ["handCrossbow", "ranged"]
     self.extraCrit = "1d6"
Example #16
0
 def __init__(self):
     Weapon.__init__(self)
     self.enhancement = 3
     self.damageDie = "d8"
     self.numDie = 1
     self.critDamage = "3d6"
     self.damageType = "str"
     self.weaponType = "dagger"
     self.keywords = ["dagger", "lightBlade", "radiant"]
     self.extraCrit = "3d6"
Example #17
0
 def __init__(self):
     Weapon.__init__(self)
     self.enhancement = 0
     self.damageDie = "d4"
     self.numDie = 1
     self.critDamage = ""
     self.damageType = "str"
     self.weaponType = "fist"
     self.keywords = ["unarmed"]
     self.extraCrit = ""
Example #18
0
 def __init__(self):
     Weapon.__init__(self)
     self.enhancement = 2
     self.damageDie = "d4"
     self.numDie = 1
     self.critDamage = ""
     self.damageType = "str"
     self.weaponType = "dagger"
     self.keywords = ["dagger", "lightBlade"]
     self.extraCrit = "2d6"
Example #19
0
 def __init__(self, name, damage, durability):
     Weapon.__init__(self, name, damage)
     self.durability = durability
Example #20
0
 def __init__(self, *args):
     Weapon.__init__(self,*args)
     self.cooldown = 0
Example #21
0
 def __init__(self, name, damage, image_filename, x, y):
     Weapon.__init__(self, name, damage, image_filename, x, y)
Example #22
0
 def __init__(self, name, damage, accuracy):
     Weapon.__init__(self, name, damage)
     self.accuracy = accuracy
Example #23
0
	def __init__(self,owner):
		self.damage = 30
		self.shooting = False
		Weapon.__init__(self,owner)
		self.sound = cocos.audio.pygame.mixer.Sound('sounds/shoot.wav')
		self.channel = cocos.audio.pygame.mixer.find_channel()
Example #24
0
 def __init__(self, *args):
     Weapon.__init__(self, *args)
     self.cooldown = 5
Example #25
0
 def __init__(self, name, damage, mana_cost, cast_range):
     Weapon.__init__(self, name, damage)
     self.__mana_cost = mana_cost
     self.__cast_range = cast_range
Example #26
0
	def __init__(self,owner):
		Weapon.__init__(self,owner)
		pass
Example #27
0
	def __init__(self,owner):
		Weapon.__init__(self,owner)
		self.sound = cocos.audio.pygame.mixer.Sound('sounds/shotgun.wav')