From 19089d8214538c6049dbbdf7f0df4ebee215c959 Mon Sep 17 00:00:00 2001 From: nathansmithsmith Date: Mon, 4 Dec 2023 14:45:52 -0700 Subject: Added part of level 6 --- src/entities/maresciallo.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/entities/maresciallo.c') diff --git a/src/entities/maresciallo.c b/src/entities/maresciallo.c index 4b6ce03..a98919b 100644 --- a/src/entities/maresciallo.c +++ b/src/entities/maresciallo.c @@ -11,6 +11,8 @@ void initMaresciallo(Entity * entity, Game * game) { entity->transformedCollisionModel = entityCreateCollisionModel(*entity->model); setEntityRadius(entity); + entity->health = 0.75; + // Allocate data. entity->data = KF_MALLOC(sizeof(Maresciallo)); @@ -25,7 +27,7 @@ void initMaresciallo(Entity * entity, Game * game) { data->timeSinceLastMissileShot = GetTime(); PIDConfig flyToPointPID = (PIDConfig){ - .kP = 1.1, + .kP = 1.5, .kI = 0.0, .kD = 0.0, .angleMode = false, -- cgit v1.2.3