Snake_Cobra
Server/NPC/Roles/Creature/Vermin/Snake_Cobra.json, 1.2 KB
Fields
| Field | Type |
|---|---|
Type | string |
Reference | string |
Modify | object |
Parameters | object |
Source
{
"Type": "Variant",
"Reference": "Snake_Marsh",
"Modify": {
"Appearance": "Snake_Cobra",
"DropList": "Drop_Snake_Cobra",
"MaxHealth": 74,
"_InteractionVars": {
"Melee_Start": {
"Interactions": [
{
"Parent": "Snake_Bite",
"$Comment": "Sets animations and delay before hit",
"Effects": {
"ItemPlayerAnimationsId": "Snake_Marsh_Default",
"ItemAnimationId": "Bite"
},
"RunTime": 0.25
}
]
},
"Bite_Damage": {
"Interactions": [
{
"Parent": "Snake_Bite_Damage",
"DamageCalculator": {
"Type": "Absolute",
"BaseDamage": {
"Physical": 29
},
"RandomPercentageModifier": 0.1
},
"DamageEffects": {
"Knockback": {
"Force": 1
}
}
}
]
}
},
"NameTranslationKey": {
"Compute": "NameTranslationKey"
}
},
"Parameters": {
"NameTranslationKey": {
"Value": "server.npcRoles.Snake_Cobra.name",
"Description": "Translation key for NPC name display"
}
}
}