Curation round 28 (code only): float pow, log and exp widened to double like the game, inlined HasTrinket preview handling, explicit RNG argument order, update_effects rebuilt in the original's order, weapon vtable slots, null-frame reads, and a parity audit finishing every boss, every enemy, the level and most rooms, grid entities and weapons; misnamed pill and null-item ids corrected (55 duplicates)
This commit is contained in:
1 parent
e66baf4063
commit
719e5ef04d
157 files changed
+1399
-717
No files matched your search
+2
-1
@@ -347,7 +347,8 @@ static void spread_update(Entity_NPC& npc, Entity& target)
|
||||
params.fallingSpeedModifier = SPREAD_FALL_SPEED;
|
||||
}
|
||||
float speed = (vector_length(lead) <= SPREAD_FAR ? SPREAD_SPEED : SPREAD_SPEED_FAR) * SPREAD_SPEED_SCALE;
|
||||
npc.FireProjectiles(npc.pos, vector_resized(lead, speed), isShoot2 ? PROJECTILES_FOUR : PROJECTILES_FIVE, params);
|
||||
npc.FireProjectiles(npc.pos, vector_scale(vector_normalized(lead), speed), isShoot2 ? PROJECTILES_FOUR : PROJECTILES_FIVE,
|
||||
params);
|
||||
}
|
||||
|
||||
// Satan shakes from side to side between an attack's Shoot and Shoot2, on frames he updates.
|
||||
|
||||
Reference in new issue
Block a user