Ejemplo n.º 1
0
class FloatingDisc(Spell):
    name = "Floating Disc"
    class_level_map = {
        classes.MagicUser: 1,
    }
    duration = SpellDuration(base_duration=units.GameTurn(5),
                             duration_per_level=units.GameTurn(1))
    range = SpellRange(units.Feet(0))
Ejemplo n.º 2
0
class Fly(Spell):
    name = "Fly"
    class_level_map = {
        classes.MagicUser: 3,
    }
    duration = SpellDuration(duration_per_level=units.GameTurn(1))
    range = Touch()
Ejemplo n.º 3
0
class ESP(Spell):
    name = "ESP"
    class_level_map = {
        classes.MagicUser: 2,
    }
    duration = SpellDuration(duration_per_level=units.GameTurn(1))
    range = SpellRange(base_range=units.Feet(60))
Ejemplo n.º 4
0
class Clairvoyance(Spell):
    name = "Blade Barrier"
    class_level_map = {
        classes.MagicUser: 3,
    }
    duration = SpellDuration(duration_per_level=units.GameTurn(12))
    range = SpellRange(base_range=units.Feet(60))
Ejemplo n.º 5
0
class FindTraps(Spell):
    name = "Find Traps"
    class_level_map = {
        classes.Cleric: 2,
    }
    duration = SpellDuration(base_duration=units.GameTurn(3))
    range = SpellRange(units.Feet(30))
Ejemplo n.º 6
0
class FindThePath(Spell):
    name = "Find The Path"
    class_level_map = {
        classes.Cleric: 6,
    }
    duration = SpellDuration(duration_per_level=units.GameTurn(1))
    range = Touch()
Ejemplo n.º 7
0
class GrowthOfAnimals(Spell):
    name = "Growth of Animals"
    class_level_map = {
        classes.Cleric: 3,
    }
    duration = SpellDuration(duration_per_level=units.GameTurn(1))
    range = SpellRange(base_range=units.Feet(60),
                       range_per_level=units.Feet(10))
Ejemplo n.º 8
0
class DetectMagic(Spell):
    name = "Detect Magic"
    class_level_map = {
        classes.Cleric: 1,
        classes.MagicUser: 2,
    }
    duration = SpellDuration(base_duration=units.GameTurn(2))
    range = SpellRange(base_range=units.Feet(60))
Ejemplo n.º 9
0
class Lantern(LightItem):
    name = "Lantern"

    bright_light_radius = units.Feet(30)
    dim_light_radius = units.Feet(20)
    fuel = items.weapons.throwing.common.OilFlask
    fuel_duration = units.GameTurn(18)
    last_life_dice = dice.D6(1)
    light_shape = Shape.Circle
    price = coins.Gold(5)
    weight = units.Pound(2)
Ejemplo n.º 10
0
class Torch(LightItem):
    name = "Torch"

    bright_light_radius = units.Feet(30)
    dim_light_radius = units.Feet(20)
    fuel = None
    fuel_duration = units.GameTurn(4)
    last_life_dice = dice.D4(1)
    light_shape = Shape.Circle
    price = coins.Silver(1)
    weight = units.Pound(0.2)
Ejemplo n.º 11
0
class Candle(LightItem):
    name = "Torch"

    bright_light_radius = units.Feet(5)
    dim_light_radius = units.Feet(5)
    fuel = None
    fuel_duration = units.GameTurn(4)
    last_life_dice = dice.D4(1)
    light_shape = Shape.Circle
    price = coins.Copper(10)
    weight = units.Pound(0.1)