Skip to content

Commit

Permalink
Fix Mob View not reflecting values from $server->dropRates['CardMVP']…
Browse files Browse the repository at this point in the history
…, $server->dropRates['CardBoss'] & $server->dropRates['Card'] (#401)
  • Loading branch information
thanna authored Sep 16, 2024
1 parent 43c61e8 commit 1e7807c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/monster/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,12 @@
$ratemax = $server->dropRates['EquipMax'];
break;

case 'Card':
$rate_adjust = $is_mvp ? $server->dropRates['CardMVP'] : ($is_boss ? $server->dropRates['CardBoss'] : $server->dropRates['Card']);
$ratemin = $server->dropRates['CardMin'];
$ratemax = $server->dropRates['CardMax'];
break;

default: // Common
$rate_adjust = $is_mvp ? $server->dropRates['CommonMVP'] : ($is_boss ? $server->dropRates['CommonBoss'] : $server->dropRates['Common']);
$ratemin = $server->dropRates['CommonMin'];
Expand Down

0 comments on commit 1e7807c

Please sign in to comment.