fix(skill_preflight): add fohdin build support alongside hammerdin
- Changed char_type check from == to in (hammerdin, fohdin)
- Uses getattr(config_instance, char_type, {}) to load correct build config
- Enables proper skill preflight validation for FOH paladin builds
This commit is contained in:
@@ -59,8 +59,8 @@ def get_build_skill_checks(config_instance: Config, char_type: str | None = None
|
||||
char_type = char_type or config_instance.char.get("type", "")
|
||||
checks = []
|
||||
|
||||
if char_type == "hammerdin":
|
||||
build_cfg = getattr(config_instance, "hammerdin", {})
|
||||
if char_type in ("hammerdin", "fohdin"):
|
||||
build_cfg = getattr(config_instance, char_type, {})
|
||||
# blessed hammer lives on left-click; auras/teleport go to right
|
||||
# hotkeys select onto the RIGHT slot; left holds the hammer permanently
|
||||
checks.append(SkillCheck(char_type, "blessed_hammer",
|
||||
|
||||
Reference in New Issue
Block a user