diff --git a/START_TOOL.bat b/START_TOOL.bat new file mode 100644 index 0000000..ac97385 --- /dev/null +++ b/START_TOOL.bat @@ -0,0 +1,8 @@ +@echo off +title DashLeague Broadcast Tool +echo Checking Dependencies... +pip install -r requirements.txt +echo. +echo Launching... +python dashleague_cast_tool.py +pause \ No newline at end of file diff --git a/analysis/player_summary_v2.py b/analysis/player_summary_v2.py index a5311f9..6e16f77 100644 --- a/analysis/player_summary_v2.py +++ b/analysis/player_summary_v2.py @@ -1,12 +1,6 @@ def build_player_summary(player): """ Builds a caster-ready summary block for a single player. - Uses: - - Slayer - - Payload Objective - - Sharpshooter - - Consistency - - Clutch """ def safe_pct(value): @@ -20,11 +14,13 @@ def build_player_summary(player): name = player.get("name", "Unknown Player") + # --- DEFINE ALL TAGS HERE --- slayer = player.get("slayer", {}) payload = player.get("objective_payload", {}) sharp = player.get("sharpshooter", {}) consistency = player.get("consistency", {}) clutch = player.get("clutch", {}) + breaker = player.get("breaker", {}) # <--- FIXED: Added this line lines = [] lines.append(f"{name}\n")