<?php
/*
  ◆かぐや姫 (moon_cupid)
  ○仕様
  ・自分撃ち：固定
  ・追加役職：難題 (両方) + 受信者 (自分)
*/
RoleLoader::LoadFile('cupid');
class Role_moon_cupid extends Role_cupid {
  protected function FixSelfShoot() {
    return true;
  }

  protected function AddCupidRole(User $user) {
    $user->AddRole('challenge_lovers');
    if (! $this->IsActor($user)) {
      $this->GetActor()->AddRole($user->GetID('mind_receiver'));
    }
  }
}
