Skip to content

Commit

Permalink
Update Enhanced Homing Attack Rebound.hmm
Browse files Browse the repository at this point in the history
  • Loading branch information
theblazingrush committed Feb 16, 2024
1 parent a44d618 commit 9cb329f
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,16 @@ Notes;

var lockonTarget = Player.Status.GetLockOnTarget();

if (lockonTarget == null)
return;

if (GameObject.GetGOC(lockonTarget, "GOCHealth") != null)
{
isEnemy = true;
}
else
if (lockonTarget != null)
{
isEnemy = false;
if (GameObject.GetGOC(lockonTarget, "GOCHealth") != null)
{
isEnemy = true;
}
else
{
isEnemy = false;
}
}

if (Player.State.GetCurrentStateID<Sonic.StateID>() == Sonic.StateID.StateHomingFinished && Player.State.GetPreviousStateID<Sonic.StateID>() != Sonic.StateID.StateHomingAttackInStorm && !isDive)
Expand Down

0 comments on commit 9cb329f

Please sign in to comment.