v1.4.2: clarified boss score text, fixed yog laser not reducing score in some cases, removed Goo heal from score calculation.

This commit is contained in:
Evan Debenham
2022-10-27 12:32:30 -04:00
parent 9203b225aa
commit 385fa9791c
3 changed files with 6 additions and 7 deletions

View File

@@ -215,7 +215,7 @@ windows.wndscorebreakdown.treasure_desc_old=Based on gold collected.
windows.wndscorebreakdown.explore_title=Exploration
windows.wndscorebreakdown.explore_desc=Based on floors with all items found, all secrets found, and all puzzles solved.
windows.wndscorebreakdown.bosses_title=Bosses
windows.wndscorebreakdown.bosses_desc=Based on bosses defeated, reduced by taking avoidable hits during boss fights.
windows.wndscorebreakdown.bosses_desc=Based on bosses defeated, reduced by standing in avoidable attacks during boss fights.
windows.wndscorebreakdown.quests_title=Quests
windows.wndscorebreakdown.quests_desc=Based on quests completed.
windows.wndscorebreakdown.win_multiplier=Win Multiplier

View File

@@ -107,7 +107,6 @@ public class Goo extends Mob {
if (Dungeon.level.water[pos] && HP < HT) {
HP += healInc;
Statistics.bossScores[0] -= 10;
Statistics.qualifiedForBossChallengeBadge = false;
LockedFloor lock = Dungeon.hero.buff(LockedFloor.class);
@@ -297,8 +296,7 @@ public class Goo extends Mob {
if (Statistics.qualifiedForBossChallengeBadge){
Badges.validateBossChallengeCompleted();
}
Statistics.bossScores[0] += 1050; //Goo has a 50 point gimme
Statistics.bossScores[0] = Math.min(1000, Statistics.bossScores[0]);
Statistics.bossScores[0] += 1000;
yell( Messages.get(this, "defeated") );
}

View File

@@ -224,15 +224,16 @@ public class YogDzewa extends Mob {
Invisibility.dispel(this);
for (Char ch : affected) {
if (ch == Dungeon.hero) {
Statistics.bossScores[4] -= 500;
}
if (hit( this, ch, true )) {
if (Dungeon.isChallenged(Challenges.STRONGER_BOSSES)) {
ch.damage(Random.NormalIntRange(30, 50), new Eye.DeathGaze());
} else {
ch.damage(Random.NormalIntRange(20, 30), new Eye.DeathGaze());
}
if (ch == Dungeon.hero) {
Statistics.bossScores[4] -= 500;
}
if (Dungeon.level.heroFOV[pos]) {
ch.sprite.flash();
CellEmitter.center(pos).burst(PurpleParticle.BURST, Random.IntRange(1, 2));