Fixed Blacklist and python 3.8 support (#1616)

This commit is contained in:
JaredWeakStrike
2023-03-28 12:02:06 -04:00
committed by GitHub
parent b7c74919b7
commit ae7dad8bf9
2 changed files with 8 additions and 5 deletions

View File

@@ -1,6 +1,8 @@
from Options import Choice, Option, Range, Toggle, OptionSet
import typing
from worlds.kh2 import SupportAbility_Table, ActionAbility_Table
class SoraEXP(Range):
"""Sora Level Exp Multiplier"""
@@ -166,8 +168,7 @@ class KeybladeAbilities(Choice):
class BlacklistKeyblade(OptionSet):
"""Black List these Abilities on Keyblades"""
display_name = "Blacklist Keyblade Abilities"
verify_item_name = True
valid_keys = set(SupportAbility_Table.keys()).union(ActionAbility_Table.keys())
class Goal(Choice):
"""Win Condition