Hytale Asset ReferenceUnofficial
Versions / 0.5.6 / Item / Interactions / Weapons / Staff / Attacks / Staff_Cast_Summon_Charged.json

Staff_Cast_Summon_Charged

Server/Item/Interactions/Weapons/Staff/Attacks/Staff_Cast_Summon_Charged.json, 2.1 KB

Fields

FieldType
Typestring
$Commentstring
RunTimenumber
Nextobject
Failedobject

Source

{
  "Type": "Simple",
  "$Comment": "Prepare Delay",
  "RunTime": 0.167,
  "Next": {
    "Type": "Parallel",
    "$Comment": "Make sure this parallel interaction is needed and can't be optimized away",
    "Interactions": [
      {
        "Interactions": [
          {
            "Type": "Replace",
            "Var": "Staff_Cast_Summon_StaminaCost",
            "DefaultOk": true,
            "DefaultValue": {
              "Interactions": [
                {
                  "Type": "ChangeStat",
                  "StatModifiers": {
                    "Stamina": -5
                  }
                }
              ]
            }
          }
        ]
      },
      {
        "Interactions": [
          {
            "Type": "Replace",
            "Var": "Staff_Cast_Summon_StaminaRegenDelay",
            "DefaultOk": true,
            "DefaultValue": {
              "Interactions": [
                {
                  "Type": "ChangeStat",
                  "Behaviour": "Set",
                  "StatModifiers": {
                    "StaminaRegenDelay": -1.5
                  }
                }
              ]
            }
          }
        ]
      },
      {
        "Interactions": [
          {
            "Type": "Replace",
            "DefaultValue": {
              "Interactions": [
                "Staff_Cast_Cost"
              ]
            },
            "Var": "Staff_Cast_Summon_Cost"
          }
        ]
      },
      {
        "Interactions": [
          {
            "Type": "Replace",
            "DefaultValue": {
              "Interactions": [
                "Staff_Cast_Launch"
              ]
            },
            "Var": "Staff_Cast_Summon_Launch"
          }
        ]
      },
      {
        "Interactions": [
          {
            "Type": "Replace",
            "DefaultValue": {
              "Interactions": [
                "Staff_Cast_Effect"
              ]
            },
            "Var": "Staff_Cast_Summon_Effect"
          }
        ]
      }
    ]
  },
  "Failed": {
    "Type": "Replace",
    "DefaultValue": {
      "Interactions": [
        "Staff_Cast_Fail"
      ]
    },
    "Var": "Staff_Cast_Summon_Fail"
  }
}