Hytale Asset ReferenceUnofficial
Versions / 0.6.0-pre.2 / NPC / Roles / _Core / Tests / Combat / Test_Entity_Effect.json

Test_Entity_Effect

Server/NPC/Roles/_Core/Tests/Combat/Test_Entity_Effect.json, 1.4 KB

Fields

FieldType
Typestring
Appearancestring
MotionControllerListarray[1]
CombatConfigobject
TestTypestring
MaxHealthobject
Parametersobject
Instructionsarray[1]
NameTranslationKeystring

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"
}