v0.9.3: implemented baseline functionality for new bosses challenge

This commit is contained in:
Evan Debenham 2021-04-02 16:06:08 -04:00
parent 5fe48c7304
commit 575d3475e9
2 changed files with 6 additions and 2 deletions

View File

@ -85,5 +85,7 @@ challenges.no_scrolls=Forbidden runes
challenges.no_scrolls_desc=A certain rune is harder to find. Unfortunately, it's always the most useful one.\n\n- Half of the dungeon's upgrades scrolls are removed
challenges.champion_enemies=Hostile champions
challenges.champion_enemies_desc=You're not the only one who can level up!\n\n- Regular enemies have a 1/8 chance to spawn with a special champion buff.\n- Champions wake up if they spawn asleep\n- The hero knows when a champion spawns\n- Champions are immune to corruption\n\nThere are six types of champion enemy:\n_Blazing (orange):_ +25% melee damage, ignites on hit, immune to fire, spreads flames on death\n_Projecting (purple):_ +25% melee damage, can attack anything they see\n_Antimagic (green):_ -25% damage taken, immune to magical effects\n_Giant (blue):_ -75% damage taken, +1 melee range, cannot move into tunnels\n_Blessed (yellow):_ +200% accuracy, +200% evasion\n_Growing (red):_ +20% accuracy, evasion, damage, and effective HP. Increases by 1% every 3 turns.
challenges.stronger_bosses=Badder bosses
challenges.stronger_bosses_desc=TODO
rankings$record.something=Killed by Something

View File

@ -35,11 +35,13 @@ public class Challenges {
public static final int DARKNESS = 32;
public static final int NO_SCROLLS = 64;
public static final int CHAMPION_ENEMIES = 128;
public static final int STRONGER_BOSSES = 256;
public static final int MAX_VALUE = 255;
public static final int MAX_VALUE = 511;
public static final String[] NAME_IDS = {
"champion_enemies",
"stronger_bosses",
"no_food",
"no_armor",
"no_healing",
@ -50,7 +52,7 @@ public class Challenges {
};
public static final int[] MASKS = {
CHAMPION_ENEMIES, NO_FOOD, NO_ARMOR, NO_HEALING, NO_HERBALISM, SWARM_INTELLIGENCE, DARKNESS, NO_SCROLLS
CHAMPION_ENEMIES, STRONGER_BOSSES, NO_FOOD, NO_ARMOR, NO_HEALING, NO_HERBALISM, SWARM_INTELLIGENCE, DARKNESS, NO_SCROLLS
};
public static int activeChallenges(){