Home · skill · Shield_OrbitWater_S1_OrbStatus
Properties
- status
- Done
- nature
- Status
- duration
- 20
- steps
Raw data
{
"status": "Done",
"gfx": {
"file": "UI/icons/atlas_weapon_Shield_96PX.png",
"size": 48,
"x": 12,
"y": 0,
"width": 2,
"height": 2
},
"id": "Shield_OrbitWater_S1_OrbStatus",
"nature": "Status",
"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"
},
"anim": {},
"duration": 20,
"steps": [
{
"on": 0,
"props": {
"area": {
"follow": 1,
"targetCooldown": 0.5,
"tickCooldown": 0.4
},
"loop": {
"tick": 0.1
},
"hitCount": 1
},
"type": 4,
"range": "range",
"duration": -1,
"id": "Orb"
},
{
"on": 0,
"props": {},
"type": 11,
"visuals": {
"fxs": [
{
"set": "Water_Aura",
"props": {},
"flags": 13,
"space": 2
},
{
"set": "Water_Bubble",
"props": {
"offset": {
"x": 0,
"y": 0,
"z": 0.8,
"height": 0
}
},
"space": 0,
"flags": 8,
"attachName": "Socket_Head"
}
]
},
"duration": -1
},
{
"on": 13,
"props": {
"area": {
"hitFilter": 7
}
},
"type": 4,
"range": "range",
"effects": [
{
"effect": 0,
"scaling": [
{
"ratio": 0.55,
"atb": "Faith"
}
],
"alignment": 4,
"affinity": "Magic",
"baseVal": 0,
"flags": 0
},
{
"effect": 1,
"scaling": [
{
"ratio": 0.3,
"atb": "Faith"
}
],
"alignment": 3,
"affinity": "Magic",
"baseVal": 0,
"flags": 0
}
],
"id": "Area",
"visuals": {
"fxs": [
{
"set": "Water_Ally_AOE_Unit",
"props": {},
"flags": 16,
"space": 0,
"attachName": "Socket_Torso"
},
{
"set": "Hit_Water",
"props": {
"offset": {
"x": 0,
"y": 0,
"z": 0.8,
"height": 0
}
},
"space": 0,
"scale": 0.75,
"attachName": "Socket_Head"
}
]
}
},
{
"on": 13,
"props": {
"area": {
"hitFilter": 7
}
},
"id": "LastOrbArea",
"type": 4,
"range": "range",
"effects": [
{
"effect": 0,
"scaling": [
{
"ratio": 0.45,
"atb": "Faith"
}
],
"alignment": 4,
"flags": 0,
"affinity": "Magic",
"baseVal": 0
},
{
"effect": 1,
"scaling": [
{
"ratio": 0.3,
"atb": "Faith"
}
],
"flags": 0,
"affinity": "Magic",
"alignment": 3,
"baseVal": 0
}
],
"visuals": {
"fxs": [
{
"set": "Water_Ally_AOE_Unit",
"props": {},
"flags": 16,
"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"
}
]
}
}
],
"flags": [],
"mastery": [],
"props": {
"status": {
"types": [
{
"type": "Buff"
}
],
"maxStacks": 3
},
"rankOverride": [
{
"minRank": 2,
"props": {
"maxStacks": 4
}
}
]
},
"vars": {
"range": 4,
"var1": 1,
"dur1": 1
},
"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}"
}