예제 #1
0
파일: Combat.py 프로젝트: ssteen3/pydnd
    def reqAttackType(attack, attackType):

        if attackType == 'Weapon':
            val = manager.fromWepTable(attack)
            value = val['Range']
        elif attackType == 'Spell':
            value = manager.fromSpellTable(attack)

        return value
예제 #2
0
파일: Combat.py 프로젝트: ssteen3/pydnd
    def castSpell(spell, target='Self'):

        spell = manager.fromSpellTable(spell)