Implement passive relics and six-family defense towers

This commit is contained in:
2026-09-23 18:11:38 +09:00
parent 5d11288a6f
commit c94cbda1e6
21 changed files with 2882 additions and 152 deletions
@@ -554,11 +554,13 @@ namespace BumpCombat.Progression
return;
}
List<PassiveRelicId> candidates = new(available);
for (int i = 0; i < shownCount; i++)
{
shownRelics[i] = available[i];
int choiceIndex = Random.Range(0, candidates.Count);
shownRelics[i] = candidates[choiceIndex];
candidates.RemoveAt(choiceIndex);
}
showingPassiveRelicReward = true;
selectedIndex = 0;
titleText.text = "PASSIVE RELIC - CHOOSE ONE";
@@ -572,6 +574,23 @@ namespace BumpCombat.Progression
PassiveRelicId.TwinHornTalisman => "01 TWIN HORN TALISMAN\n15% chance: ordinary bump deals 2x damage",
PassiveRelicId.ResonanceCore => "02 RESONANCE CORE\n8% chance: echo current artifact at 50% damage",
PassiveRelicId.RuptureSeed => "03 RUPTURE SEED\n25% chance: player kill explodes for 10% max HP",
PassiveRelicId.WaveNail => "04 WAVE NAIL\n20% hit: 60% bump shockwave",
PassiveRelicId.CapacitorRing => "05 CAPACITOR RING\n20% hit: chain to 3 for 35% bump",
PassiveRelicId.EmberWick => "06 EMBER WICK\n25% hit: ignite",
PassiveRelicId.EmberCarrier => "07 EMBER CARRIER\n30% ignited kill: spread remaining ignite",
PassiveRelicId.RiftWedge => "08 RIFT WEDGE\n3 bumps on one enemy: vulnerability",
PassiveRelicId.ExecutionerSigil => "09 EXECUTIONER SIGIL\n25% bump: execute under 10% HP",
PassiveRelicId.HunterFeather => "10 HUNTER FEATHER\n20% kill: +20% speed for 4s",
PassiveRelicId.BloodFang => "11 BLOOD FANG\n20% hit: heal 2% max HP",
PassiveRelicId.RecoveryFunnel => "12 RECOVERY FUNNEL\n25% kill: restore 5% max gauge",
PassiveRelicId.TrophyMask => "13 TROPHY MASK\nElite kill: +20% bump, +10% speed for 8s",
PassiveRelicId.ResonantCrystal => "14 RESONANT CRYSTAL\n20% manual use: repeat after 0.5s",
PassiveRelicId.BackflowHeart => "15 BACKFLOW HEART\nDamage taken: temporary shield",
PassiveRelicId.CounterBell => "16 COUNTER BELL\n20% HP hit: slow nearby enemies",
PassiveRelicId.SprintWheel => "17 SPRINT WHEEL\nMove 8 body widths: next bump shockwave",
PassiveRelicId.BattleBaton => "18 BATTLE BATON\nManual use: boost visible towers",
PassiveRelicId.BondLedger => "19 BOND LEDGER\nTower kills bumped enemy: +1 build",
PassiveRelicId.PilgrimPouch => "20 PILGRIM POUCH\n5% kill: healing orb",
_ => id.ToString(),
};
}