Hytale Asset ReferenceUnofficial
Versions / 0.6.0-pre.1.1 / Item / Interactions / NPCs / Beast / Wolf / Wolf_Bite.json

Wolf_Bite

Server/Item/Interactions/NPCs/Beast/Wolf/Wolf_Bite.json, 1006 B

Fields

FieldType
Typestring
Effectsobject
$Commentstring
RunTimenumber
Nextobject

Source

{
  "Type": "Simple",
  "Effects": {
    "ItemPlayerAnimationsId": "Wolf_Black_Default",
    "ItemAnimationId": "Bite"
  },
  "$Comment": "Prepare Delay",
  "RunTime": 0.167,
  "Next": {
    "Type": "Selector",
    "Effects": {
      "WorldSoundEventId": "SFX_NPC_Unarmed_Swing"
    },
    "$Comment": "Length of Combat",
    "RunTime": 0.167,
    "Selector": {
      "Id": "Horizontal",
      "Direction": "ToLeft",
      "TestLineOfSight": true,
      "ExtendTop": 0.5,
      "ExtendBottom": 0.5,
      "StartDistance": 0.5,
      "EndDistance": 2,
      "Length": 30,
      "RollOffset": 90,
      "YawStartOffset": -15
    },
    "HitEntity": {
      "Interactions": [
        {
          "Type": "Replace",
          "DefaultValue": {
            "Interactions": [
              "Wolf_Bite_Damage"
            ]
          },
          "Var": "Bite_Damage"
        }
      ]
    },
    "Next": {
      "Type": "Simple",
      "$Comment": "Pad the interaction length",
      "RunTime": 0.167
    }
  }
}