<?php
/*
  ◆死化粧師 (embalm_necromancer)
  ○仕様
  ・霊能：処刑投票先との陣営比較
*/
RoleManager::LoadFile('necromancer');
class Role_embalm_necromancer extends Role_necromancer {
  function Necromancer(User $user, $flag) {
    if ($flag) return 'stolen';
    $camp = $this->GetVoteUser($user->uname)->GetCamp(true);
    return 'embalm_' . ($user->GetCamp(true) == $camp ? 'agony' : 'reposeful');
  }
}
