• R/O
  • SSH
  • HTTPS

jinrousiki: Commit


Commit MetaInfo

Revision2598 (tree)
Time2020-03-24 01:45:01
Authorumethyl

Log Message

吸血鬼陣営:吸血成功判定が正しくないことがあるバグ修正 (Ver. 4.1.0 α2 〜)

Change Summary

Incremental Difference

--- trunk/config/system/version.php (revision 2597)
+++ trunk/config/system/version.php (revision 2598)
@@ -1,7 +1,7 @@
11 <?php
22 class ScriptInfo {
33 //パッケージのバージョン
4- const VERSION = 'Ver. 4.1.0 α3';
4+ const VERSION = 'Ver. 4.1.0 α4';
55
66 //パッケージの最終更新日
77 const LAST_UPDATE = '2020/03/22 (Sun) 20:47';
--- trunk/include/controller/test/vote_test_class.php (revision 2597)
+++ trunk/include/controller/test/vote_test_class.php (revision 2598)
@@ -53,6 +53,7 @@
5353 RQ::GetTest()->talk_count[$user->id] = $user->id;
5454 }
5555 }
56+
5657 if (DB::$ROOM->IsDay()) {
5758 include('data/vote_talk_count.php'); //沈黙禁止
5859 }
@@ -147,16 +148,19 @@
147148 ImageManager::Role()->OutputExists($role);
148149 }
149150 }
151+
150152 if ($list['sub']) {
151153 foreach (RoleDataManager::GetList(true) as $role) {
152154 ImageManager::Role()->OutputExists($role);
153155 }
154156 }
157+
155158 if ($list['result']) {
156159 foreach (RoleDataManager::GetList() as $role) {
157160 ImageManager::Role()->Output('result_' . $role);
158161 }
159162 }
163+
160164 if ($list['weather']) {
161165 foreach (WeatherData::$list as $stack) {
162166 ImageManager::Role()->Output('prediction_weather_' . $stack[WeatherData::EVENT]);
@@ -239,7 +243,7 @@
239243 DB::LoadSelf($self_id);
240244 }
241245
242- //役職判定情報
246+ //役職判定情報 (占い)
243247 private static function OutputDistinguishMage() {
244248 $user = new User();
245249 $filter = RoleLoader::Load('mage');
--- trunk/include/role/vampire.php (revision 2597)
+++ trunk/include/role/vampire.php (revision 2598)
@@ -114,7 +114,7 @@
114114
115115 //吸血失敗判定
116116 protected function InfectFailed(User $user) {
117- return true;
117+ return false;
118118 }
119119
120120 //吸血失敗追加処理
--- trunk/top/information.html (revision 2597)
+++ trunk/top/information.html (revision 2598)
@@ -17,7 +17,7 @@
1717 <h1>開発状況</h1>
1818 <h2>新規実装 / 仕様変更</h2>
1919 <ul>
20-<li>なし</li>
20+<li><a href="info/new_role/vampire.php">吸血鬼陣営</a>:吸血成功判定が正しくないことがあるバグ修正 (Ver. 4.1.0 α2 〜)</li>
2121 </ul>
2222
2323 <h2>現在作成中 / 公開テスト待ち</h2>
Show on old repository browser