Test_Entity_Effect
Server/NPC/Roles/_Core/Tests/Combat/Test_Entity_Effect.json, 1.4 KB
Fields
| Field | Type |
|---|---|
Type | string |
Appearance | string |
MotionControllerList | array[1] |
CombatConfig | object |
TestType | string |
MaxHealth | object |
Parameters | object |
Instructions | array[1] |
NameTranslationKey | string |
Source
{
"Type": "Generic",
"Appearance": "Sheep",
"MotionControllerList": [
{
"Type": "Walk",
"MaxWalkSpeed": 3,
"Gravity": 10,
"MaxFallSpeed": 20,
"Acceleration": 10
}
],
"CombatConfig": {
"EntityEffects": [
{
"Infinite": true,
"ApplicationEffects": {
"EntityBottomTint": "#80ecff",
"ModelVFXId": "Freeze",
"ScreenEffect": "ScreenEffects/Snow.png",
"Particles": [
{
"SystemId": "Effect_Snow"
},
{
"SystemId": "Effect_Snow_Impact"
}
],
"EntityTopTint": "#da72ff"
},
"DamageResistance": {
"Projectile": [
{
"Amount": 0.5,
"CalculationType": "Percent"
}
]
}
}
]
},
"TestType": "Normal",
"MaxHealth": { "Compute": "MaxHealth" },
"Parameters": {
"MaxHealth": {
"Value": 100,
"Description": "Max health for the NPC"
}
},
"Instructions": [
{
"Continue": true,
"Instructions": [
{
"Sensor": {
"Type": "Player",
"Range": 30
},
"HeadMotion": {
"Type": "Watch"
}
}
]
}
],
"NameTranslationKey": "server.npcRoles.Test_Entity_Effect.name"
}