Skip to content

Commit

Permalink
fix for name specials
Browse files Browse the repository at this point in the history
  • Loading branch information
starknetdev committed Sep 10, 2024
1 parent e8b784b commit f9b2ea3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ui/src/app/lib/utils/processFutures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -678,15 +678,16 @@ function critical_hit_bonus(
function weapon_special_bonus(
damage: number,
weapon: Item,
beast: Beast,
beast: any,
ring: Item | undefined
): number {
console.log(beast);
let special2_bonus =
weapon.special2 && weapon.special2 === beast.specialName
weapon.special2 && weapon.special2 === beast.special2
? Math.floor(damage * 8)
: 0;
let special3_bonus =
weapon.special3 && weapon.special3 === beast.specialName
weapon.special3 && weapon.special3 === beast.special3
? Math.floor(damage * 2)
: 0;

Expand Down

0 comments on commit f9b2ea3

Please sign in to comment.