Skip to main content
All skills

Castigate

AttackAttack

Casts four light bolts, each dealing 25% Intellect + 25% Faith (Light) to an enemy and 25% of this damage to nearby enemies.

cooldown
duration1.4s
steps13
Scaling
25% Intellect + 25% Faith· Light

References

Granted by

Raw data

type
AttackCombo
nature
Attack
duration
1.4s
steps
13
id
Staff_Censer_Combo
raw data
{
  "id": "Staff_Censer_Combo",
  "gfx": {
    "x": 0,
    "y": 4,
    "file": "UI/icons/atlas_weapon_Staff_96PX.png",
    "size": 48,
    "width": 2,
    "height": 2
  },
  "anim": {
    "ref": "AttackCombo",
    "blend": 0.1,
    "startFrame": 0
  },
  "type": 4,
  "vars": {
    "var1": 0.25
  },
  "flags": 0,
  "props": {
    "rankOverride": [
      {
        "vars": {
          "var1": 0.35
        },
        "minRank": 2
      }
    ]
  },
  "steps": [
    {
      "on": 0,
      "type": 3,
      "delay": 0,
      "props": {},
      "visuals": {
        "fxs": [
          {
            "set": "Light_Cast_Fast",
            "flags": 8,
            "props": {
              "offset": {
                "x": 0,
                "y": 0,
                "z": 1.7,
                "height": 0
              }
            },
            "scale": 1.5,
            "space": 0,
            "attachName": "Weapon"
          }
        ]
      },
      "duration": 1
    },
    {
      "on": 0,
      "type": 8,
      "delay": 0,
      "props": {
        "move": {
          "direction": [
            1
          ],
          "dashSmoothing": 1,
          "inputDirection": {
            "mode": 1,
            "relation": 0
          }
        }
      },
      "range": 0.2,
      "duration": 0.2
    },
    {
      "on": 0,
      "type": 8,
      "delay": 0.25,
      "props": {
        "move": {
          "direction": [
            0
          ],
          "dashSmoothing": 1,
          "inputDirection": {
            "mode": 1,
            "relation": 0
          }
        }
      },
      "range": 0.8,
      "duration": 0.7
    },
    {
      "on": 0,
      "type": 11,
      "props": {},
      "duration": 1.3
    },
    {
      "on": 0,
      "type": 11,
      "delay": 0.2,
      "props": {},
      "duration": 1.3
    },
    {
      "on": 7,
      "type": 11,
      "delay": -0.1,
      "props": {}
    },
    {
      "on": 7,
      "type": 8,
      "delay": -0.15,
      "props": {
        "move": {
          "flags": 256,
          "direction": [
            0
          ],
          "dashSmoothing": 1,
          "inputDirection": {
            "mode": 1,
            "relation": 0
          }
        }
      },
      "duration": 0.15
    },
    {
      "on": 7,
      "type": 7,
      "props": {
        "projectile": {
          "base": "MissileHoming",
          "scale": 0.7,
          "speed": 60,
          "offset": {
            "x": -2,
            "y": 0,
            "z": 0.5
          },
          "variant": 0,
          "generation": {
            "count": 4,
            "shape": [
              0,
              1,
              200,
              0
            ],
            "duration": 0.001,
            "stepLinked": false,
            "directionBias": 0.7
          },
          "activationDelay": 0,
          "followForceCurve": [
            0,
            0.05,
            -0.0696815181259521,
            0.00328855127511358,
            0.150638506267294,
            -0.00741987834428683,
            0.197214082271476,
            0.633970700207285,
            -0.0216951451160373,
            -0.054970425407597,
            0.0714875559025001,
            0.181132752894329,
            0.672836611005859,
            0.803681435562888,
            -0.253528042790105,
            -0.00484050876037789,
            0.0327166150826964,
            0.000609751267250138
          ]
        }
      },
      "range": 45
    },
    {
      "on": 7,
      "type": 11,
      "delay": -0.05,
      "props": {},
      "visuals": {
        "fxs": [
          {
            "set": "Land_Generic",
            "flags": 0,
            "props": {},
            "scale": 3,
            "space": 2
          }
        ],
        "camShake": 20
      }
    },
    {
      "on": 7,
      "type": 11,
      "delay": -0.05,
      "props": {},
      "visuals": {
        "playAnims": [
          {
            "anim": {
              "ref": "AttackCombo",
              "blend": 0,
              "startFrame": 31
            }
          }
        ]
      }
    },
    {
      "id": "Hit",
      "on": 2,
      "type": 6,
      "props": {
        "position": {
          "origin": 2
        }
      },
      "effects": [
        {
          "flags": 0,
          "effect": 0,
          "baseVal": 0,
          "scaling": [
            {
              "atb": "Intellect",
              "ratio": 0.25
            },
            {
              "atb": "Faith",
              "ratio": 0.25
            }
          ],
          "affinity": "Light"
        }
      ],
      "visuals": {
        "camShake": 5
      }
    },
    {
      "id": "Splash",
      "on": 13,
      "type": 4,
      "props": {
        "area": {
          "ignoreMainTarget": true
        },
        "position": {
          "origin": 1
        }
      },
      "range": 12,
      "effects": [
        {
          "flags": 0,
          "dynVal": 1,
          "effect": 0,
          "scaling": [],
          "affinity": "Raw"
        }
      ]
    },
    {
      "id": "VFX",
      "on": 13,
      "type": 4,
      "props": {
        "loop": {
          "tick": 3
        },
        "position": {
          "origin": 1
        }
      },
      "range": 12,
      "visuals": {
        "fxs": [
          {
            "set": "Light_Explosion",
            "flags": 24,
            "props": {},
            "space": 1
          }
        ]
      },
      "duration": 3
    }
  ],
  "texts": {
    "desc": "Casts four light bolts, each dealing ::dmg:: to an enemy and ::var1%:: of this damage to nearby enemies.",
    "name": "Castigate",
    "refs": {
      "ref": "Staff_Censer_Combo_Buff"
    },
    "rankDescs": [
      {
        "desc": "Area damage increased to ::var1%::.",
        "flags": 1
      },
      {
        "desc": "Applies a [Staff_Censer_Mark].",
        "flags": 0
      }
    ]
  },
  "nature": 0,
  "script": "var totalDmg = 0.;\nfunction onDamage(dmg) {\n\tif (dmg.stepId == Steps.Hit) {\n\t\ttotalDmg += dmg.amount;\n\t}\n\tif (dmg.ctx.projectiles.length == 1) {\n\t\tif (rank >= 3) {\n\t\t\taddStatus(dmg.target, Skill.Staff_Censer_Mark);\n\t\t}\n\t\tsetDynVal(1, totalDmg * vars.var1);\n\t\tplayStep(Steps.Splash, dmg.target);\n\t\tplayStep(Steps.VFX, dmg.target);\n\t\ttotalDmg = 0;\n\t}\n\n\tif (rank >= 3) {\n\t\tif (dmg.stepId == Steps.Splash) {\n\t\t\taddStatus(dmg.target, Skill.Staff_Censer_Mark);\n\t\t}\n\t}\n}",
  "status": 2,
  "mastery": [],
  "duration": 1.4
}