Skip to content

Commit

Permalink
Possibly fixed an issue with the xp because of how the logic in purga…
Browse files Browse the repository at this point in the history
…tory smithhouse works

.
  • Loading branch information
AdamKyle committed Dec 5, 2023
1 parent d6097d7 commit 843872d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public function currencyReward(Character $character, Event $event = null): Chara
* @throws Exception
*/
protected function handleItemReward(Character $character, bool $isMythic, Event $event = null): Character {
$lootingChance = $character->skills->where('baseSkill.name', 'Looting')->skill_bonus;
$lootingChance = $character->skills->where('baseSkill.name', 'Looting')->first()->skill_bonus;
$maxRoll = $isMythic ? 10000000 : 1000000;

if ($lootingChance > 0.15) {
Expand Down

0 comments on commit 843872d

Please sign in to comment.