Tweak mage tower range and cooldown
This commit is contained in:
@@ -176,7 +176,7 @@ ecs_entity_t placeBuilding(Game *game, BuildingType type,
|
|||||||
|
|
||||||
ecs_set(ECS, building, AttachedEntity, {mage});
|
ecs_set(ECS, building, AttachedEntity, {mage});
|
||||||
ecs_set(ECS, building, Tower, {
|
ecs_set(ECS, building, Tower, {
|
||||||
.range = 46.0f,
|
.range = 80.0f,
|
||||||
.projMinDamage = 40.0f,
|
.projMinDamage = 40.0f,
|
||||||
.projMaxDamage = 80.0f,
|
.projMaxDamage = 80.0f,
|
||||||
.projMinLifespan = 0.8f,
|
.projMinLifespan = 0.8f,
|
||||||
@@ -184,7 +184,7 @@ ecs_entity_t placeBuilding(Game *game, BuildingType type,
|
|||||||
.projSpeed = 100.0f,
|
.projSpeed = 100.0f,
|
||||||
.projRadius = 4.0f,
|
.projRadius = 4.0f,
|
||||||
.projDamageCount = 3,
|
.projDamageCount = 3,
|
||||||
.fireCooldown = 1.2f,
|
.fireCooldown = 0.8f,
|
||||||
.fireElapsed = 0.0f,
|
.fireElapsed = 0.0f,
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user