Add damage falloff to projectile

This commit is contained in:
2024-02-10 13:28:00 +01:00
parent e1e4448751
commit 5a66d6ad12

View File

@@ -455,6 +455,7 @@ void updateProjectile(ecs_iter_t *it) {
}); });
proj[i].lastDamaged = other; proj[i].lastDamaged = other;
proj[i].damageCount--; proj[i].damageCount--;
proj[i].damage *= 0.9f;
break; break;
} }