Tweak tower and unit values
This commit is contained in:
@@ -77,8 +77,8 @@ ecs_entity_t entityCreateSoldier(const Position position, Player player, Game *g
|
||||
Unit unit = {0};
|
||||
ecs_entity_t e = entityCreateBaseUnit(position, 10.0f, player, ENTITY_SOLDIER, ANIM_IDLE, &unit, game);
|
||||
ecs_set(ECS, e, Health, {
|
||||
.startHP = 40.0f,
|
||||
.hp = 40.0f,
|
||||
.startHP = 80.0f,
|
||||
.hp = 80.0f,
|
||||
.lastChanged = -1000.0f
|
||||
});
|
||||
unit.minDamage = 5.0f;
|
||||
@@ -92,8 +92,8 @@ ecs_entity_t entityCreateWarrior(const Position position, Player player, Game *g
|
||||
Unit unit = {0};
|
||||
ecs_entity_t e = entityCreateBaseUnit(position, 10.0f, player, ENTITY_WARRIOR, ANIM_IDLE, &unit, game);
|
||||
ecs_set(ECS, e, Health, {
|
||||
.startHP = 80.0f,
|
||||
.hp = 80.0f,
|
||||
.startHP = 200.0f,
|
||||
.hp = 200.0f,
|
||||
.lastChanged = -1000.0f
|
||||
});
|
||||
unit.minDamage = 8.0f;
|
||||
|
||||
Reference in New Issue
Block a user