maint: clean-up of some combat related classes and methods for clarity

This commit is contained in:
Chris
2025-10-23 13:04:56 -04:00
parent eb1622d4ed
commit a83ab1156a
13 changed files with 135 additions and 527 deletions

View File

@@ -21,21 +21,15 @@ namespace NodeCanvas.Tasks.Actions {
//Call EndAction() to mark the action as finished, either in success or failure.
//EndAction can be called from anywhere.
protected override void OnExecute(){
// using (Draw.WithColor(Color.forestGreen)){
// EndAction(true);
// }
}
//Called once per frame while the action is active.
protected override void OnUpdate(){
agent.GetComponent<Player>().persistDrawingRevive = .5f;
agent.GetComponent<Player>().persistDrawingRevive = 1f;
agent.GetComponent<Player>().DrawReviveBarRpc(elapsedTime);
}
//Called when the task is disabled.
protected override void OnStop() {