• R/O
  • SSH
  • HTTPS

jinrousiki: コミット


コミットメタ情報

リビジョン2025 (tree)
日時2017-05-14 23:04:46
作者umethyl

ログメッセージ

RoleVoteTarget::REVERSE_ASSASSIN

変更サマリ

差分

--- trunk/include/game_vote_functions.php (revision 2024)
+++ trunk/include/game_vote_functions.php (revision 2025)
@@ -858,7 +858,8 @@
858858 RoleVoteTarget::DUMMY_GUARD,
859859 RoleVoteTarget::BARRIER_WIZARD,
860860 RoleVoteTarget::ESCAPER, 'sacrifice',
861- RoleVoteTarget::ANTI_VOODOO, 'reverse_assassin',
861+ RoleVoteTarget::REVERSE_ASSASSIN,
862+ RoleVoteTarget::ANTI_VOODOO,
862863 RoleVoteSuccess::TRAPPED,
863864 RoleVoteSuccess::FROSTBITE,
864865 RoleVoteSuccess::POSSESSED,
@@ -1116,9 +1117,11 @@
11161117 $role = 'reverse_assassin';
11171118 $name = 'reverse';
11181119 RoleManager::Stack()->Init($name); //反魂対象リスト
1119- if (RoleManager::Stack()->Exists($role)) RoleLoader::Load($role)->AssassinKill();
1120+ if (RoleManager::Stack()->Exists(RoleVoteTarget::REVERSE_ASSASSIN)) {
1121+ RoleLoader::Load($role)->AssassinKill();
1122+ }
11201123 //RoleManager::Stack()->p($name, "◆Target [{$name}]");
1121- RoleManager::Stack()->Clear($role);
1124+ RoleManager::Stack()->Clear(RoleVoteTarget::REVERSE_ASSASSIN);
11221125 }
11231126
11241127 //凍傷処理
--- trunk/include/data/role_vote_data_class.php (revision 2024)
+++ trunk/include/data/role_vote_data_class.php (revision 2025)
@@ -72,6 +72,7 @@
7272 const BARRIER_WIZARD = 'barrier_wizard';
7373 const ESCAPER = 'escaper';
7474 const ANTI_VOODOO = 'anti_voodoo';
75+ const REVERSE_ASSASSIN = 'reverse_assassin';
7576 }
7677
7778 //-- 定数リスト (Role/Vote/Success) --//
旧リポジトリブラウザで表示