Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CmdAbilities(Command):
- """
- List abilities
- Usage:
- abilities
- Displays a list of your current ability values.
- """
- key = "abilities"
- aliases = ["abi", "stats", "statistics"]
- lock = "cmd:all()"
- help_category = "General"
- def func(self):
- "implements the actual functionality"
- str, agi, mag = self.caller.get_abilities()
- string = "STR: %s, AGI: %s, MAG: %s" % (str, agi, mag)
- self.caller.msg(string)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement