Add fireball particles, add max lifespan to fireball

This commit is contained in:
2024-02-10 11:39:01 +01:00
parent 1c6fab51c6
commit 1487d67a3b
5 changed files with 57 additions and 38 deletions

View File

@@ -174,11 +174,13 @@ ecs_entity_t placeBuilding(Game *game, BuildingType type,
ecs_set(ECS, building, AttachedEntity, {mage});
ecs_set(ECS, building, Tower, {
.range = 46.0f,
.minDamage = 40.0f,
.maxDamage = 80.0f,
.projectileSpeed = 100.0f,
.projectileRadius = 4.0f,
.projectileDamageCount = 3,
.projMinDamage = 40.0f,
.projMaxDamage = 80.0f,
.projMinLifespan = 2.6f,
.projMaxLifespan = 3.2f,
.projSpeed = 100.0f,
.projRadius = 4.0f,
.projDamageCount = 3,
.fireCooldown = 1.2f,
.fireElapsed = 0.0f,
});