From cc684791561bd5ed5ea98343298cbccdf2591c58 Mon Sep 17 00:00:00 2001 From: onpon4 Date: Sat, 28 Feb 2015 09:22:15 -0500 Subject: [PATCH] Deny the Supercharge on bosses, except when on easy difficulty. A supercharge at this point can suddenly make bosses much easier (especially the case with the Star Killer). This kind of takes away the tension, so it's undesired. (It's fine for Easy difficulty, because it's possible to take in a Supercharge from an earlier level anyway.) --- src/collectable.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/collectable.cpp b/src/collectable.cpp index 64337ef..3c2ab2d 100644 --- a/src/collectable.cpp +++ b/src/collectable.cpp @@ -83,10 +83,13 @@ void addCollectable(float x, float y, int type, int value, int life) } } - // Deny the Super Charge in Nightmare difficulty. + // Deny the Super Charge in Nightmare difficulty, and on bosses. if (type == P_SUPER) { - if (currentGame.difficulty >= DIFFICULTY_NIGHTMARE) + if ((currentGame.difficulty >= DIFFICULTY_NIGHTMARE) || + ((currentGame.difficulty > DIFFICULTY_EASY) && + ((currentGame.area == 5) || (currentGame.area == 11) || + (currentGame.area == 18) || (currentGame.area == 25)))) { type = P_PLASMA_DAMAGE; }