finished the game (i will probably not be touching this again)

This commit is contained in:
2026-11-08 12:51:19 -05:00
parent 36e093f84c
commit 5d7aa3b93b
37 changed files with 141 additions and 11 deletions
+8
View File
@@ -96,6 +96,14 @@ bool CharacterCombat::IsAbilityPivoting() const {
return move.pivots && (move.pivotEndFrame <= 0.0f || abilityTime < AbilityFrameTime(move, move.pivotEndFrame));
}
bool CharacterCombat::HasHyperArmor() const {
if (ability < 0)
return false;
const Ability& move = abilities[ability];
return move.hyperArmor && abilityTime >= AbilityFrameTime(move, move.hyperArmorStartFrame)
&& (move.hyperArmorEndFrame <= 0.0f || abilityTime < AbilityFrameTime(move, move.hyperArmorEndFrame));
}
void CharacterCombat::StartAbility(CharacterBody& body, int index) {
// It takes over the action layer, so a swing in its recovery is over and the combo starts again after
current = -1;