fix SuddenDeath being scaled by LifeDifficulty by instead just not scaling it.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
local c;
|
||||
local cf;
|
||||
local canAnimate = false;
|
||||
local player = Var "Player";
|
||||
local ShowComboAt = THEME:GetMetric("Combo", "ShowComboAt");
|
||||
local Pulse = THEME:GetMetric("Combo", "PulseCommand");
|
||||
|
||||
@@ -134,6 +134,10 @@ t[#t+1] = Def.ActorFrame {
|
||||
end;
|
||||
|
||||
JudgmentMessageCommand=function(self, param)
|
||||
-- Fix Player Combo animating when player successfully avoids a mine.
|
||||
local msgParam = param;
|
||||
MESSAGEMAN:Broadcast("TestJudgment",msgParam);
|
||||
--
|
||||
if param.Player ~= player then return end;
|
||||
if param.HoldNoteScore then return end;
|
||||
|
||||
|
||||
@@ -221,6 +221,14 @@ void LifeMeterBar::ChangeLife( float fDeltaLife )
|
||||
fDeltaLife *= m_fLifeDifficulty;
|
||||
else
|
||||
fDeltaLife /= m_fLifeDifficulty;
|
||||
break;
|
||||
case SongOptions::DRAIN_SUDDEN_DEATH:
|
||||
// This should always -1.0f;
|
||||
if( fDeltaLife < 0 )
|
||||
fDeltaLife = -1.0f;
|
||||
else
|
||||
fDeltaLife = 0;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user