Ver. 1.5.x
1p1
1p2
1p3
6p1
6p2
6p3
Ver. 1.5.0
α2
α3
α4
α5
α7
β1
β5
β9
β11
β12
β13
β14
β15
p1
} return false;
$USERS->Kill($this->GetActor()->user_no, 'CURSED');
return true;
}
return false;
× global $ROOM, $ROLES;
○ global $ROOM, $ROLES, $USERS;
foreach($filter_list as $filter){ //厄神の護衛判定 if($filter->GuardCurse($this->GetActor())) return false; }
foreach($filter_list as $filter){ //厄神の護衛判定
if($filter->GuardCurse($this->GetActor())) return false;
}
$USERS->Kill($this->GetActor()->user_no, 'CURSED');
return false;
foreach($ROLES->LoadFilter('anti_voodoo') as $filter){ //厄神の護衛判定 if($filter->GuardCurse($this->GetActor())) return false; }
foreach($ROLES->LoadFilter('anti_voodoo') as $filter){ //厄神の護衛判定
if($filter->GuardCurse($this->GetActor())) return false;
}
$USERS->Kill($this->GetActor()->user_no, 'CURSED');
return false;
foreach($filter_list as $filter) $filter->GuardCurse($USERS->ByUname($uname));
$user = $USERS->ByUname($uname); foreach($filter_list as $filter){ if($filter->GuardCurse($user)) continue 2; } $USERS->Kill($user->user_no, 'CURSED');
$this->filter->OutputAction();
//仮想恋人を表示 (憑依追跡 / 恋人・悲恋持ちなら処理委託)
if(! is_array($target) || $this->GetActor()->IsRole('lovers', 'sweet_status')) return;
$lovers = array();
foreach($target as $id) $lovers[] = $USERS->GetHandleName($USERS->ById($id)->uname, true);
OutputPartner($lovers, 'partner_header', 'lovers_footer');
}
//仮想恋人を表示 (憑依追跡 / 恋人・悲恋持ちなら処理委託)
if(! is_array($target) || $this->GetActor()->IsRole('lovers', 'sweet_status')) return;
$lovers = array();
foreach($target as $id) $lovers[] = $USERS->GetHandleName($USERS->ById($id)->uname, true);
OutputPartner($lovers, 'partner_header', 'lovers_footer');
}
function OutputAction(){ $this->filter->OutputAction(); }
function IsVote(){ global $ROOM; return $ROOM->date == 1; }
× if($this->IsResurrect() && $this->IsLivePartner() &&
○ if($this->IsResurrect($this->GetActor()) && $this->IsLivePartner() &&
× if(! $this->delay_copy) $actor->AddRole($this->copied); ○ if(! $this->delay_copy) $actor->AddRole($this->GetCopiedRole());
function GetCopyRole($user){ return $user->main_role; }
function GetCopyRole($user){ return $user->main_role; }
function GetCopiedRole(){ return $this->copied; }
function __construct(){
parent::__construct();
$this->copied = $this->GetActor()->GetID('mind_friend');
}
function __construct(){ parent::__construct(); }
function GetCopiedRole(){ return $this->GetActor()->GetID('mind_friend'); }
× public $bad_stauts = '秋ですよー'; ○ public $bad_status = '秋ですよー';
× public $bad_stauts = '冬ですよー'; ○ public $bad_status = '冬ですよー';
× $str = $this->GetActor()->GetHandleName($user->uname, $this->DistinguishSex($user)); ○ $str = $this->GetWolfVoter()->GetHandleName($user->uname, $this->DistinguishSex($user));
$this->Assassin($user);
$class = $this->GetClass($method = 'Assassin'); $class->$method($user);
× mt_rand(1, 100) <= $ROOM->IsEvent('full_revive') ? 100 : 40){ ○ mt_rand(1, 100) <= ($ROOM->IsEvent('full_revive') ? 100 : 40)){
× $INIT_CONF->LoadClass('USER_ICON', 'TWITTER');
○ $INIT_CONF->LoadClass('USER_ICON', 'MESSAGE', 'TWITTER');
× $ROOM->SystemMessage($this->GetActor()->handle_name, 'REVIVE_FAILED'); ○ $ROOM->SystemMessage($USERS->GetHandleName($user->uname), 'REVIVE_FAILED');
$role = ($ROOM->date % 2) == 1 ? 'priest' : 'bishop_priest';
$role = ($ROOM->date % 2) == 1 ? 'priest' : 'bishop_priest';
$type = ($ROOM->date % 2) == 1 ? 'human_side' : 'dead';
$this->event = new StdClass();
$stack = $this->LoadRoom($request->room_no);
$stack = $this->LoadRoom($request->room_no);
function __construct(){ $this->role = array_pop(explode('Role_', get_class($this))); if(isset($this->mix_in)) $this->LoadMix($this->mix_in); }
function __construct(){
$this->role = array_pop(explode('Role_', get_class($this)));
if(isset($this->mix_in)) $this->LoadMix($this->mix_in);
}
function __call($name, $args){
return call_user_func_array(array($this->filter, $name), $args);
}
PrintData($target->uname); $target->ReturnPossessed('possessed'); #$USERS->ByReal($target->user_no)->ReturnPossessed('possessed_target');
$target->ReturnPossessed('possessed');
× $flag = $ROOM->date > 3 && ($ROOM->date % 2) == 0; ○ $flag = $ROOM->date > 1 && ($ROOM->date % 2) == 0;
break; }
break;
default:
continue 3;
}
foreach($ROOM->vote as $stack){
if($user->IsSame($stack['target_uname'])) $count++;
}
foreach($ROOM->vote as $vote_stack){ foreach($vote_stack as $stack){ if($user->IsSame($stack['target_uname'])) $count++; } }
class Role_power_yaksa extends Role{
RoleManager::LoadFile('yaksa'); class Role_power_yaksa extends Role_yaksa{
case 'chaos_open_cast': if(! $ROOM_CONF->$option) continue 2; switch($target = $_POST[$option]){ case 'full': break 2; case 'camp': case 'role': if($ROOM_CONF->{'_' . $target}){ $option .= '_' . $target; break 2; } } continue 2;
case 'chaos_open_cast': switch($target = $_POST[$option]){ case 'full': break; case 'camp': case 'role': $option .= '_' . $target; break; } if($ROOM_CONF->$option) break; continue 2;
× $role = $this->GetActor()->GetID('rival')
○ $role = $this->GetActor()->GetID('rival');
}
OutputPartner($stack, 'partner_header', 'lovers_footer');
OutputPartner($stack, 'partner_header', 'lovers_footer');
}
if($user->IsWolf(true)) $stack[] = $USERS->GetHandleName($user->uname, true); } OutputPartner($stack, 'wolf_partner');
}
OutputPartner($stack['wolf'], 'wolf_partner');
× public $mind_role = 'mind_role'; ○ public $mind_role = 'mind_read';
× break;
○ break 2;
× function Ignored($user){ return ! $target->IsCamp('chiroptera', true); } ○ function Ignored($user){ return ! $user->IsCamp('chiroptera', true); }
× return GetSelfVoteNight($situation, $not_situation) > 0; ○ return GetSelfVoteNight($situation, $not_situation) !== false;
× $query = $ROOM->GetQueryHeader('vote', 'uname') . ' AND '; ○ $query = $ROOM->GetQueryHeader('vote', 'target_uname') . ' AND date = ' . $ROOM->date . ' AND ';
$target->ReturnPossessed('possessed_target', $ROOM->date + 1);
$target->ReturnPossessed('possessed_target', $ROOM->date + 1);
$stack = $virtual_target->GetPartner('possessed');
if($target->user_no == $stack[max(array_keys($stack))]){
$virtual_target->ReturnPossessed('possessed', $ROOM->date + 1);
}
else{ continue; }
elseif($voted_wolf->IsRole('possessed_wolf') && $voted_wolf->IsSame($target->uname)){
$voted_wolf->possessed_cancel = true;
}
else{
continue;
}
if($user->IsRole('dummy_guard')){ //夢守人は罠無効 if($ROOM->IsEvent('no_dream')) continue; //熱帯夜ならスキップ $dummy_guard_target_list[$user->uname] = $target_uname; }
if($user->IsRole('dummy_guard')){ //夢守人は罠無効
if($ROOM->IsEvent('no_dream')) continue; //熱帯夜ならスキップ
$dummy_guard_target_list[$user->uname] = $target_uname;
continue;
}
× if($user->IsRole('emerald_fox') || $user->IsRoleGroup('fairy')) continue;
○ if($user->IsRole('emerald_fox') || $user->IsRoleGroup('fairy') || $wizard_target_list[$uname] == 'light_fairy') continue;