Skip to content

Commit

Permalink
Bugs fixed:
Browse files Browse the repository at this point in the history
- Loot table rolling

Misc:
- Added margin bottom to news posts
  • Loading branch information
corowne committed May 14, 2020
1 parent 3df4bec commit 73b8525
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Models/Loot/LootTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public function roll($quantity = 1)
$count = 0;
foreach($loot as $l)
{
if($roll > $count) $count += $l->weight;
$count += $l->weight;

if($roll < $count)
{
Expand Down
2 changes: 1 addition & 1 deletion resources/views/news/_news.blade.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="card">
<div class="card mb-3">
<div class="card-header">
<h2 class="card-title mb-0">{!! $news->displayName !!}</h2>
<small>
Expand Down

0 comments on commit 73b8525

Please sign in to comment.