• R/O
  • SSH
  • HTTPS

jinrousiki: コミット


コミットメタ情報

リビジョン1965 (tree)
日時2017-04-15 19:59:52
作者umethyl

ログメッセージ

WolfEatCounter()

変更サマリ

差分

--- trunk/include/role/involve_tengu.php (revision 1964)
+++ trunk/include/role/involve_tengu.php (revision 1965)
@@ -58,6 +58,8 @@
5858 //Text::p($stack, "◆Target [{$this->role}]");
5959
6060 //神隠し処理
61- if (count($stack) > 0) $this->TenguKill(DB::$USER->ByID(Lottery::Get($stack)));
61+ if (count($stack) > 0) {
62+ $this->TenguKill(DB::$USER->ByID(Lottery::Get($stack)));
63+ }
6264 }
6365 }
--- trunk/include/role/revive_mania.php (revision 1964)
+++ trunk/include/role/revive_mania.php (revision 1965)
@@ -13,7 +13,8 @@
1313 if (DB::$ROOM->IsOpenCast() || DB::$ROOM->IsEvent('no_revive')) return false;
1414
1515 //コピー先無効判定 (不在 > 生存 > 蘇生制限)
16- if(is_null($id = $this->GetActor()->GetMainRoleTarget())) return false;
16+ $id = $this->GetActor()->GetMainRoleTarget();
17+ if(is_null($id)) return false;
1718 $target = DB::$USER->ByID($id);
1819 if ($target->IsLive(true) || RoleUser::LimitedRevive($target)) return false;
1920
旧リポジトリブラウザで表示