mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
16 lines
434 B
Python
16 lines
434 B
Python
from typing import *
|
|
from ..tables import DndBattleUnit
|
|
from .abstract import DndBattleTargetCommand
|
|
|
|
|
|
class DndextraCommand(DndBattleTargetCommand):
|
|
name: str = "dndextra"
|
|
|
|
description: str = "Change the extras for a target in the current battle."
|
|
|
|
syntax: str = "{target} {extra}"
|
|
|
|
aliases = ["extra", "dextra"]
|
|
|
|
async def _change(self, unit: DndBattleUnit, args: List[str]):
|
|
unit.extra = " ".join(args)
|