FareverDB

Pyroclasm

Staff_Craft_S1 in Skills

Conjures a fiery eruption in the targeted area, dealing 130% Intellect Magic and increasing all [Magic] damage dealt to enemies by 8% for 15.

id
Staff_Craft_S1
type
7
flags
0
nature
3
script
var Proc = Skill.Staff_Craft_S1_Proc; function onInflictDamage(dmg) { if(dmg.isMagic && dmg.critical && rank >= 3) { if(checkProba(vars.chance)) { addStatus(owner, Proc); resetCooldown(); } } } function onInflictDamageEval(dmg) { if (rank >= 2 && dmg.target.getStatusTypeCount(StatusType.Slow) > 0) { dmg.dmgMult += vars.var1; } } function onProc(ctx) { removeStatus(owner, Proc); } function haveProc() { return owner.getStatusCount(Proc) > 0; } function shouldPlayInstantly() { return haveProc(); } function shouldHighlightSkill() { return owner.getStatusCount(Proc) > 0; }
status
5
cooldown
12
duration
1.5
Raw data
{
  "id": "Staff_Craft_S1",
  "gfx": {
    "x": 6,
    "y": 0,
    "file": "UI/icons/atlas_weapon_Staff_96PX.png",
    "size": 48,
    "width": 2,
    "height": 2
  },
  "anim": {
    "ref": "CastStart",
    "blend": 0.15
  },
  "type": 7,
  "vars": {
    "var1": 0.3,
    "chance": 0.1
  },
  "flags": 0,
  "props": {},
  "steps": [
    {
      "on": 14,
      "type": 25,
      "props": {},
      "range": 30,
      "visuals": {
        "fxs": [
          {
            "set": "Telegraph_Circle_Preview",
            "props": {},
            "scale": 1.4
          }
        ]
      }
    },
    {
      "on": 0,
      "type": 3,
      "props": {},
      "visuals": {
        "fxs": [
          {
            "set": "Fire_Cast_Fast",
            "flags": 8,
            "props": {
              "offset": {
                "x": 0,
                "y": 0,
                "z": 1.7,
                "height": 0
              }
            },
            "scale": 0.65,
            "space": 0,
            "attachName": "Weapon"
          }
        ]
      },
      "duration": 1.25
    },
    {
      "on": 0,
      "type": 11,
      "delay": 0.33,
      "props": {},
      "visuals": {
        "playAnims": [
          {
            "anim": {
              "ref": "Cast",
              "blend": 0.1
            }
          }
        ]
      }
    },
    {
      "on": 0,
      "type": 11,
      "props": {},
      "visuals": {
        "fxs": [
          {
            "set": "Telegraph_Circle_Preview",
            "flags": 24,
            "props": {},
            "space": 1
          }
        ],
        "set": "Telegraph_Circle_Preview",
        "flags": 16,
        "props": {}
      },
      "duration": 1
    },
    {
      "on": 7,
      "type": 11,
      "delay": -0.3,
      "props": {},
      "visuals": {
        "playAnims": [
          {
            "anim": {
              "ref": "Conjure",
              "blend": 0.05
            }
          }
        ]
      }
    },
    {
      "on": 7,
      "type": 4,
      "props": {
        "position": {
          "origin": 4
        }
      },
      "range": 7,
      "effects": [
        {
          "flags": 0,
          "effect": 0,
          "scaling": [
            {
              "atb": "Intellect",
              "ratio": 1.3
            }
          ],
          "affinity": "Magic"
        }
      ],
      "visuals": {
        "fxs": [
          {
            "set": "Fire_AOE_FromBottom",
            "flags": 20,
            "props": {},
            "space": 1
          }
        ],
        "camShake": 15
      }
    },
    {
      "on": 1,
      "type": 1,
      "props": {
        "status": {
          "ref": "Staff_Craft_S1_Status"
        }
      }
    }
  ],
  "texts": {
    "desc": "Conjures a fiery eruption in the targeted area, dealing ::dmg:: and increasing all [Magic] damage dealt to enemies by ::ref_var1%:: for ::ref_dur::.",
    "name": "Pyroclasm",
    "refs": {
      "ref": "Staff_Craft_S1_Status"
    },
    "rankDescs": [
      {
        "desc": "Damage dealt to slowed enemies increased by ::var1%::.",
        "rank": 2,
        "flags": 0
      },
      {
        "desc": "All your [Magic] critical strikes have a ::chance:: chance to reset the cooldown of ::name:: and make it instant cast.",
        "rank": 3,
        "flags": 0
      }
    ]
  },
  "nature": 3,
  "script": "var Proc = Skill.Staff_Craft_S1_Proc;\n\nfunction onInflictDamage(dmg) {\n\tif(dmg.isMagic && dmg.critical && rank >= 3) {\n\t\tif(checkProba(vars.chance)) {\n\t\t\taddStatus(owner, Proc);\n\t\t\tresetCooldown();\n\t\t}\n\t}\n\n}\n\nfunction onInflictDamageEval(dmg) {\n\tif (rank >= 2 && dmg.target.getStatusTypeCount(StatusType.Slow) > 0) {\n\t\tdmg.dmgMult += vars.var1;\n\t}\n}\n\nfunction onProc(ctx) {\n\tremoveStatus(owner, Proc);\n}\n\nfunction haveProc() {\n\treturn owner.getStatusCount(Proc) > 0;\n}\n\nfunction shouldPlayInstantly() {\n\treturn haveProc();\n}\n\nfunction shouldHighlightSkill() {\n\treturn owner.getStatusCount(Proc) > 0;\n}",
  "status": 5,
  "mastery": [],
  "cooldown": 12,
  "duration": 1.5
}