Merge branch 'master' of https://github.com/KadeDev/Funkin
This commit is contained in:
commit
ea09102b76
@ -1763,41 +1763,70 @@ class PlayState extends MusicBeatState
|
|||||||
|
|
||||||
var daRating:String = "sick";
|
var daRating:String = "sick";
|
||||||
|
|
||||||
if (noteDiff > Conductor.safeZoneOffset * 2)
|
|
||||||
|
if (noteDiff > Conductor.safeZoneOffset * 24)
|
||||||
{
|
{
|
||||||
daRating = 'shit';
|
daRating = 'shit';
|
||||||
totalNotesHit -= 2;
|
totalNotesHit -= 2;
|
||||||
score = -3000;
|
score = -3000;
|
||||||
ss = false;
|
ss = false;
|
||||||
|
noteMiss(0);
|
||||||
|
health -= 0.5;
|
||||||
|
shits++;
|
||||||
|
}
|
||||||
|
else if (noteDiff < Conductor.safeZoneOffset * -24)
|
||||||
|
{
|
||||||
|
daRating = 'shit';
|
||||||
|
totalNotesHit -= 2;
|
||||||
|
score = -3000;
|
||||||
|
noteMiss(0);
|
||||||
|
health -= 0.5;
|
||||||
|
ss = false;
|
||||||
shits++;
|
shits++;
|
||||||
}
|
}
|
||||||
else if (noteDiff < Conductor.safeZoneOffset * -2)
|
else if (noteDiff < Conductor.safeZoneOffset * -0.45)
|
||||||
{
|
{
|
||||||
daRating = 'shit';
|
daRating = 'bad';
|
||||||
totalNotesHit -= 2;
|
score = -1000;
|
||||||
score = -3000;
|
totalNotesHit += 0.2;
|
||||||
|
noteMiss(0);
|
||||||
ss = false;
|
ss = false;
|
||||||
shits++;
|
health -= 0.2;
|
||||||
|
bads++;
|
||||||
}
|
}
|
||||||
else if (noteDiff > Conductor.safeZoneOffset * 0.45)
|
else if (noteDiff > Conductor.safeZoneOffset * 0.45)
|
||||||
{
|
{
|
||||||
daRating = 'bad';
|
daRating = 'bad';
|
||||||
score = -1000;
|
score = -1000;
|
||||||
totalNotesHit += 0.2;
|
totalNotesHit += 0.2;
|
||||||
|
noteMiss(0);
|
||||||
|
health -= 0.2;
|
||||||
ss = false;
|
ss = false;
|
||||||
bads++;
|
bads++;
|
||||||
}
|
}
|
||||||
|
else if (noteDiff < Conductor.safeZoneOffset * -0.25)
|
||||||
|
{
|
||||||
|
daRating = 'good';
|
||||||
|
totalNotesHit += 0.65;
|
||||||
|
score = 200;
|
||||||
|
health -= 0.04;
|
||||||
|
ss = false;
|
||||||
|
goods++;
|
||||||
|
}
|
||||||
else if (noteDiff > Conductor.safeZoneOffset * 0.25)
|
else if (noteDiff > Conductor.safeZoneOffset * 0.25)
|
||||||
{
|
{
|
||||||
daRating = 'good';
|
daRating = 'good';
|
||||||
totalNotesHit += 0.65;
|
totalNotesHit += 0.65;
|
||||||
score = 200;
|
score = 200;
|
||||||
|
health -= 0.04;
|
||||||
ss = false;
|
ss = false;
|
||||||
goods++;
|
goods++;
|
||||||
}
|
}
|
||||||
if (daRating == 'sick')
|
if (daRating == 'sick')
|
||||||
{
|
{
|
||||||
totalNotesHit += 1;
|
totalNotesHit += 1;
|
||||||
|
if (health < 2)
|
||||||
|
health += 0.1;
|
||||||
sicks++;
|
sicks++;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2347,10 +2376,6 @@ class PlayState extends MusicBeatState
|
|||||||
else
|
else
|
||||||
totalNotesHit += 1;
|
totalNotesHit += 1;
|
||||||
|
|
||||||
if (note.noteData >= 0)
|
|
||||||
health += 0.023;
|
|
||||||
else
|
|
||||||
health += 0.004;
|
|
||||||
|
|
||||||
switch (note.noteData)
|
switch (note.noteData)
|
||||||
{
|
{
|
||||||
|
@ -1 +1 @@
|
|||||||
1.1.3
|
1.2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user