• R/O
  • SSH
  • HTTPS

jinrousiki: Commit


Commit MetaInfo

Revision2314 (tree)
Time2018-12-30 20:52:56
Authorumethyl

Log Message

WeatherData::EVENT

Change Summary

Incremental Difference

--- trunk/include/controller/test/vote_test_class.php (revision 2313)
+++ trunk/include/controller/test/vote_test_class.php (revision 2314)
@@ -159,7 +159,7 @@
159159 }
160160 if ($list['weather']) {
161161 foreach (WeatherData::$list as $stack) {
162- ImageManager::Role()->Output('prediction_weather_' . $stack['event']);
162+ ImageManager::Role()->Output('prediction_weather_' . $stack[WeatherData::EVENT]);
163163 }
164164 }
165165 HTML::OutputFooter(true);
--- trunk/include/data/weather_data_class.php (revision 2313)
+++ trunk/include/data/weather_data_class.php (revision 2314)
@@ -8,223 +8,223 @@
88 /* 天候リスト */
99 public static $list = [
1010 0 => [self::NAME => 'スコール',
11- 'event' => 'grassy',
11+ self::EVENT => 'grassy',
1212 'caption' => '全員 草原迷彩'],
1313 1 => [self::NAME => '酸性雨',
14- 'event' => 'mower',
14+ self::EVENT => 'mower',
1515 'caption' => '全員 草刈り'],
1616 2 => [self::NAME => '晴嵐',
17- 'event' => 'blind_vote',
17+ self::EVENT => 'blind_vote',
1818 'caption' => '処刑投票結果隠蔽'],
1919 3 => [self::NAME => '天気雨',
20- 'event' => 'no_fox_dead',
20+ self::EVENT => 'no_fox_dead',
2121 'caption' => '呪殺無し'],
2222 4 => [self::NAME => '烈日',
23- 'event' => 'critical',
23+ self::EVENT => 'critical',
2424 'caption' => '会心・痛恨 発動率 100%'],
2525 5 => [self::NAME => '強風',
26- 'event' => 'blind_talk_day',
26+ self::EVENT => 'blind_talk_day',
2727 'caption' => '昼会話妨害'],
2828 6 => [self::NAME => '風雨',
29- 'event' => 'blind_talk_night',
29+ self::EVENT => 'blind_talk_night',
3030 'caption' => '夜会話妨害'],
3131 7 => [self::NAME => '満月',
32- 'event' => 'full_moon',
32+ self::EVENT => 'full_moon',
3333 'caption' => '占い妨害・呪術・狩人系 封印'],
3434 8 => [self::NAME => '新月',
35- 'event' => 'new_moon',
35+ self::EVENT => 'new_moon',
3636 'caption' => '占い・魔法・人狼・吸血・悪戯 封印'],
3737 9 => [self::NAME => '花曇',
38- 'event' => 'no_contact',
38+ self::EVENT => 'no_contact',
3939 'caption' => '接触系封印'],
4040 10 => [self::NAME => '黄砂',
41- 'event' => 'invisible',
41+ self::EVENT => 'invisible',
4242 'caption' => '全員 光学迷彩'],
4343 11 => [self::NAME => '虹',
44- 'event' => 'rainbow',
44+ self::EVENT => 'rainbow',
4545 'caption' => '全員 虹色迷彩'],
4646 12 => [self::NAME => 'ダイヤモンドダスト',
47- 'event' => 'side_reverse',
47+ self::EVENT => 'side_reverse',
4848 'caption' => '全員 鏡面迷彩'],
4949 13 => [self::NAME => 'バナナの皮',
50- 'event' => 'line_reverse',
50+ self::EVENT => 'line_reverse',
5151 'caption' => '全員 天地迷彩'],
5252 14 => [self::NAME => 'スポットライト',
53- 'event' => 'actor',
53+ self::EVENT => 'actor',
5454 'caption' => '全員 役者'],
5555 15 => [self::NAME => 'タライ',
56- 'event' => 'critical_luck',
56+ self::EVENT => 'critical_luck',
5757 'caption' => '全員 痛恨'],
5858 16 => [self::NAME => '凪',
59- 'event' => 'no_sudden_death',
59+ self::EVENT => 'no_sudden_death',
6060 'caption' => 'ショック死サブ無効'],
6161 17 => [self::NAME => '青天の霹靂',
62- 'event' => 'thunderbolt',
62+ self::EVENT => 'thunderbolt',
6363 'caption' => 'ショック死発生'],
6464 18 => [self::NAME => '涙雨',
65- 'event' => 'no_last_words',
65+ self::EVENT => 'no_last_words',
6666 'caption' => '全員 筆不精'],
6767 19 => [self::NAME => '熱帯夜',
68- 'event' => 'no_dream',
68+ self::EVENT => 'no_dream',
6969 'caption' => '夢能力封印'],
7070 20 => [self::NAME => '朧月',
71- 'event' => 'full_ogre',
71+ self::EVENT => 'full_ogre',
7272 'caption' => '鬼強化'],
7373 21 => [self::NAME => '叢雲',
74- 'event' => 'seal_ogre',
74+ self::EVENT => 'seal_ogre',
7575 'caption' => '鬼封印'],
7676 22 => [self::NAME => '雷雨',
77- 'event' => 'full_revive',
77+ self::EVENT => 'full_revive',
7878 'caption' => '蘇生強化'],
7979 23 => [self::NAME => '快晴',
80- 'event' => 'no_revive',
80+ self::EVENT => 'no_revive',
8181 'caption' => '蘇生封印'],
8282 24 => [self::NAME => '慈雨',
83- 'event' => 'brownie',
83+ self::EVENT => 'brownie',
8484 'caption' => '村人 投票数 +1'],
8585 25 => [self::NAME => '波風',
86- 'event' => 'whisper_ringing',
86+ self::EVENT => 'whisper_ringing',
8787 'caption' => '全員 囁耳鳴'],
8888 26 => [self::NAME => '小夜嵐',
89- 'event' => 'howl_ringing',
89+ self::EVENT => 'howl_ringing',
9090 'caption' => '全員 吠耳鳴'],
9191 27 => [self::NAME => '流星群',
92- 'event' => 'sweet_ringing',
92+ self::EVENT => 'sweet_ringing',
9393 'caption' => '全員 恋耳鳴'],
9494 28 => [self::NAME => '春時雨',
95- 'event' => 'deep_sleep',
95+ self::EVENT => 'deep_sleep',
9696 'caption' => '全員 爆睡者'],
9797 29 => [self::NAME => '木漏れ日',
98- 'event' => 'silent',
98+ self::EVENT => 'silent',
9999 'caption' => '全員 無口'],
100100 30 => [self::NAME => '疎雨',
101- 'event' => 'missfire_revive',
101+ self::EVENT => 'missfire_revive',
102102 'caption' => '蘇生誤爆率上昇'],
103103 31 => [self::NAME => '川霧',
104- 'event' => 'no_hunt',
104+ self::EVENT => 'no_hunt',
105105 'caption' => '護衛狩り無し'],
106106 32 => [self::NAME => '蒼天',
107- 'event' => 'full_guard',
107+ self::EVENT => 'full_guard',
108108 'caption' => '護衛制限無し'],
109109 33 => [self::NAME => '雪',
110- 'event' => 'frostbite',
110+ self::EVENT => 'frostbite',
111111 'caption' => '凍傷付加'],
112112 34 => [self::NAME => '梅雨',
113- 'event' => 'alchemy_pharmacist',
113+ self::EVENT => 'alchemy_pharmacist',
114114 'caption' => '毒強化'],
115115 35 => [self::NAME => '雹',
116- 'event' => 'hyper_random_voter',
116+ self::EVENT => 'hyper_random_voter',
117117 'caption' => '投票数ランダム増加'],
118118 36 => [self::NAME => '半月',
119- 'event' => 'half_moon',
119+ self::EVENT => 'half_moon',
120120 'caption' => '占い妨害'],
121121 37 => [self::NAME => '曇天',
122- 'event' => 'half_guard',
122+ self::EVENT => 'half_guard',
123123 'caption' => '護衛成功率低下'],
124124 38 => [self::NAME => '箒星',
125- 'event' => 'passion',
125+ self::EVENT => 'passion',
126126 'caption' => '全員 恋色迷彩'],
127127 39 => [self::NAME => '旱魃',
128- 'event' => 'no_poison',
128+ self::EVENT => 'no_poison',
129129 'caption' => '毒無し'],
130130 40 => [self::NAME => '濃霧',
131- 'event' => 'psycho_infected',
131+ self::EVENT => 'psycho_infected',
132132 'caption' => '洗脳者付加'],
133133 41 => [self::NAME => '台風',
134- 'event' => 'hyper_critical',
134+ self::EVENT => 'hyper_critical',
135135 'caption' => '全員 会心・痛恨'],
136136 42 => [self::NAME => '萌動',
137- 'event' => 'boost_cute',
137+ self::EVENT => 'boost_cute',
138138 'caption' => '萌え発動率上昇'],
139139 43 => [self::NAME => '蜃気楼',
140- 'event' => 'no_authority',
140+ self::EVENT => 'no_authority',
141141 'caption' => '投票/得票数補正サブ無効'],
142142 44 => [self::NAME => '紅月',
143- 'event' => 'force_assassin_do',
143+ self::EVENT => 'force_assassin_do',
144144 'caption' => '暗殺キャンセル投票不可'],
145145 45 => [self::NAME => '砂塵嵐',
146- 'event' => 'corpse_courier_mad',
146+ self::EVENT => 'corpse_courier_mad',
147147 'caption' => '霊能妨害'],
148148 46 => [self::NAME => '霧雨',
149- 'event' => 'full_wizard',
149+ self::EVENT => 'full_wizard',
150150 'caption' => '魔法強化'],
151151 47 => [self::NAME => '木枯らし',
152- 'event' => 'debilitate_wizard',
152+ self::EVENT => 'debilitate_wizard',
153153 'caption' => '魔法弱体化'],
154154 48 => [self::NAME => '雪明り',
155- 'event' => 'no_trap',
155+ self::EVENT => 'no_trap',
156156 'caption' => '罠封印'],
157157 49 => [self::NAME => '蛍火',
158- 'event' => 'no_sacrifice',
158+ self::EVENT => 'no_sacrifice',
159159 'caption' => '身代わり封印'],
160160 50 => [self::NAME => '日蝕',
161- 'event' => 'no_reflect_assassin',
161+ self::EVENT => 'no_reflect_assassin',
162162 'caption' => '暗殺反射封印'],
163163 51 => [self::NAME => '月蝕',
164- 'event' => 'no_cursed',
164+ self::EVENT => 'no_cursed',
165165 'caption' => '呪返し封印'],
166166 52 => [self::NAME => '宵闇',
167- 'event' => 'blinder',
167+ self::EVENT => 'blinder',
168168 'caption' => '全員 目隠し'],
169169 53 => [self::NAME => '白夜',
170- 'event' => 'mind_open',
170+ self::EVENT => 'mind_open',
171171 'caption' => '全員 公開者'],
172172 54 => [self::NAME => '極光',
173- 'event' => 'aurora',
173+ self::EVENT => 'aurora',
174174 'caption' => '全員 目隠し・公開者'],
175175 55 => [self::NAME => '霜柱',
176- 'event' => 'random_step',
176+ self::EVENT => 'random_step',
177177 'caption' => 'ランダム足音発生'],
178178 56 => [self::NAME => '地吹雪',
179- 'event' => 'no_step',
179+ self::EVENT => 'no_step',
180180 'caption' => '足音能力封印'],
181181 57 => [self::NAME => '月虹',
182- 'event' => 'confession',
182+ self::EVENT => 'confession',
183183 'caption' => '全員 告白'],
184184 58 => [self::NAME => '春一番',
185- 'event' => 'gentleman',
185+ self::EVENT => 'gentleman',
186186 'caption' => '全員 紳士'],
187187 59 => [self::NAME => '桜吹雪',
188- 'event' => 'lady',
188+ self::EVENT => 'lady',
189189 'caption' => '全員 淑女'],
190190 60 => [self::NAME => '宵月',
191- 'event' => 'liar',
191+ self::EVENT => 'liar',
192192 'caption' => '全員 狼少年'],
193193 61 => [self::NAME => '寒波',
194- 'event' => 'boost_reflect',
194+ self::EVENT => 'boost_reflect',
195195 'caption' => '暗殺反射率上昇'],
196196 62 => [self::NAME => '野分',
197- 'event' => 'no_cute',
197+ self::EVENT => 'no_cute',
198198 'caption' => '萌え封印'],
199199 63 => [self::NAME => '時化',
200- 'event' => 'strong_voice',
200+ self::EVENT => 'strong_voice',
201201 'caption' => '全員 大声'],
202202 64 => [self::NAME => '細雪',
203- 'event' => 'weak_voice',
203+ self::EVENT => 'weak_voice',
204204 'caption' => '全員 小声'],
205205 65 => [self::NAME => '天狗風',
206- 'event' => 'full_tengu',
206+ self::EVENT => 'full_tengu',
207207 'caption' => '天狗強化'],
208208 66 => [self::NAME => '無風',
209- 'event' => 'seal_tengu',
209+ self::EVENT => 'seal_tengu',
210210 'caption' => '天狗封印'],
211211 67 => [self::NAME => '彩雲',
212- 'event' => 'settle',
212+ self::EVENT => 'settle',
213213 'caption' => '決着村'],
214214 68 => [self::NAME => '星空',
215- 'event' => 'star_fairy',
215+ self::EVENT => 'star_fairy',
216216 'caption' => '悪戯 星妖精'],
217217 69 => [self::NAME => '花吹雪',
218- 'event' => 'flower_fairy',
218+ self::EVENT => 'flower_fairy',
219219 'caption' => '悪戯 花妖精'],
220220 70 => [self::NAME => '白羽の矢',
221- 'event' => 'tengu_kill',
221+ self::EVENT => 'tengu_kill',
222222 'caption' => 'ランダム神隠し発生'],
223223 71 => [self::NAME => '闇夜',
224- 'event' => 'full_escape',
224+ self::EVENT => 'full_escape',
225225 'caption' => '逃亡失敗無し・罠無効'],
226226 72 => [self::NAME => 'サーチライト',
227- 'event' => 'no_escape',
227+ self::EVENT => 'no_escape',
228228 'caption' => '逃亡・離脱・暗殺無効']
229229 ];
230230 }
--- trunk/include/event/weather_class.php (revision 2313)
+++ trunk/include/event/weather_class.php (revision 2314)
@@ -8,7 +8,7 @@
88
99 //イベント取得
1010 public static function GetEvent($id) {
11- return WeatherData::$list[$id]['event'];
11+ return WeatherData::$list[$id][WeatherData::EVENT];
1212 }
1313
1414 //存在判定
Show on old repository browser