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
@@ -1355,8 +1355,8 @@ static void halo_push(Entity_Effect& halo, Entity& enemy)
|
||||
static void telekinesis_halo_update(Entity_Effect& halo)
|
||||
{
|
||||
std::string_view animation = halo.sprite.GetAnimation();
|
||||
if (halo.state >= 1 && animation != "Blink") halo.sprite.SetAnimation("Blink", SWITCH_KEEP_FRAME);
|
||||
else if (halo.state == 0 && halo.sprite.IsPlaying("Idle")) halo.sprite.SetAnimation("Idle", SWITCH_KEEP_FRAME);
|
||||
if (halo.state >= 1 && animation != "Blink") halo.sprite.SetAnimation("Blink");
|
||||
else if (halo.state == 0 && halo.sprite.IsPlaying("Idle")) halo.sprite.SetAnimation("Idle");
|
||||
if (!halo.sprite.IsEventTriggered("Push")) return;
|
||||
|
||||
for (Entity* enemy : entity_query_radius(halo.pos, HALO_PUSH_RANGE, QUERY_ENEMIES))
|
||||
|
||||
Reference in new issue
Block a user