maint: clean-up of some combat related classes and methods for clarity
This commit is contained in:
@@ -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() {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user