<?php
/*
  ◆大司祭 (high_priest)
  ○仕様
  ・司祭：司祭＆司教 (5日目以降)
*/
RoleManager::LoadFile('priest');
class Role_high_priest extends Role_priest {
  protected function IgnoreResult() {
    return DB::$ROOM->date < 5;
  }

  protected function GetOutputPriestRole() {
    return DB::$ROOM->date % 2 == 0 ? 'priest' : 'bishop_priest';
  }

  protected function IgnoreSetPriest() {
    return DB::$ROOM->date < 4;
  }

  protected function IgnorePriest() {
    return in_array($this->GetPriestRole(), $this->GetStack('priest')->list);
  }

  protected function GetPriestRole() {
    return DB::$ROOM->date % 2 == 1 ? 'priest' : 'bishop_priest';
  }

  public function GetPriestType() {
    return DB::$ROOM->date % 2 == 1 ? 'human_side' : 'dead';
  }
}
