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:
1 parent
cc77c923e8
commit
e66baf4063
215 files changed
+2046
-1093
No files matched your search
@@ -383,7 +383,8 @@ static void hand_water_splash(Vector place, int count)
|
||||
Vector direction = random_direction();
|
||||
Vector offset = vector_make(HAND_SPLASH_SPREAD_X * direction.x, HAND_SPLASH_SPREAD_Y * direction.y);
|
||||
float speed = random_unit() * HAND_SPLASH_SPEED_SPAN + HAND_SPLASH_SPEED_MIN;
|
||||
Vector velocity = vector_make(offset.x * speed / HAND_SPLASH_SPREAD_X, offset.y * speed / HAND_SPLASH_SPREAD_Y);
|
||||
// The original divides both parts by the horizontal spread.
|
||||
Vector velocity = vector_make(offset.x * speed / HAND_SPLASH_SPREAD_X, offset.y * speed / HAND_SPLASH_SPREAD_X);
|
||||
auto* drop = static_cast<Entity_Effect*>(g_game->Spawn({.position = vector_add(place, offset),
|
||||
.velocity = velocity,
|
||||
.subType = SPLASH_DROP,
|
||||
|
||||
Reference in new issue
Block a user