Curation round 20: player update, costumes and render, Missing No., the last actives and cards, familiars, Pin, the Frail, Wormwood and the Heretic, Dross to Gehenna, effects and the devil room purchase, champion colours, the quit path, save fields, shared vector helpers

This commit is contained in:
shweet committed 2026-11-22 00:33:35 -05:00
1 parent ee863e70e6
commit 8dbeb1bc4a
168 files changed
+15682 -2399

No files matched your search

+19 -1
View File
@@ -35,6 +35,15 @@ constexpr float SUCKER_SHOT_SPEED = 8;
constexpr float SUCKER_HARD_SHOT_SPEED = 10;
constexpr float BLOODFLY_RING_SHOTS = 6;
constexpr float BLOODFLY_SHOT_SCALE = 1.8f;
// The Spit's death shot: lobbed high and slow at the player, bigger and green, splashing where it lands.
constexpr float SPIT_SHOT_TRAJECTORY = 10;
constexpr float SPIT_SHOT_ACCEL_DROP = 0.3f;
constexpr float SPIT_SHOT_SCALE = 1.6f;
constexpr float SPIT_SHOT_SLOW = 0.55f;
constexpr float SPIT_SHOT_RISE_SCALE = 0.7f;
constexpr float SPIT_SHOT_RISE = 13;
constexpr int SPIT_SHOT_COLOR_PRIORITY = 255;
constexpr ColorMod SPIT_SHOT_COLOR = {{1, 1, 1, 1}, {0.4f, 2, 0.5f, 1}, {0, 0, 0}};
constexpr float MOTER_SPLIT_SPEED = 10;
constexpr float MOTER_OVERKILL = -20;
@@ -172,7 +181,16 @@ static void sucker_death(Entity_NPC& npc)
break;
}
case SUCKER_SPIT:
reconstruction_missing("npc_fly_update 00506bd0: a Spit's death shot (FireBossProjectiles' projectile)");
{
Entity_Projectile* shot = npc.FireBossProjectiles(1, npc.GetPlayerTarget()->pos, SPIT_SHOT_TRAJECTORY, {});
shot->projectileFlags |= PROJECTILE_EXPLODE;
shot->fallingAccel -= SPIT_SHOT_ACCEL_DROP;
shot->scale = SPIT_SHOT_SCALE;
shot->velocity = vector_make(shot->velocity.x * SPIT_SHOT_SLOW, shot->velocity.y * SPIT_SHOT_SLOW);
shot->fallingSpeed = shot->fallingSpeed * SPIT_SHOT_RISE_SCALE - SPIT_SHOT_RISE;
shot->SetColor(SPIT_SHOT_COLOR, -1, SPIT_SHOT_COLOR_PRIORITY, false, true);
break;
}
case SUCKER_SOUL:
reconstruction_missing("npc_fly_update 00506bd0: a Soul Sucker's death (spawn_tracer_effect198)");
case SUCKER_INK: