Hytale Asset ReferenceUnofficial
Versions / 0.6.0-pre.9.1 / NPC / Balancing / CAE_Test_Combat_Action_Evaluator_Entity_Effect.json

CAE_Test_Combat_Action_Evaluator_Entity_Effect

Server/NPC/Balancing/CAE_Test_Combat_Action_Evaluator_Entity_Effect.json, 6.6 KB

Fields

FieldType
Typestring
TargetMemoryDurationnumber
CombatActionEvaluatorobject

Source

{
  "Type": "CombatActionEvaluator",
  "TargetMemoryDuration": 10,
  "CombatActionEvaluator": {
    "RunConditions": [
      {
        "Type": "TimeSinceLastUsed",
        "Curve": {
          "ResponseCurve": "Linear",
          "XRange": [
            0,
            4
          ]
        }
      },
      {
        "Type": "Randomiser",
        "MinValue": 0.9,
        "MaxValue": 1
      }
    ],
    "MinRunUtility": 0.5,
    "MinActionUtility": 0.01,
    "AvailableActions": {
      "Default": {
        "Type": "State",
        "Description": "Change to the Default state",
        "State": "Combat",
        "SubState": "Default",
        "PostExecuteDistanceRange": [
          2.25,
          2.25
        ],
        "Target": "Hostile",
        "WeightCoefficient": 1.25,
        "Conditions": [
          {
            "Type": "TargetDistance",
            "Curve": {
              "ResponseCurve": "SimpleDescendingLogistic",
              "XRange": [
                0,
                10
              ]
            }
          },
          {
            "Type": "Randomiser",
            "MinValue": 0.9,
            "MaxValue": 1
          },
          {
            "Type": "TimeSinceLastUsed",
            "Curve": {
              "Type": "Switch",
              "SwitchPoint": 10
            }
          }
        ]
      },
      "SwordCharged": {
        "Type": "Ability",
        "Description": "Use signature attack",
        "Target": "Hostile",
        "WeaponSlot": 0,
        "SubState": "Default",
        "AttackDistanceRange": [
          3,
          4
        ],
        "PostExecuteDistanceRange": [
          2.25,
          2.25
        ],
        "Ability": {
          "Interactions": [
            {
              "Type": "StatsCondition",
              "Costs": {
                "SignatureEnergy": 0
              },
              "ValueType": "Percent",
              "Next": {
                "Type": "ApplyEffect",
                "EffectId": {
                  "StatModifiers": {
                    "SignatureEnergy": 0
                  },
                  "ValueType": "Percent"
                },
                "Next": "Sword_Spin_Right_Stab_Dash"
              }
            }
          ]
        },
        "InteractionVars": {
          "Sword_Stab_Dash_Charged_Effect": {
            "Interactions": [
              {
                "Parent": "Sword_Stab_Dash_Charged_Effect",
                "Effects": {
                  "WorldSoundEventId": "SFX_Light_Melee_T2_Swing",
                  "LocalSoundEventId": "SFX_Sword_T2_Swing_LR_Local"
                }
              }
            ]
          },
          "Sword_Stab_Dash_Charged_Damage": {
            "Interactions": [
              {
                "Parent": "Sword_Stab_Dash_Charged_Damage",
                "DamageCalculator": {
                  "BaseDamage": {
                    "Physical": 12
                  },
                  "Type": "Absolute",
                  "RandomPercentageModifier": 0
                },
                "DamageEffects": {
                  "WorldSoundEventId": "SFX_Sword_T2_Impact"
                }
              }
            ]
          },
          "Sword_Spin_Right_Stab_Dash_Effect": {
            "Interactions": [
              {
                "Parent": "Sword_Spin_Right_Stab_Dash_Effect"
              }
            ]
          },
          "Sword_Spin_Right_Stab_Dash_Effect2": {
            "Interactions": [
              {
                "Parent": "Sword_Spin_Right_Stab_Dash_Effect2"
              }
            ]
          },
          "Sword_Spin_Right_Stab_Dash_Effect3": {
            "Interactions": [
              {
                "Parent": "Sword_Spin_Right_Stab_Dash_Effect3"
              }
            ]
          },
          "Sword_Spin_Right_Stab_Dash_Damage": {
            "Interactions": [
              {
                "Parent": "Sword_Spin_Right_Stab_Dash_Damage",
                "DamageCalculator": {
                  "BaseDamage": {
                    "Physical": 8
                  },
                  "Type": "Absolute"
                },
                "DamageEffects": {
                  "WorldSoundEventId": "SFX_Sword_T2_Impact",
                  "LocalSoundEventId": "SFX_Sword_T2_Impact"
                }
              }
            ]
          },
          "Sword_Spin_Right_Stab_Dash_Damage2": {
            "Interactions": [
              {
                "Parent": "Sword_Spin_Right_Stab_Dash_Damage2",
                "DamageCalculator": {
                  "BaseDamage": {
                    "Physical": 8
                  },
                  "Type": "Absolute"
                },
                "DamageEffects": {
                  "WorldSoundEventId": "SFX_Sword_T2_Impact",
                  "LocalSoundEventId": "SFX_Sword_T2_Impact"
                }
              }
            ]
          },
          "Sword_Spin_Right_Stab_Dash_Damage3": {
            "Interactions": [
              {
                "Parent": "Sword_Spin_Right_Stab_Dash_Damage3",
                "DamageCalculator": {
                  "BaseDamage": {
                    "Physical": 16
                  },
                  "Type": "Absolute"
                },
                "DamageEffects": {
                  "WorldSoundEventId": "SFX_Sword_T2_Impact",
                  "LocalSoundEventId": "SFX_Sword_T2_Impact"
                }
              }
            ]
          }
        },
        "Conditions": [
          {
            "Type": "SelfHasEffect",
            "EffectId": "Flame_Staff_Burn"
          }
        ]
      }
    },
    "ActionSets": {
      "Default": {
        "BasicAttacks": {
          "Attacks": [
            "Sword_Attack"
          ],
          "InteractionVars": {
            "MeleeDamage": {
              "Interactions": [
                {
                  "Parent": "Sword_Swing_Down_Strong_Damage",
                  "DamageCalculator": {
                    "Type": "Absolute",
                    "BaseDamage": {
                      "Physical": 9
                    },
                    "RandomPercentageModifier": 0
                  },
                  "DamageEffects": {
                    "WorldSoundEventId": "SFX_Sword_T2_Impact",
                    "LocalSoundEventId": "SFX_Sword_T2_Impact"
                  }
                }
              ]
            }
          },
          "Randomise": false,
          "UseProjectedDistance": true,
          "MaxRange": 3,
          "Timeout": 0.001,
          "CooldownRange": [
            0.001,
            0.001
          ]
        },
        "Actions": [
          "Default",
          "SwordCharged"
        ]
      }
    }
  }
}