Skip to content

Commit

Permalink
Merge pull request #9 from Arthur1/release/2.0.2
Browse files Browse the repository at this point in the history
Release/2.0.2
  • Loading branch information
Arthur1 authored Oct 28, 2020
2 parents 990d950 + d4651b6 commit a0cf312
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Game/Buildings/Building73.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ final class Building73 extends BuildingBase implements Building

public function action(Request $request)
{
$this->get_money = $this->my_player->active_workers_number === 1 ? 10 : 5;
$this->get_money = $this->my_player->active_workers_number === 0 ? 10 : 5;
$this->getMoneyFromPool($this->get_money);
parent::action($request);
}

public function canUse(): bool
{
$this->get_money = $this->my_player->active_workers_number === 1 ? 10 : 5;
$this->get_money = $this->my_player->active_workers_number === 0 ? 10 : 5;
if ($this->game->pool < $this->get_money) return false;
return parent::canUse();
}
Expand Down
7 changes: 7 additions & 0 deletions resources/js/views/Release.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
<template>
<div class="container">
<h1 class="text-primary mt-5">リリースノート</h1>
<h2 class="text-secondary mt-4">2.0.2 <small class="date">2020/10/28</small></h2>
<p>
以下の問題を修正しました。
</p>
<ul>
<li>ゲームカフェの$10得る効果が、労働者残り2人のときに発動する</li>
</ul>
<h2 class="text-secondary mt-4">2.0.1 <small class="date">2020/10/25</small></h2>
<p>
以下の問題を修正しました。
Expand Down

0 comments on commit a0cf312

Please sign in to comment.