Home · skill · Shield_OrbitWater_P

Your Final Combo Attacks and [AttackBlock]s grant you a stack of Water Infusion.
At ::ref1_stacks:: stacks, your next [AttackBlock] is empowered, dealing 250% Faith to nearby enemies.

Properties

status
Done
type
WeaponPassive
nature
Passive

Referenced by

Raw data
{
  "status": "Done",
  "gfx": {
    "file": "UI/icons/atlas_weapon_Shield_96PX.png",
    "size": 48,
    "x": 14,
    "y": 0,
    "width": 2,
    "height": 2
  },
  "id": "Shield_OrbitWater_P",
  "type": "WeaponPassive",
  "nature": "Passive",
  "texts": {
    "name": "Shell of the Devourer",
    "desc": "Your [ComboAttack]s and [AttackBlock]s grant you a stack of ::ref_name::.\nAt ::ref1_stacks:: stacks, your next [AttackBlock] is empowered, dealing ::ref2_dmg:: to nearby enemies.",
    "refs": {
      "ref": "Shield_OrbitWater_P_Status",
      "ref2": "Shield_OrbitWater_P_StatusBlockBuffed",
      "ref3": "Shield_OrbitWater_S1"
    },
    "rankDescs": [
      {
        "rank": 2,
        "desc": "Requires ::ref1_stacks:: stacks.",
        "flags": 1
      },
      {
        "rank": 3,
        "desc": "When this deals damage, it reduces the cooldown of ::ref3_name:: by ::dur1::.",
        "flags": 0
      }
    ]
  },
  "anim": {},
  "steps": [],
  "flags": [],
  "mastery": [],
  "props": {
    "rankOverride": [
      {
        "minRank": 2,
        "props": {
          "cooldown": 35
        }
      }
    ]
  },
  "vars": {
    "var1": 2,
    "dur1": 5
  },
  "script": "function onGameBeat(b, hit) {\n\tif( b == GameBeat.AttackBlock ) {\n\t\t// Wait next frame so block doesn't trigger the block status.\n\t\tif( !hasStatus(owner, Skill.Shield_OrbitWater_P_StatusBlockBuffed) ) {\n\t\t\twait(0, () -> {\n\t\t\t\taddWaterInfusion();\n\t\t\t});\n\t\t}\n\t}\n}\n\nfunction onInflictHit(hit) {\n\tif( hit.isFinalCombo && hit.isFirstHit) {\n\t\taddWaterInfusion();\n\t}\n}\n\nfunction addWaterInfusion() {\n\tif( !hasStatus(owner, Skill.Shield_OrbitWater_P_StatusBlockBuffed) ) {\n\t\taddStatus(owner, Skill.Shield_OrbitWater_P_Status);\n\t}\n}\n\nfunction onInflictDamage(dmg) {\n\tif( dmg.hitCount == 1 && dmg.skillId == Skill.Shield_OrbitWater_P_StatusBlockBuffed ) {\n\t\treduceCooldown(Skill.Shield_OrbitWater_S1, vars.dur1);\n\t}\n}",
  "_xrefs": [
    {
      "from_sheet": "item",
      "from_id": "Shield_OrbitWater",
      "via_field": "skills"
    }
  ]
}