<?php
/*
  ◆守護天使 (sacrifice_angel)
  ○仕様
  ・追加役職：庇護者 (自分以外)
  ・共感者判定：常時有効
  ・人狼襲撃耐性：無効
*/
RoleManager::LoadFile('angel');
class Role_sacrifice_angel extends Role_angel {
  protected function AddCupidRole(User $user) {
    if (! $this->IsActor($user)) $user->AddRole($this->GetActor()->GetID('protected'));
  }

  protected function IsSympathy(User $a, User $b) {
    return true;
  }

  public function WolfEatResist() {
    return true;
  }
}
