Ejemplo n.º 1
0
    def __init__(self, caster, manager):
        super().__init__(caster, manager)

        self.name = 'shuriken'
        self.cooldown = 15
        self.cooldownTime = self.cooldown
        self.rangeMax = 1000
        self.speed = 175
        self.damage = 8
        self.energy = 10
        self.scale = 1
        self.wave = True
        self.singleTarget = False
        self.icon = 'icon-shockwave'
        self.title = 'Shockwave'
        self.description = 'Sends a linear wave that deals 8 damage to each enemy unit.'

        soundEnchanter = sounds.SoundEnchanter()
        sound = soundEnchanter.load('shockwave', manager)
        del soundEnchanter
        self.sound = sound.file

        tilesetEnchanter = texturePacks.TilesetEnchanter()
        tileset = tilesetEnchanter.load('slash-shockwave', manager)
        del tilesetEnchanter
        self.texture = tileset.texture
Ejemplo n.º 2
0
    def __init__(self, caster, manager):
        super().__init__(caster, manager)
        self.name = 'sinisterAura'
        self.cooldown = 20
        self.cooldownTime = self.cooldown
        self.castingTime = 0.00
        self.durationMax = 6
        self.energy = 7
        self.scale = 1
        self.icon = 'icon-fire-soul'
        self.title = 'Soul Arrows'
        self.description = 'Increase your basic attack by 1 and grants 50% lifesteal for 6 seconds.'

        self.missileStartPositionX = 0
        self.missileStartPositionY = 0

        soundEnchanter = sounds.SoundEnchanter()
        sound = soundEnchanter.load('fire', manager)
        del soundEnchanter
        self.sound = sound.file

        tilesetEnchanter = texturePacks.TilesetEnchanter()
        tileset = tilesetEnchanter.load('shield-fire-soul', manager)
        del tilesetEnchanter
        self.texture = tileset.texture
Ejemplo n.º 3
0
    def __init__(self, caster, manager):
        super().__init__(caster, manager)
        self.name = 'arrow-volley'
        self.cooldown = 5
        self.cooldownTime = self.cooldown
        self.rangeMax = 1000
        self.speed = 300
        self.damage = 1
        self.energy = 5
        self.wave = False
        self.singleTarget = True
        self.castingTime = 0.50
        self.criticalChance = 5
        self.autoGenerateMissile = False
        self.icon = 'icon-arrow-volley'
        self.title = 'Volley'
        self.description = 'Releases a wave of volley of 10 arrows at a large cone area dealing 1 damage each hit.'

        soundEnchanter = sounds.SoundEnchanter()
        sound = soundEnchanter.load('arrow', manager)
        del soundEnchanter
        self.sound = sound.file

        tilesetEnchanter = texturePacks.TilesetEnchanter()
        tileset = tilesetEnchanter.load('arrow-ranger', manager)
        del tilesetEnchanter
        self.texture = tileset.texture

        self.scale = 1
Ejemplo n.º 4
0
    def __init__(self, caster, manager):
        super().__init__(caster, manager)
        self.name = 'flameSword'
        self.cooldown = 30
        self.cooldownTime = self.cooldown
        self.castingTime = 0.00
        self.durationMax = 10
        self.energy = 5
        self.scale = 1
        self.icon = 'icon-attack-fire'
        self.title = 'Flame Sword'
        self.description = 'Changes your attack type to a fire wave attack that deals 2 damage at linear area and increase your HP regeneration by 1 per second by 10 seconds.'

        self.missileStartPositionX = 0
        self.missileStartPositionY = 0

        soundEnchanter = sounds.SoundEnchanter()
        sound = soundEnchanter.load('fire', manager)
        del soundEnchanter
        self.sound = sound.file

        tilesetEnchanter = texturePacks.TilesetEnchanter()
        tileset = tilesetEnchanter.load('shield-fire', manager)
        del tilesetEnchanter
        self.texture = tileset.texture
Ejemplo n.º 5
0
    def __init__(self, caster, manager):
        super().__init__(caster, manager)
        self.name = 'sinisterAura'
        self.cooldown = 4
        self.cooldownTime = self.cooldown
        self.castingTime = 0.00
        self.durationMax = 2
        self.energy = 4
        self.scale = 1
        self.icon = 'icon-sinister-aura'
        self.title = 'Sinister Aura'
        self.description = 'Increase your movement speed by 100 for 2 seconds.'

        self.missileStartPositionX = 0
        self.missileStartPositionY = 0

        soundEnchanter = sounds.SoundEnchanter()
        sound = soundEnchanter.load('shield', manager)
        del soundEnchanter
        self.sound = sound.file

        tilesetEnchanter = texturePacks.TilesetEnchanter()
        tileset = tilesetEnchanter.load('shield-orange', manager)
        del tilesetEnchanter
        self.texture = tileset.texture
Ejemplo n.º 6
0
    def __init__(self, caster, manager):
        super().__init__(caster, manager)
        self.name = 'shuriken-cone'
        self.cooldown = 0.50
        self.cooldownTime = self.cooldown
        self.rangeMax = 200
        self.speed = 550
        self.damage = 1
        self.lifesteal = 1.25
        self.energy = 2
        self.wave = False
        self.singleTarget = True
        self.castingTime = 0.15
        self.criticalChance = 5
        self.autoGenerateMissile = False
        self.scale = 0.50
        self.icon = 'icon-shuriken'
        self.title = 'Rake'
        self.description = 'Release 4 shurikens at a cone area dealing 1 damage each and restoring 1.25 HP each hit.'

        soundEnchanter = sounds.SoundEnchanter()
        sound = soundEnchanter.load('shuriken', manager)
        del soundEnchanter
        self.sound = sound.file

        tilesetEnchanter = texturePacks.TilesetEnchanter()
        tileset = tilesetEnchanter.load('shuriken', manager)
        del tilesetEnchanter
        self.texture = tileset.texture
Ejemplo n.º 7
0
    def __init__(self, caster, manager):
        super().__init__(caster, manager)
        self.name = 'shieldBlock'
        self.cooldown = 12
        self.cooldownTime = self.cooldown
        self.castingTime = 0.10
        self.durationMax = 5
        self.energy = 3
        self.scale = 1
        self.icon = 'icon-shield-block'
        self.title = 'Power Shield'
        self.description = 'Increase your armor by 50 and your attack by 1 for 5 seconds.'

        self.missileStartPositionX = 0
        self.missileStartPositionY = 0

        soundEnchanter = sounds.SoundEnchanter()
        sound = soundEnchanter.load('shield', manager)
        del soundEnchanter
        self.sound = sound.file

        tilesetEnchanter = texturePacks.TilesetEnchanter()
        tileset = tilesetEnchanter.load('shield', manager)
        del tilesetEnchanter
        self.texture = tileset.texture
Ejemplo n.º 8
0
    def __init__(self, caster, manager):
        super().__init__(caster, manager)
        self.name = 'slash-fire'
        self.cooldown = 0.5
        self.rangeMax = 150
        self.speed = 600
        self.damage = 2
        self.energy = 0
        self.wave = True
        self.singleTarget = False
        self.castingTime = 0.50
        self.criticalChance = 10
        self.icon = 'icon-attack-fire'
        self.scale = 0.75
        self.title = 'Heat Wave'
        self.description = 'Releases a wave that deal 2 damage each hit.'

        soundEnchanter = sounds.SoundEnchanter()
        sound = soundEnchanter.load('spark', manager)
        del soundEnchanter
        self.sound = sound.file

        tilesetEnchanter = texturePacks.TilesetEnchanter()
        tileset = tilesetEnchanter.load('slash-fire', manager)
        del tilesetEnchanter
        self.texture = tileset.texture
Ejemplo n.º 9
0
    def __init__(self, caster, manager):
        super().__init__(caster, manager)
        self.name = 'slash'
        self.cooldown = 0.5
        self.rangeMax = 50
        self.speed = 500
        self.damage = 1
        self.energy = 0
        self.wave = True
        self.singleTarget = True
        self.castingTime = 0.50
        self.criticalChance = 10
        self.icon = 'icon-attack'
        self.scale = 0.75
        self.title = 'Slash'
        self.description = 'Deal 1 damage each hit.'

        soundEnchanter = sounds.SoundEnchanter()
        sound = soundEnchanter.load('slash', manager)
        del soundEnchanter
        self.sound = sound.file

        tilesetEnchanter = texturePacks.TilesetEnchanter()
        tileset = tilesetEnchanter.load('slash', manager)
        del tilesetEnchanter
        self.texture = tileset.texture
Ejemplo n.º 10
0
    def __init__(self, caster, manager):
        super().__init__(caster, manager)
        self.name = 'arrow-cone'
        self.cooldown = 2.50
        self.rangeMax = 400
        self.speed = 400
        self.damage = 1
        self.energy = 0
        self.wave = False
        self.singleTarget = True
        self.castingTime = 0.50
        self.criticalChance = 5
        self.autoGenerateMissile = False

        soundEnchanter = sounds.SoundEnchanter()
        sound = soundEnchanter.load('arrow', manager)
        del soundEnchanter
        self.sound = sound.file

        tilesetEnchanter = texturePacks.TilesetEnchanter()
        tileset = tilesetEnchanter.load('arrow', manager)
        del tilesetEnchanter
        self.texture = tileset.texture

        self.scale = 1
Ejemplo n.º 11
0
    def __init__(self, caster, manager):
        super().__init__(caster, manager)
        self.name = 'arrow-ranger'
        self.icon = 'icon-arrow-ranger'
        self.cooldown = 1.50
        self.rangeMax = 1000
        self.speed = 600
        self.damage = 4
        self.energy = 0
        self.wave = False
        self.singleTarget = True
        self.castingTime = 0.50
        self.criticalChance = 30
        self.scale = 1
        self.title = "Arrow"
        self.description = 'Deal 4 damage each hit. High critical rate.'

        soundEnchanter = sounds.SoundEnchanter()
        sound = soundEnchanter.load('arrow', manager)
        del soundEnchanter
        self.sound = sound.file

        tilesetEnchanter = texturePacks.TilesetEnchanter()
        tileset = tilesetEnchanter.load('arrow-ranger', manager)
        del tilesetEnchanter
        self.texture = tileset.texture
Ejemplo n.º 12
0
    def __init__(self, caster, manager):
        super().__init__(caster, manager)

        self.name = 'shuriken'
        self.cooldown = 2
        self.cooldownTime = self.cooldown
        self.rangeMax = 700
        self.speed = 500
        self.damage = 3
        self.energy = 2
        self.scale = 0.50

        soundEnchanter = sounds.SoundEnchanter()
        sound = soundEnchanter.load('shuriken', manager)
        del soundEnchanter
        self.sound = sound.file

        tilesetEnchanter = texturePacks.TilesetEnchanter()
        tileset = tilesetEnchanter.load('shuriken', manager)
        del tilesetEnchanter
        self.texture = tileset.texture
Ejemplo n.º 13
0
    def __init__(self, caster, manager):
        super().__init__(caster, manager)
        self.name = 'blackShield'
        self.cooldown = 5
        self.cooldownTime = self.cooldown
        self.castingTime = 0
        self.durationMax = 3
        self.energy = 3
        self.scale = 1

        self.missileStartPositionX = 0
        self.missileStartPositionY = 0

        soundEnchanter = sounds.SoundEnchanter()
        sound = soundEnchanter.load('shield', manager)
        del soundEnchanter
        self.sound = sound.file

        tilesetEnchanter = texturePacks.TilesetEnchanter()
        tileset = tilesetEnchanter.load('shield-red', manager)
        del tilesetEnchanter
        self.texture = tileset.texture
Ejemplo n.º 14
0
    def __init__(self, caster, manager):
        super().__init__(caster, manager)
        self.name = 'steelStorm'
        self.cooldownStep = [20, 2]
        self.cooldownStepTime = [self.cooldownStep[0], self.cooldownStep[1]]
        self.cooldown = self.cooldownStep[0]
        self.cooldownTime = self.cooldown
        self.castingTimeStep = [0.25, 0.00]
        self.castingTime = self.castingTimeStep[0]
        self.energyStep = [5, 0]
        self.energy = self.energyStep[0]
        self.timeStep = 7
        self.damage = 3
        self.damageLinear = 2
        self.shurikenCount = 5
        self.scale = 0.50
        self.rangeMax = 500
        self.speed = 500
        self.wave = False
        self.singleTarget = True
        self.criticalChance = 5
        self.icon = 'icon-steel-storm'
        self.title = 'Steelstorm'
        self.description = 'Summon 5 shuriken to turn around this unit dealing 3 damage each hit. '\
                           'After a short time it can be reactivated to release into a linear area dealing 2 damage each hit.'

        soundEnchanter = sounds.SoundEnchanter()
        sound = soundEnchanter.load('shuriken', manager)
        del soundEnchanter
        self.soundStep = [sound.file, sound.file]
        self.sound = self.soundStep[0]

        tilesetEnchanter = texturePacks.TilesetEnchanter()
        tileset = tilesetEnchanter.load('shuriken', manager)
        del tilesetEnchanter
        self.texture = tileset.texture

        self.list = []