Hytale Asset ReferenceUnofficial
Versions / 0.4.1 / NPC / Balancing / Intelligent / CAE_Goblin_Duke_Phase_1.json

CAE_Goblin_Duke_Phase_1

Server/NPC/Balancing/Intelligent/CAE_Goblin_Duke_Phase_1.json, 2.1 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": {
      "SelectTarget": {
        "Type": "SelectBasicAttackTarget",
        "Description": "Select a target",
        "Conditions": [
          {
            "Type": "TargetDistance",
            "Curve": {
              "ResponseCurve": "SimpleDescendingLogistic",
              "XRange": [
                0,
                15
              ]
            }
          }
        ]
      }
    },
    "ActionSets": {
      "Default": {
        "BasicAttacks": {
          "Attacks": [
            "Shield_Attack"
          ],
          "InteractionVars": {
            "Shield_Swing_Left_Effect": "Shield_Swing_Left_Effect",
            "Shield_Swing_Left_Damage": {
              "Interactions": [
                {
                  "Parent": "Shield_Swing_Left_Damage",
                  "DamageCalculator": {
                    "Type": "Absolute",
                    "BaseDamage": {
                      "Physical": 0
                    }
                  },
                  "DamageEffects": {
                    "$Comment": "Higher knockback for the duke",
                    "Knockback": {
                      "Force": 5,
                      "RelativeX": 0,
                      "RelativeZ": -8,
                      "VelocityY": 4
                    },
                    "WorldSoundEventId": "SFX_Shield_T2_Impact"
                  }
                }
              ]
            }
          },
          "Randomise": false,
          "MaxRange": 3,
          "Timeout": 0.1,
          "CooldownRange": [
            0.001,
            0.001
          ]
        },
        "Actions": [
          "SelectTarget"
        ]
      }
    }
  }
}