Hytale Asset ReferenceUnofficial
Versions / 0.6.0-pre.8.1 / NPC / Roles / Undead / Cow_Undead.json

Cow_Undead

Server/NPC/Roles/Undead/Cow_Undead.json, 1.5 KB

Fields

FieldType
Typestring
Referencestring
Modifyobject
Parametersobject

Source

{
  "Type": "Variant",
  "Reference": "Template_Predator",
  "Modify": {
    "Appearance": "Cow_Undead",
    "WanderRadius": 6,
    "ViewRange": 12,
    "HearingRange": 8,
    "DropList": "Drop_Cow_Undead",
    "MaxSpeed": 10,
    "Attack": "Root_NPC_Attack_Melee",
    "AlwaysSleepAtNight": false,
    "MaxHealth": 124,
    "IsMemory": true,
    "MemoriesCategory": "Undead",
    "_InteractionVars": {
      "Melee_Start": {
        "Interactions": [
          {
            "Parent": "NPC_Attack_Melee_Simple",
            "$Comment": "Sets animations and delay before hit",
            "Effects": {
              "ItemPlayerAnimationsId": "Hound_Bleached_Default",
              "ItemAnimationId": "Bite"
            },
            "RunTime": 0.333
          }
        ]
      },
      "Melee_Damage": {
        "Interactions": [
          {
            "$Comment": "When NPC overrides the InteractionVars, this info in Template not applicable anymore",
            "Parent": "NPC_Attack_Melee_Damage",
            "DamageCalculator": {
              "Type": "Absolute",
              "BaseDamage": {
                "Physical": 35
              },
              "RandomPercentageModifier": 0.1
            }
          }
        ]
      }
    },
    "NameTranslationKey": {
      "Compute": "NameTranslationKey"
    }
  },
  "Parameters": {
    "NameTranslationKey": {
      "Value": "server.npcRoles.Cow_Undead.name",
      "Description": "Translation key for NPC name display"
    }
  }
}