• R/O
  • SSH
  • HTTPS

jinrousiki: Commit


Commit MetaInfo

Revision2565 (tree)
Time2019-12-31 21:31:25
Authorumethyl

Log Message

Role_revive_priest::PriestReturn()

Change Summary

Incremental Difference

--- trunk/include/role/revive_priest.php (revision 2564)
+++ trunk/include/role/revive_priest.php (revision 2565)
@@ -52,10 +52,11 @@
5252
5353 //帰還
5454 public function PriestReturn() {
55+ //身代わり君 (無効) > 恋人 (能力喪失) > 生存 (帰還)
5556 $user = $this->GetActor();
56- if ($user->IsDummyBoy()) return;
57-
58- if (RoleUser::IsContainLovers($user)) {
57+ if ($user->IsDummyBoy()) {
58+ return;
59+ } elseif (RoleUser::IsContainLovers($user)) {
5960 $user->LostAbility();
6061 } elseif ($user->IsLive(true)) {
6162 DB::$USER->Kill($user->id, DeadReason::PRIEST_RETURNED);
Show on old repository browser