FareverDB

Depth Shield

Shield_OrbitWater_S1_OrbStatus in Skills

When an enemy is nearby, the bubble consumes a charge to pulse, dealing 55% Faith Magic to enemies and healing allies for 30% Faith Magic.

id
Shield_OrbitWater_S1_OrbStatus
flags
0
nature
4
script
function onHit(hit) { if( hit.stepId == Steps.Orb ) { consumeStatus(owner, Skill.Shield_OrbitWater_S1_OrbStatus); if( hasStatus(owner, Skill.Shield_OrbitWater_S1_OrbStatus) ) { playStep(Steps.Area); } else { var ctx = playStep(Steps.LastOrbArea); if (rank >= 3) { ctx.dmgMult += 1; } } } } function onDamage(dmg) { if( rank >= 3 && dmg.stepId == Steps.LastOrbArea ) { addStatusDuration(dmg.target, Skill.Stun, vars.dur1); } }
status
2
duration
20
Raw data
{
  "id": "Shield_OrbitWater_S1_OrbStatus",
  "gfx": {
    "x": 12,
    "y": 0,
    "file": "UI/icons/atlas_weapon_Shield_96PX.png",
    "size": 48,
    "width": 2,
    "height": 2
  },
  "anim": {},
  "vars": {
    "dur1": 1,
    "var1": 1,
    "range": 4
  },
  "flags": 0,
  "props": {
    "status": {
      "types": [
        {
          "type": "Buff"
        }
      ],
      "maxStacks": 3
    },
    "rankOverride": [
      {
        "props": {
          "maxStacks": 4
        },
        "minRank": 2
      }
    ]
  },
  "steps": [
    {
      "id": "Orb",
      "on": 0,
      "type": 4,
      "props": {
        "area": {
          "follow": 1,
          "tickCooldown": 0.4,
          "targetCooldown": 0.5
        },
        "loop": {
          "tick": 0.1
        },
        "hitCount": 1
      },
      "range": "range",
      "duration": -1
    },
    {
      "on": 0,
      "type": 11,
      "props": {},
      "visuals": {
        "fxs": [
          {
            "set": "Water_Aura",
            "flags": 13,
            "props": {},
            "space": 2
          },
          {
            "set": "Water_Bubble",
            "flags": 8,
            "props": {
              "offset": {
                "x": 0,
                "y": 0,
                "z": 0.8,
                "height": 0
              }
            },
            "space": 0,
            "attachName": "Socket_Head"
          }
        ]
      },
      "duration": -1
    },
    {
      "id": "Area",
      "on": 13,
      "type": 4,
      "props": {
        "area": {
          "hitFilter": 7
        }
      },
      "range": "range",
      "effects": [
        {
          "flags": 0,
          "effect": 0,
          "baseVal": 0,
          "scaling": [
            {
              "atb": "Faith",
              "ratio": 0.55
            }
          ],
          "affinity": "Magic",
          "alignment": 4
        },
        {
          "flags": 0,
          "effect": 1,
          "baseVal": 0,
          "scaling": [
            {
              "atb": "Faith",
              "ratio": 0.3
            }
          ],
          "affinity": "Magic",
          "alignment": 3
        }
      ],
      "visuals": {
        "fxs": [
          {
            "set": "Water_Ally_AOE_Unit",
            "flags": 16,
            "props": {},
            "space": 0,
            "attachName": "Socket_Torso"
          },
          {
            "set": "Hit_Water",
            "props": {
              "offset": {
                "x": 0,
                "y": 0,
                "z": 0.8,
                "height": 0
              }
            },
            "scale": 0.75,
            "space": 0,
            "attachName": "Socket_Head"
          }
        ]
      }
    },
    {
      "id": "LastOrbArea",
      "on": 13,
      "type": 4,
      "props": {
        "area": {
          "hitFilter": 7
        }
      },
      "range": "range",
      "effects": [
        {
          "flags": 0,
          "effect": 0,
          "baseVal": 0,
          "scaling": [
            {
              "atb": "Faith",
              "ratio": 0.45
            }
          ],
          "affinity": "Magic",
          "alignment": 4
        },
        {
          "flags": 0,
          "effect": 1,
          "baseVal": 0,
          "scaling": [
            {
              "atb": "Faith",
              "ratio": 0.3
            }
          ],
          "affinity": "Magic",
          "alignment": 3
        }
      ],
      "visuals": {
        "fxs": [
          {
            "set": "Water_Ally_AOE_Unit",
            "flags": 16,
            "props": {},
            "space": 0,
            "attachName": "Socket_Torso"
          },
          {
            "set": "Hit_Water",
            "props": {
              "offset": {
                "x": 0,
                "y": 0,
                "z": 1,
                "height": 0
              }
            },
            "scale": 0.75,
            "space": 0,
            "attachName": "Socket_Head"
          }
        ]
      }
    }
  ],
  "texts": {
    "desc": "When an enemy is nearby, the bubble consumes a charge to pulse, dealing ::dmg:: to enemies and healing allies for ::heal::.",
    "name": "Depth Shield"
  },
  "nature": 4,
  "script": "function onHit(hit) {\n\tif( hit.stepId == Steps.Orb ) {\n\t\tconsumeStatus(owner, Skill.Shield_OrbitWater_S1_OrbStatus);\n\n\t\tif( hasStatus(owner, Skill.Shield_OrbitWater_S1_OrbStatus) ) {\n\t\t\tplayStep(Steps.Area);\n\t\t} else {\n\t\t\tvar ctx = playStep(Steps.LastOrbArea);\n\t\t\tif (rank >= 3) {\n\t\t\t\tctx.dmgMult += 1;\n\t\t\t}\n\t\t}\n\t}\n}\n\nfunction onDamage(dmg) {\n\tif( rank >= 3 && dmg.stepId == Steps.LastOrbArea ) {\n\t\taddStatusDuration(dmg.target, Skill.Stun, vars.dur1);\n\t}\n}",
  "status": 2,
  "mastery": [],
  "duration": 20
}