Hytale Asset ReferenceUnofficial
Versions / 0.6.0-pre.2 / NPC / Balancing / Intelligent / CAE_Hedera.json

CAE_Hedera

Server/NPC/Balancing/Intelligent/CAE_Hedera.json, 8.2 KB

Fields

FieldType
Typestring
TargetMemoryDurationnumber
CombatActionEvaluatorobject

Source

{
  "Type": "CombatActionEvaluator",
  "TargetMemoryDuration": 10,
  "CombatActionEvaluator": {
    "RunConditions": [
      {
        "Type": "TimeSinceLastUsed",
        "Curve": {
          "ResponseCurve": "Linear",
          "XRange": [
            0,
            5
          ]
        }
      },
      {
        "Type": "Randomiser",
        "MinValue": 0.75,
        "MaxValue": 1
      }
    ],
    "MinRunUtility": 0.5,
    "MinActionUtility": 0.01,
    "AvailableActions": {
      "Default": {
        "Type": "State",
        "Description": "Change to the Default state",
        "State": "Combat",
        "SubState": "Default",
        "PostExecuteDistanceRange": [
          2,
          2.5
        ],
        "Target": "Hostile",
        "WeightCoefficient": 1.25,
        "Conditions": [
          {
            "Type": "Randomiser",
            "MinValue": 0.9,
            "MaxValue": 1
          },
          {
            "Type": "TimeSinceLastUsed",
            "Curve": {
              "Type": "Switch",
              "SwitchPoint": 10
            }
          },
          {
            "Type": "TargetDistance",
            "Curve": {
              "ResponseCurve": "SimpleDescendingLogistic",
              "XRange": [
                0,
                10
              ]
            }
          }
        ]
      },
      "VineBlock": {
        "Type": "Ability",
        "Description": "Block with hands",
        "Target": "Hostile",
        "AbilityType": "Secondary",
        "OffhandSlot": 0,
        "AttackDistanceRange": [
          0.5,
          10
        ],
        "PostExecuteDistanceRange": [
          2,
          2.45
        ],
        "Ability": "Root_NPC_Shield_Block",
        "SubState": "Default",
        "ChargeFor": 1,
        "WeightCoefficient": 1.25,
        "Conditions": [
          {
            "Type": "Randomiser",
            "MinValue": 0.4,
            "MaxValue": 1
          },
          {
            "Type": "TimeSinceLastUsed",
            "Curve": {
              "Type": "Switch",
              "SwitchPoint": 1
            }
          },
          {
            "Type": "RecentSustainedDamage",
            "Curve": {
              "ResponseCurve": "InverseExponential",
              "XRange": [
                0,
                3
              ]
            }
          }
        ]
      },
      "BackOff": {
        "Type": "State",
        "Description": "Change to the strafe state",
        "State": "Combat",
        "SubState": "Strafe",
        "PostExecuteDistanceRange": [
          6,
          8
        ],
        "Target": "Hostile",
        "WeightCoefficient": 1.25,
        "Conditions": [
          {
            "Type": "Randomiser",
            "MinValue": 0.8,
            "MaxValue": 1
          },
          {
            "Type": "TimeSinceLastUsed",
            "Curve": {
              "Type": "Switch",
              "SwitchPoint": 10
            }
          },
          {
            "Type": "RecentSustainedDamage",
            "Curve": {
              "ResponseCurve": "InverseExponential",
              "XRange": [
                0,
                6
              ]
            }
          }
        ]
      },
      "Scream": {
        "Type": "Ability",
        "Description": "Charges towards the target",
        "Target": "Hostile",
        "SubState": "Default",
        "OffhandSlot": 0,
        "Ability": "Root_NPC_Hedera_Scream",
        "AttackDistanceRange": [
          0,
          8
        ],
        "PostExecuteDistanceRange": [
          2,
          2.4
        ],
        "ChargeFor": 1,
        "WeightCoefficient": 1.25,
        "Conditions": [
          {
            "Type": "TimeSinceLastUsed",
            "Curve": {
              "Type": "Switch",
              "SwitchPoint": 20
            }
          },
          {
            "Type": "TargetDistance",
            "Curve": {
              "ResponseCurve": "SimpleDescendingLogistic",
              "XRange": [
                0,
                8
              ]
            }
          }
        ]
      },
      "Summon": {
        "Type": "Ability",
        "Description": "Summons minions to assist in combat",
        "Target": "Hostile",
        "OffhandSlot": 0,
        "Ability": "Root_NPC_Hedera_Summon",
        "AttackDistanceRange": [
          5,
          20
        ],
        "PostExecuteDistanceRange": [
          6,
          10
        ],
        "ChargeFor": 1,
        "WeightCoefficient": 1.25,
        "Conditions": [
          {
            "Type": "TimeSinceLastUsed",
            "Curve": {
              "Type": "Switch",
              "SwitchPoint": 20
            }
          },
          {
            "Type": "OwnStatPercent",
            "Stat": "Health",
            "Curve": "ReverseLinear"
          }
        ]
      }
    },
    "ActionSets": {
      "Default": {
        "BasicAttacks": {
          "Attacks": [
            "Root_NPC_Hedera_BasicAttacks"
          ],
          "InteractionVars": {
            "Swing_Left_Damage": {
              "Interactions": [
                {
                  "Parent": "Hedera_Swing_Left_Damage",
                  "DamageCalculator": {
                    "Type": "Absolute",
                    "BaseDamage": {
                      "Physical": 31
                    },
                    "RandomPercentageModifier": 0
                  },
                  "DamageEffects": {
                    "WorldSoundEventId": "SFX_Sword_T2_Impact",
                    "LocalSoundEventId": "SFX_Sword_T2_Impact"
                  }
                }
              ]
            },
            "Swing_Right_Damage": {
              "Interactions": [
                {
                  "Parent": "Hedera_Swing_Right_Damage",
                  "DamageCalculator": {
                    "Type": "Absolute",
                    "BaseDamage": {
                      "Physical": 31
                    },
                    "RandomPercentageModifier": 0
                  },
                  "DamageEffects": {
                    "WorldSoundEventId": "SFX_Sword_T2_Impact",
                    "LocalSoundEventId": "SFX_Sword_T2_Impact"
                  }
                }
              ]
            }
          },
          "Randomise": false,
          "UseProjectedDistance": true,
          "MaxRange": 2.5,
          "Timeout": 0.001,
          "CooldownRange": [
            0.001,
            0.001
          ]
        },
        "Actions": [
          "VineBlock",
          "Scream",
          "BackOff"
        ]
      },
      "Strafe": {
        "BasicAttacks": {
          "Attacks": [
            "Root_NPC_Hedera_BasicAttacks"
          ],
          "InteractionVars": {
            "Swing_Left_Damage": {
              "Interactions": [
                {
                  "Parent": "Hedera_Swing_Left_Damage",
                  "DamageCalculator": {
                    "Type": "Absolute",
                    "BaseDamage": {
                      "Physical": 10
                    },
                    "RandomPercentageModifier": 0
                  },
                  "DamageEffects": {
                    "WorldSoundEventId": "SFX_Sword_T2_Impact",
                    "LocalSoundEventId": "SFX_Sword_T2_Impact"
                  }
                }
              ]
            },
            "Swing_Right_Damage": {
              "Interactions": [
                {
                  "Parent": "Hedera_Swing_Right_Damage",
                  "DamageCalculator": {
                    "Type": "Absolute",
                    "BaseDamage": {
                      "Physical": 15
                    },
                    "RandomPercentageModifier": 0
                  },
                  "DamageEffects": {
                    "WorldSoundEventId": "SFX_Sword_T2_Impact",
                    "LocalSoundEventId": "SFX_Sword_T2_Impact"
                  }
                }
              ]
            }
          },
          "Randomise": false,
          "UseProjectedDistance": true,
          "MaxRange": 2.5,
          "Timeout": 0.001,
          "CooldownRange": [
            0.001,
            0.001
          ]
        },
        "Actions": [
          "VineBlock",
          "Scream",
          "Summon",
          "Default"
        ]
      }
    }
  }
}