From 8c4bda98b7b6c0295fc2f01d4bbca1521079ef43 Mon Sep 17 00:00:00 2001 From: ender <68495763+tookender@users.noreply.github.com> Date: Fri, 18 Oct 2024 18:22:01 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9D=8C=20Default=20to=200?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extensions/dq/calculators.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/dq/calculators.py b/extensions/dq/calculators.py index 26497d7..0b778e8 100644 --- a/extensions/dq/calculators.py +++ b/extensions/dq/calculators.py @@ -49,8 +49,8 @@ async def calc_potential(self, ctx, current_power: int, current_upgrades: int, t app_commands.Choice(name="Jade Roller", value="Jade Roller"), app_commands.Choice(name="Solar Beam (2 ticks)", value="Solar Beam (2 ticks)"), ]) - async def calc_damage(self, ctx, ability: app_commands.Choice[str], helmet_power: Optional[int], armor_power: Optional[int], weapon_power: Optional[int], - ring1_power: Optional[int], ring2_power: Optional[int], damage_skill_points: Optional[int]): + async def calc_damage(self, ctx, ability: app_commands.Choice[str], helmet_power: Optional[int] = 0, armor_power: Optional[int] = 0, weapon_power: Optional[int] = 0, + ring1_power: Optional[int] = 0, ring2_power: Optional[int] = 0, damage_skill_points: Optional[int] = 0): damage = calculate_damage(ability, helmet_power, armor_power, weapon_power, ring1_power, ring2_power, damage_skill_points) ni_low = damage['No Inner']['Low Damage']