Add damage falloff to projectile
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user