sturr doggo

This commit is contained in:
Jonas Mucke
2020-04-19 20:31:14 +02:00
parent 1a58a9689e
commit e21a065b60
7 changed files with 126 additions and 69 deletions

View File

@@ -49,7 +49,7 @@ func _physics_process(delta):
while(totaldamage < -1):
totaldamage+=1
player_stats.health+=1
#adjustPrio(player_stats.health, player_stats.max_health)
adjustPrio(player_stats.health, player_stats.max_health)
_debug_update()
if debug == true:
match movementState:
@@ -160,7 +160,8 @@ func movement_roll():
func roll_finished():
movementState = moveState.IDLE
ExecutionState = AI_MOVE
ai_movement_state = STEP
ExecutionState = EXECUTING
func _on_Hurtbox_area_entered(area):