<reponame>ChrisLR/BasicDungeonRL
from bflib import units
from bflib.characters import classes
from bflib.spells import listing
from bflib.spells.base import Spell
from bflib.spells.duration import SpellDuration
from bflib.spells.range import SpellRange


@listing.register_spell
class BladeBarrier(Spell):
    name = "Blade Barrier"
    class_level_map = {
        classes.Cleric: 6,
    }
    duration = SpellDuration(duration_per_level=units.CombatRound(1))
    range = SpellRange(base_range=units.Feet(90))

from bflib import units
from bflib.characters import classes
from bflib.spells import listing
from bflib.spells.base import Spell
from bflib.spells.duration import SpellDuration
from bflib.spells.range import SpellRange


@listing.register_spell
class BladeBarrier(Spell):
    name = "Blade Barrier"
    class_level_map = {
        classes.Cleric: 6,
    }
    duration = SpellDuration(duration_per_level=units.CombatRound(1))
    range = SpellRange(base_range=units.Feet(90))