Skip to content
Snippets Groups Projects

Do not let SF_NOJUMPSPIN characters enter sectors they could not enter if standing at full height (Closes #457)

Merged Lach requested to merge playercanenterspingaps into next
  1. Mar 26, 2021
  2. Mar 25, 2021
    • lachablock's avatar
      Revise spinheight/gap entry conditions (again), let's keep things WAY simpler: · 000e865f
      lachablock authored
      - PF_NOJUMPDAMAGE no longer affects height at all (you're welcome katsy).
      - Characters with SF_NOJUMPSPIN will only use spinheight when panim is PA_ROLL. They cannot enter gaps when jumping with spinheight, unless also spinning or gliding.
      - All other characters use spinheight when panim is PA_JUMP or PA_ROLL. They can enter gaps when jumping with spinheight.
      000e865f
    • lachablock's avatar
      6ea96536
    • lachablock's avatar
      b1a92628
    • lachablock's avatar
      Revise conditions under which players use spinheight and enter gaps: · f99d8974
      lachablock authored
      - players with SF_NOJUMPDAMAGE but *not* SF_NOJUMPSPIN now always use spinheight while jumping (i.e. even with PF_NOJUMPDAMAGE), as long as their panim is PA_JUMP or PA_ROLL
      - players with SF_NOJUMPSPIN no longer use spinheight while jumping (but,)
      - PA_ROLL is now an acceptable condition for using spinheight (but not for entering gaps, e.g. S3K shields will shrink the hitbox but not allow gap entry on their own)
      - flying players now only use spinheight if they do not have SF_NOJUMPSPIN (you're welcome, EggpackRE)
      - players with neither SF_NOJUMPSPIN nor SF_NOJUMPDAMAGE use the same conditions as in 2.2.9 prerelease, i.e. use spinheight and can enter gaps unless they have PF_NOJUMPDAMAGE
      f99d8974
  3. Mar 23, 2021
Loading