Hytale Asset ReferenceUnofficial
Versions / 0.6.0-pre.8 / NPC / Balancing / CAE_Test_Combat_Long_Basic_Attack_Cooldown.json

CAE_Test_Combat_Long_Basic_Attack_Cooldown

Server/NPC/Balancing/CAE_Test_Combat_Long_Basic_Attack_Cooldown.json, 1.4 KB

Fields

FieldType
Typestring
TargetMemoryDurationnumber
CombatActionEvaluatorobject

Source

{
  "Type": "CombatActionEvaluator",
  "TargetMemoryDuration": 10,
  "CombatActionEvaluator": {
    "RunConditions": [
      {
        "Type": "TimeSinceLastUsed",
        "Curve": {
          "ResponseCurve": "Linear",
          "XRange": [
            0,
            10
          ]
        }
      },
      {
        "Type": "Randomiser",
        "MinValue": 0.9,
        "MaxValue": 1
      }
    ],
    "MinRunUtility": 0.5,
    "MinActionUtility": 0.01,
    "AvailableActions": {
      "RangedAttack": {
        "Type": "SelectBasicAttackTarget",
        "Description": "Select a target",
        "Conditions": [
          {
            "Type": "TargetDistance",
            "Curve": {
              "ResponseCurve": "SimpleLogistic",
              "XRange": [
                0,
                15
              ]
            }
          },
          {
            "Type": "TimeSinceLastUsed",
            "Curve": {
              "Type": "Switch",
              "SwitchPoint": 1
            }
          }
        ]
      }
    },
    "ActionSets": {
      "Default": {
        "BasicAttacks": {
          "Attacks": [
            "Goblin_Lobber_Attack"
          ],
          "Randomise": false,
          "MaxRange": 12,
          "Timeout": 2,
          "CooldownRange": [
            4,
            6
          ]
        },
        "Actions": [
          "RangedAttack"
        ]
      }
    }
  }
}