Skip to content

Commit

Permalink
❌ Default to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
tookender committed Oct 18, 2024
1 parent f50f9e7 commit 8c4bda9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extensions/dq/calculators.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down

0 comments on commit 8c4bda9

Please sign in to comment.