finished the game (i will probably not be touching this again)
This commit is contained in:
+1
-1
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user