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

CAE_Skeleton_Praetorian

Server/NPC/Balancing/Intelligent/CAE_Skeleton_Praetorian.json, 11.4 KB

Fields

FieldType
Typestring
EntityEffectsarray[1]
TargetMemoryDurationnumber
CombatActionEvaluatorobject

Source

{
  "Type": "CombatActionEvaluator",
  "EntityEffects": ["Immunity_Fire"],
  "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.25,
          3.4
        ],
        "Target": "Hostile",
        "WeightCoefficient": 1.25,
        "Conditions": [
          {
            "Type": "Randomiser",
            "MinValue": 0.9,
            "MaxValue": 1
          },
          {
            "Type": "TimeSinceLastUsed",
            "Curve": {
              "Type": "Switch",
              "SwitchPoint": 10
            }
          },
          {
            "Type": "NearbyCount",
            "NPCGroup": "Skeleton",
            "Range": 8,
            "Curve": {
              "Type": "Switch",
              "InitialState": 1,
              "FinalState": 0,
              "SwitchPoint": 1
            }
          },
          {
            "Type": "TargetStatPercent",
            "Stat": "Stamina",
            "Curve": "InverseExponential"
          },
          {
            "Type": "TargetDistance",
            "Curve": {
              "ResponseCurve": "SimpleDescendingLogistic",
              "XRange": [
                0,
                10
              ]
            }
          }
        ]
      },
      "ShieldBlock": {
        "Type": "Ability",
        "Description": "Block with the sword",
        "Target": "Hostile",
        "AbilityType": "Secondary",
        "OffhandSlot": 0,
        "AttackDistanceRange": [
          0.5,
          10
        ],
        "PostExecuteDistanceRange": [
          1.5,
          2
        ],
        "Ability": "Root_NPC_Shield_Block",
        "SubState": "Default",
        "ChargeFor": 2,
        "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": "RecentSustainedDamage",
            "Curve": {
              "ResponseCurve": "InverseExponential",
              "XRange": [
                0,
                3
              ]
            }
          },
          {
            "Type": "Randomiser",
            "MinValue": 0.6,
            "MaxValue": 1
          },
          {
            "Type": "TimeSinceLastUsed",
            "Curve": {
              "Type": "Switch",
              "SwitchPoint": 10
            }
          }
        ]
      },
      "Charge": {
        "Type": "Ability",
        "Description": "Charges towards the target",
        "Target": "Hostile",
        "SubState": "Default",
        "OffhandSlot": 0,
        "Ability": {
          "Interactions": [
            {
              "Type": "StatsCondition",
              "Costs": {
                "Stamina": 5
              },
              "Next": "Skeleton_Burnt_Praetorian_Charge"
            }
          ]
        },
        "AttackDistanceRange": [
          5,
          15
        ],
        "PostExecuteDistanceRange": [
          3,
          3
        ],
        "ChargeFor": 1,
        "WeightCoefficient": 1.25,
        "Conditions": [
          {
            "Type": "TimeSinceLastUsed",
            "Curve": {
              "Type": "Switch",
              "SwitchPoint": 20
            }
          },
          {
            "Type": "TargetDistance",
            "Curve": {
              "ResponseCurve": "Linear",
              "XRange": [
                1,
                10
              ]
            }
          }
        ],
        "InteractionVars": {
          "Charge_Damage": {
            "Interactions": [
              {
                "Parent": "Skeleton_Burnt_Praetorian_Charge_Damage",
                "DamageCalculator": {
                  "Type": "Absolute",
                  "BaseDamage": {
                    "Physical": 35
                  },
                  "RandomPercentageModifier": 0
                },
                "DamageEffects": {
                  "WorldSoundEventId": "SFX_Sword_T2_Impact",
                  "LocalSoundEventId": "SFX_Sword_T2_Impact"
                }
              }
            ]
          },
          "Charge_Effect": {
            "Interactions": [
              {
                "Parent": "Skeleton_Burnt_Praetorian_Charge_Effect"
              }
            ]
          }
        }
      },
      "Summon": {
        "Type": "Ability",
        "Description": "Summons minions to assist in combat",
        "Target": "Hostile",
        "OffhandSlot": 0,
        "Ability": "Root_NPC_Skeleton_Burnt_Praetorian_Summon",
        "AttackDistanceRange": [
          5,
          20
        ],
        "PostExecuteDistanceRange": [
          6,
          10
        ],
        "ChargeFor": 1,
        "WeightCoefficient": 1.25,
        "Conditions": [
          {
            "Type": "TimeSinceLastUsed",
            "Curve": {
              "Type": "Switch",
              "SwitchPoint": 20
            }
          },
          {
            "Type": "OwnStatAbsolute",
            "Stat": "Health",
            "Curve": {
              "Type": "Switch",
              "InitialState": 1,
              "FinalState": 0,
              "SwitchPoint": 100
            }
          },
          {
            "Type": "NearbyCount",
            "NPCGroup": "Skeleton",
            "Range": 30,
            "Curve": {
              "Type": "Switch",
              "InitialState": 1,
              "FinalState": 0,
              "SwitchPoint": 1
            }
          }
        ]
      }
    },
    "ActionSets": {
      "Default": {
        "BasicAttacks": {
          "Attacks": [
            "Root_NPC_Skeleton_Burnt_Praetorian_Attack"
          ],
          "InteractionVars": {
            "Sword_Swing_Left_Damage": {
              "Interactions": [
                {
                  "Parent": "Skeleton_Burnt_Sword_Swing_Damage",
                  "DamageCalculator": {
                    "Type": "Absolute",
                    "BaseDamage": {
                      "Physical": 20
                    },
                    "RandomPercentageModifier": 0
                  },
                  "DamageEffects": {
                    "WorldSoundEventId": "SFX_Sword_T2_Impact",
                    "LocalSoundEventId": "SFX_Sword_T2_Impact"
                  }
                }
              ]
            },
            "Sword_Swing_Right_Damage": {
              "Interactions": [
                {
                  "Parent": "Skeleton_Burnt_Sword_Swing_Damage",
                  "DamageCalculator": {
                    "Type": "Absolute",
                    "BaseDamage": {
                      "Physical": 20
                    },
                    "RandomPercentageModifier": 0
                  },
                  "DamageEffects": {
                    "WorldSoundEventId": "SFX_Sword_T2_Impact",
                    "LocalSoundEventId": "SFX_Sword_T2_Impact"
                  }
                }
              ]
            },
            "Sword_Swing_Down_Damage": {
              "Interactions": [
                {
                  "Parent": "Skeleton_Burnt_Sword_Swing_Damage",
                  "DamageCalculator": {
                    "Type": "Absolute",
                    "BaseDamage": {
                      "Physical": 20
                    },
                    "RandomPercentageModifier": 0
                  },
                  "DamageEffects": {
                    "WorldSoundEventId": "SFX_Sword_T2_Impact",
                    "LocalSoundEventId": "SFX_Sword_T2_Impact"
                  }
                }
              ]
            }
          },
          "Randomise": false,
          "UseProjectedDistance": true,
          "MaxRange": 3.5,
          "Timeout": 0.001,
          "CooldownRange": [
            0.001,
            0.001
          ]
        },
        "Actions": [
          "ShieldBlock",
          "Charge",
          "BackOff"
        ]
      },
      "Strafe": {
        "BasicAttacks": {
          "Attacks": [
            "Root_NPC_Skeleton_Burnt_Praetorian_Attack"
          ],
          "InteractionVars": {
            "Sword_Swing_Left_Damage": {
              "Interactions": [
                {
                  "Parent": "Skeleton_Burnt_Sword_Swing_Damage",
                  "DamageCalculator": {
                    "Type": "Absolute",
                    "BaseDamage": {
                      "Physical": 15
                    },
                    "RandomPercentageModifier": 0
                  },
                  "DamageEffects": {
                    "WorldSoundEventId": "SFX_Sword_T2_Impact",
                    "LocalSoundEventId": "SFX_Sword_T2_Impact"
                  }
                }
              ]
            },
            "Sword_Swing_Right_Damage": {
              "Interactions": [
                {
                  "Parent": "Skeleton_Burnt_Sword_Swing_Damage",
                  "DamageCalculator": {
                    "Type": "Absolute",
                    "BaseDamage": {
                      "Physical": 15
                    },
                    "RandomPercentageModifier": 0
                  },
                  "DamageEffects": {
                    "WorldSoundEventId": "SFX_Sword_T2_Impact",
                    "LocalSoundEventId": "SFX_Sword_T2_Impact"
                  }
                }
              ]
            },
            "Sword_Swing_Down_Damage": {
              "Interactions": [
                {
                  "Parent": "Skeleton_Burnt_Sword_Swing_Damage",
                  "DamageCalculator": {
                    "Type": "Absolute",
                    "BaseDamage": {
                      "Physical": 20
                    },
                    "RandomPercentageModifier": 0
                  },
                  "DamageEffects": {
                    "WorldSoundEventId": "SFX_Sword_T2_Impact",
                    "LocalSoundEventId": "SFX_Sword_T2_Impact"
                  }
                }
              ]
            }
          },
          "Randomise": false,
          "UseProjectedDistance": true,
          "MaxRange": 4,
          "Timeout": 0.001,
          "CooldownRange": [
            0.001,
            0.001
          ]
        },
        "Actions": [
          "ShieldBlock",
          "Charge",
          "Summon",
          "Default"
        ]
      }
    }
  }
}