Skip to content

Commit

Permalink
GearScore/Enchants
Browse files Browse the repository at this point in the history
 * reapply lost /4 modifier for enchantment scores
  • Loading branch information
Sarjuuk committed Jul 10, 2024
1 parent b0a51f4 commit 565f8bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions includes/utilities.php
Original file line number Diff line number Diff line change
Expand Up @@ -1519,6 +1519,8 @@ public static function getEnchantmentScore(int $itemLevel, int $quality, bool $p
case ITEM_QUALITY_NORMAL:
$score /= 10.0;
break;
default:
$score /= 4.0;
}

return round($score, 4);
Expand Down
1 change: 1 addition & 0 deletions setup/updates/1720654746_01.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
UPDATE `aowow_dbversion` SET `build` = CONCAT(IFNULL(`build`, ''), ' profiler');

0 comments on commit 565f8bb

Please sign in to comment.