CAE_Test_Combat_Absolute_Stat
Server/NPC/Balancing/CAE_Test_Combat_Absolute_Stat.json, 2.4 KB
Fields
| Field | Type |
|---|---|
Type | string |
TargetMemoryDuration | number |
CombatActionEvaluator | object |
Source
{
"Type": "CombatActionEvaluator",
"TargetMemoryDuration": 10,
"CombatActionEvaluator": {
"RunConditions": [
{
"Type": "TimeSinceLastUsed",
"Curve": {
"ResponseCurve": "Linear",
"XRange": [
0,
5
]
}
},
{
"Type": "Randomiser",
"MinValue": 0.9,
"MaxValue": 1
}
],
"MinRunUtility": 0.5,
"MinActionUtility": 0.01,
"AvailableActions": {
"MeleeAttack": {
"Type": "Ability",
"Description": "Use melee attack",
"Target": "Hostile",
"WeaponSlot": 0,
"AttackDistanceRange": [
2,
2
],
"Ability": "Sword_Swing_Left_Fast",
"SubState": "Default",
"InteractionVars": {
"Sword_Swing_Left_Fast_Damage": {
"Interactions": [
{
"Parent": "Sword_Swing_Left_Fast_Damage",
"DamageCalculator": {
"Type": "Absolute",
"BaseDamage": {
"Physical": 30
},
"RandomPercentageModifier": 0
},
"DamageEffects": {
"WorldSoundEventId": "SFX_Sword_T2_Impact",
"LocalSoundEventId": "SFX_Sword_T2_Impact"
}
}
]
}
},
"Conditions": [
{
"Type": "TargetStatAbsolute",
"Stat": "Health",
"Curve": {
"Type": "Switch",
"SwitchPoint": 50
}
},
{
"Type": "OwnStatAbsolute",
"Stat": "Health",
"Curve": {
"Type": "Switch",
"SwitchPoint": 90
}
}
]
},
"SelfHeal": {
"Type": "Ability",
"Description": "Heal self",
"Target": "Self",
"AttackDistanceRange": [
1,
1
],
"Ability": "Test_Heal",
"WeightCoefficient": 1.2,
"Conditions": [
{
"Type": "KnownTargetCount",
"TargetType": "Friendly",
"Curve": {
"Type": "Switch",
"SwitchPoint": 2
}
}
]
}
},
"ActionSets": {
"Default": {
"Actions": [
"MeleeAttack",
"SelfHeal"
]
}
}
}
}