mirror of
http://47.107.252.169:3000/Roguelite-Game-Developing-Team/Gen_Hack-and-Slash-Roguelite.git
synced 2025-11-20 08:37:13 +08:00
(client) feat:健康给予,路径优化,结算界面,商店界面 (#60)
Co-authored-by: m0_75251201 <m0_75251201@noreply.gitcode.com> Reviewed-on: http://47.107.252.169:3000/Roguelite-Game-Developing-Team/Gen_Hack-and-Slash-Roguelite/pulls/60
This commit is contained in:
@@ -2,7 +2,7 @@ using Data;
|
||||
|
||||
namespace AI
|
||||
{
|
||||
public class JobNode_Idle:LeafNodeBase
|
||||
public class JobNode_Idle : LeafNodeBase
|
||||
{
|
||||
protected override Status ExecuteLeafLogic()
|
||||
{
|
||||
@@ -13,11 +13,7 @@ namespace AI
|
||||
{
|
||||
base.Init(def, selfEntity);
|
||||
if (string.IsNullOrEmpty(def.value)) return;
|
||||
if (int.TryParse(def.value, out var result))
|
||||
{
|
||||
TimeoutFrames=result;
|
||||
}
|
||||
|
||||
if (int.TryParse(def.value, out var result)) TimeoutFrames = result;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user