Curation round 27 (code only): Weapon_Bone::Fire and the fetus tear (no offline gaps left), TakeDamage's interleaved hit order, 74 SetAnimation reset flags corrected, and a parity audit of every boss, every enemy, the rest of the player and tears, effects and familiars; one normalize_angle_degrees, IsTargetInAttackRange defaults (59 duplicates)

This commit is contained in:
shweet committed 2026-11-23 12:08:14 -05:00
1 parent cc77c923e8
commit e66baf4063
215 files changed
+2046 -1093

No files matched your search

+2 -2
View File
@@ -227,7 +227,7 @@ static void dip_scoot(Entity_Familiar& dip, float speedScale)
else if (dip.subtype == DIP_SUBTYPE_RED) speedScale = DIP_RED_CHARGE;
Vector heading = vector_is_zero(vector_sub(destination, dip.pos))
? vector_from_angle(random_unit() * PI_ROUGH * 2 * RADIANS_TO_DEGREES)
? random_direction()
: vector_normalized(vector_sub(destination, dip.pos));
float speed = random_unit() * DIP_SCOOT_SPEED + DIP_SCOOT_SPEED;
dip.velocity = vector_add(dip.velocity, vector_scale(heading, speed * speedScale / dip.friction));
@@ -373,9 +373,9 @@ void Entity_Familiar::zhl_misfit_006414c0()
if (Random() % DIP_SPLAT_ODDS == 0 && subtype != DIP_SUBTYPE_STONE)
{
float size = random_unit() * DIP_SPLAT_RANGE + DIP_SPLAT_MIN;
Entity* splat = g_game->Spawn(
{.position = pos, .spawner = this, .type = ENTITY_EFFECT, .variant = EFFECT_BLOOD_SPLAT, .seed = Random()});
float size = random_unit() * DIP_SPLAT_RANGE + DIP_SPLAT_MIN;
splat->sprite.scale = vector_make(size, size);
splat->Update();
splat->SetColor(splatColor, -1, COLOR_PRIORITY_DEFAULT, false, true);