diff --git a/royalnet/packs/rpg/commands/dndedit.py b/royalnet/packs/rpg/commands/dndedit.py index a16727de..12881cc9 100644 --- a/royalnet/packs/rpg/commands/dndedit.py +++ b/royalnet/packs/rpg/commands/dndedit.py @@ -1,3 +1,4 @@ +import re from royalnet.commands import * from ..tables import DndCharacter, DndActiveCharacter @@ -35,7 +36,7 @@ class DndeditCommand(Command): r"WIS\s+(\d+)\s+" r"CHA\s+(\d+)\s+" r"MAXHP\s+(\d+)\s+" - r"AC\s+(\d+)") + r"AC\s+(\d+)", re.IGNORECASE) try: int(name) except ValueError: diff --git a/royalnet/packs/rpg/commands/dndnew.py b/royalnet/packs/rpg/commands/dndnew.py index 3fdb8a05..4c8af8f9 100644 --- a/royalnet/packs/rpg/commands/dndnew.py +++ b/royalnet/packs/rpg/commands/dndnew.py @@ -1,3 +1,4 @@ +import re from royalnet.commands import * from ..tables import DndCharacter @@ -35,7 +36,7 @@ class DndnewCommand(Command): r"WIS\s+(\d+)\s+" r"CHA\s+(\d+)\s+" r"MAXHP\s+(\d+)\s+" - r"AC\s+(\d+)") + r"AC\s+(\d+)", re.IGNORECASE) try: int(name) except ValueError: