diff options
author | nathansmithsmith <thenathansmithsmith@gmail.com> | 2023-12-04 14:45:52 -0700 |
---|---|---|
committer | nathansmithsmith <thenathansmithsmith@gmail.com> | 2023-12-04 14:45:52 -0700 |
commit | 19089d8214538c6049dbbdf7f0df4ebee215c959 (patch) | |
tree | 93b81405f2dff9e7073b22f74b110a8c03e048d8 /src/entities/maresciallo.c | |
parent | 3da57634be30691f23915296024baebca3b6297f (diff) |
Added part of level 6
Diffstat (limited to 'src/entities/maresciallo.c')
-rw-r--r-- | src/entities/maresciallo.c | 4 |
1 files changed, 3 insertions, 1 deletions
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, |