Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(0)  |  Derive(2)  |  Import(1)

src/l/a/Lampost-Mud-HEAD/lampost/lpflavor/combat.py   Lampost-Mud(Download)
from lampost.gameops.target import TargetClass
from lampost.lpflavor.attributes import POOL_LIST
from lampost.lpflavor.skill import BaseSkill, roll_calc, SkillTemplate, avg_calc
from lampost.mud.action import mud_action
from lampost.util.lmutil import args_print
class AttackSkill(BaseSkill):
    template_id = 'attack'
 
    target_class = [TargetClass.ENV_LIVING]
 
class DefenseSkill(BaseSkill):
    template_id = 'defense'
 
    target_class = [TargetClass.ENV_LIVING]
    damage_type = DBOTField(['physical'])