Curation round 18: tears and four weapons, passive item and trinket sweeps, pills and most cards, alt path and main path enemies, Hush and the Blue Womb, Mega Satan, the Void, Tainted ???, Forgotten, Lilith and Eden, wisps

This commit is contained in:
shweet committed 2026-11-21 10:34:58 -05:00
1 parent 024cb12016
commit 9dfc09518c
157 files changed
+24212 -6106

No files matched your search

+11 -1
View File
@@ -1,5 +1,6 @@
#include "entity_bomb.h"
#include "entity_effect.h"
#include "boss_ai.h"
#include "entity_player.h"
#include "entity_projectile.h"
#include "game.h"
@@ -59,6 +60,10 @@ constexpr int CRACKWAVE_BEAST = 10;
constexpr int CRACKWAVE_FRAMES = 240;
constexpr int CRACKWAVE_PERIOD = 2;
constexpr int CRACKWAVE_BEAST_PERIOD = 4;
// The Beast's crackwave hurts 35 (players 1) within 38 of each step, both sides alike.
constexpr float CRACKWAVE_BEAST_DAMAGE = 35;
constexpr float CRACKWAVE_BEAST_STRONG = 50;
constexpr float CRACKWAVE_BEAST_RADIUS = 38;
constexpr float CRACKWAVE_STEP = 30;
constexpr float CRACKWAVE_BEAST_STEP = 60;
constexpr float CRACKWAVE_WOBBLE_SPAN = 150;
@@ -324,7 +329,12 @@ static void crackwave_step(Entity_Effect& wave, int frame)
rock->sprite.scale = wave.sprite.scale;
}
if (isBeast)
reconstruction_missing("Entity_Effect::Update 005d4380: the Beast's crackwave damage (Game::DamageRadius)");
damage_radius({.position = wave.targetPosition,
.source = wave.spawnerEntity,
.damage = CRACKWAVE_BEAST_DAMAGE,
.playerDamageThreshold = CRACKWAVE_BEAST_STRONG,
.radius = CRACKWAVE_BEAST_RADIUS,
.isHitAll = true});
if (wave.HasEntityFlags(FLAG_SPAWN_STICKY_SPIDERS) && random_below(CRACKWAVE_ROCK_ODDS) == 0)
crackwave_rocks_throw(wave);