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
+1 -1
View File
@@ -36,7 +36,7 @@ void HitboxSystem::Resolve(const std::vector<Character*>& characters, const HitH
for (Character* target : characters) {
if (target == hitbox.owner || target->IsDead() || target->ragdoll || !target->body)
continue;
if (target->DodgesHits() && !hitbox.hitsKnockedDown)
if (target->IsInvulnerable() || (target->DodgesHits() && !hitbox.hitsKnockedDown))
continue;
if (hitbox.swing != 0) {
const std::vector<const Character*>& already = hitBySwing[hitbox.swing];