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
+11
View File
@@ -434,6 +434,17 @@ bool Character::CanAct() const {
return true;
}
bool Character::IsInvulnerable() const {
for (const StatusEffect& status : statuses)
if (GetStatusEffectInfo(status.type).invulnerable)
return true;
return false;
}
bool Character::HasHyperArmor() const {
return body && body->combat.HasHyperArmor();
}
bool Character::DodgesHits() const {
for (const StatusEffect& status : statuses)
if (GetStatusEffectInfo(status.type).dodgesHits)