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
@@ -485,7 +485,8 @@ static void horny_dance_cough(Entity_NPC& npc)
|
||||
params.color = HORNY_LOB_COLOR;
|
||||
Entity* target = npc.GetPlayerTarget();
|
||||
float distance = vector_length(vector_sub(npc.pos, target->pos));
|
||||
Vector lead = vector_add(target->pos, vector_scale(target->velocity, HORNY_AIM_LEAD * distance));
|
||||
Vector lead = vector_make(target->velocity.x * HORNY_AIM_LEAD * distance + target->pos.x,
|
||||
target->velocity.y * HORNY_AIM_LEAD * distance + target->pos.y);
|
||||
for (int i = 0; i < HORNY_LOBS; i++)
|
||||
{
|
||||
Entity_Projectile* lob = npc.FireBossProjectiles(1, lead, HORNY_LOB_SPEED, params);
|
||||
|
||||
Reference in new issue
Block a user