Hytale Asset ReferenceUnofficial
Versions / 0.6.0-pre.1.1 / Item / Interactions / Weapons / Crossbow / Primary / Weapon_Crossbow_Primary_Combo_Condition.json

Weapon_Crossbow_Primary_Combo_Condition

Server/Item/Interactions/Weapons/Crossbow/Primary/Weapon_Crossbow_Primary_Combo_Condition.json, 1.1 KB

Fields

FieldType
Typestring
EntityEffectIdsarray[1]
Matchstring
Entitystring
Nextobject
Failedobject

Source

{
  "Type": "EffectCondition",
  "EntityEffectIds": [
    "Crossbow_Combo_2"
  ],
  "Match": "All",
  "Entity": "Target",
  "Next": {
    "Type": "Replace",
    "Var": "Combo_Projectile_Damage",
    "DefaultValue": {
      "Interactions": [
        "Weapon_Crossbow_Damage_Combo_Projectile"
      ]
    }
  }, 
  "Failed": {
    "Type": "EffectCondition",
    "EntityEffectIds": [
      "Crossbow_Combo_1"
    ],
    "Match": "All",
    "Entity": "Target",
    "Next": {
      "Type": "ApplyEffect",
      "Entity": "Target",
      "EffectId": "Crossbow_Combo_2",
      "Next": {
        "Type": "Replace",
        "Var": "Standard_Projectile_Damage",
        "DefaultValue": {
          "Interactions": [
            "Weapon_Crossbow_Damage_Standard_Projectile"
          ]
        }
      }
    },
    "Failed": {
      "Type": "ApplyEffect",
      "Entity": "Target",
      "EffectId": "Crossbow_Combo_1",
      "Next": {
        "Type": "Replace",
        "Var": "Standard_Projectile_Damage",
        "DefaultValue": {
          "Interactions": [
            "Weapon_Crossbow_Damage_Standard_Projectile"
          ]
        }
      }
    }
  }
}