Add fireball particles, add max lifespan to fireball
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user