Two new options for JudgmentMessageCommand.
You can now use AvoidMine and HitMine. Obviously, not at the same time. Thanks to Saturn2888 and shakesoda for the fix.
This commit is contained in:
@@ -2834,8 +2834,10 @@ void Player::UpdateJudgedRows()
|
||||
bAllJudged = false;
|
||||
continue;
|
||||
case TNS_AvoidMine:
|
||||
SetMineJudgment( tn.result.tns );
|
||||
continue;
|
||||
case TNS_HitMine:
|
||||
SetMineJudgment( tn.result.tns );
|
||||
break;
|
||||
}
|
||||
if( m_pNoteField )
|
||||
@@ -3339,6 +3341,17 @@ void Player::CacheAllUsedNoteSkins()
|
||||
m_pNoteField->CacheAllUsedNoteSkins();
|
||||
}
|
||||
|
||||
void Player::SetMineJudgment( TapNoteScore tns )
|
||||
{
|
||||
if( m_bSendJudgmentAndComboMessages )
|
||||
{
|
||||
Message msg("Judgment");
|
||||
msg.SetParam( "Player", m_pPlayerState->m_PlayerNumber );
|
||||
msg.SetParam( "TapNoteScore", tns );
|
||||
MESSAGEMAN->Broadcast( msg );
|
||||
}
|
||||
}
|
||||
|
||||
void Player::SetJudgment( TapNoteScore tns, int iTrack, float fTapNoteOffset )
|
||||
{
|
||||
if( m_bSendJudgmentAndComboMessages )
|
||||
|
||||
Reference in New Issue
Block a user