Skip to content

feat: GetHitVarSet state controller, some fixes - #1687

Merged
K4thos merged 4 commits into
ikemen-engine:developfrom
potsmugen:fix
Mar 11, 2024
Merged

K4thos merged 4 commits into
ikemen-engine:developfrom
potsmugen:fix

Conversation

@potsmugen

Copy link
Copy Markdown
Contributor

GetHitVarSet:

  • Allows changing a player's GetHitVar without hitting them
  • Supported parameters: airtype, animtype, attr, chainid, ctrltime, fall, fall.damage, fall.envshake.ampl, fall.envshake.freq, fall.envshake.mul, fall.envshake.phase, fall.envshake.time, fall.kill, fall.recover, fall.recovertime, fall.xvel, fall.yvel, fallcount, groundtype, guarded, hitshaketime, hittime, ID, playerno, recovertime, slidetime, xvel, yaccel, yvel

Fixes:

  • Fixed a regression in a previous commit that caused meter gained by "getpower" to be doubled
  • Made helper type parameter parsing more strict. This prevents eventual "helpertype = projectile" (valid but useless in Mugen) helpers from being evaluated as player type
  • If a char is KO'd with 0 dizzy/guard points, they are now set to 1. This should prevent the respective bars from showing empty warnings

- Fixed a regression in a previous commit that caused meter gained by "getpower" to be doubled
- Allows changing a player's GetHitVar without hitting them
- Supported parameters: airtype, animtype, attr, chainid, ctrltime, fall, fall.damage, fall.envshake.ampl, fall.envshake.freq, fall.envshake.mul, fall.envshake.phase, fall.envshake.time, fall.kill, fall.recover, fall.recovertime, fall.xvel, fall.yvel, fallcount, groundtype, guarded, hitshaketime, hittime, ID, playerno, recovertime, slidetime, xvel, yaccel, yvel
- Made helper type parameter parsing more strict. This prevents eventual "helpertype = projectile" (valid but useless in Mugen)  helpers from being evaluated as player type
- If a char is KO'd with 0 points, they are now set to 1. This should prevent the stun/guard bars from showing empty warnings
@github-actions github-actions Bot added the PR: feat This PR implements a new feature label Mar 9, 2024
@K4thos
K4thos merged commit 88a36a5 into ikemen-engine:develop Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: feat This PR implements a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants