Raw data
{
"status": "Bug",
"gfx": {
"file": "UI/icons/atlas_weapon_Staff_96PX.png",
"size": 48,
"x": 6,
"y": 0,
"width": 2,
"height": 2
},
"id": "Staff_Craft_S1",
"type": "WeaponSkill",
"nature": "Spell",
"texts": {
"name": "Pyroclasm",
"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::.",
"rankDescs": [
{
"rank": 2,
"desc": "Damage dealt to slowed enemies increased by ::var1%::.",
"flags": 0
},
{
"rank": 3,
"desc": "All your [Magic] critical strikes have a ::chance:: chance to reset the cooldown of ::name:: and make it instant cast.",
"flags": 0
}
],
"refs": {
"ref": "Staff_Craft_S1_Status"
}
},
"anim": {
"blend": 0.15,
"ref": "CastStart"
},
"cooldown": 12,
"duration": 1.5,
"steps": [
{
"on": 14,
"props": {},
"type": 25,
"visuals": {
"fxs": [
{
"set": "Telegraph_Circle_Preview",
"props": {},
"scale": 1.4
}
]
},
"range": 30
},
{
"on": 0,
"visuals": {
"fxs": [
{
"set": "Fire_Cast_Fast",
"space": 0,
"props": {
"offset": {
"x": 0,
"y": 0,
"z": 1.7,
"height": 0
}
},
"flags": 8,
"attachName": "Weapon",
"scale": 0.65
}
]
},
"props": {},
"type": 3,
"duration": 1.25
},
{
"on": 0,
"visuals": {
"playAnims": [
{
"anim": {
"blend": 0.1,
"ref": "Cast"
}
}
]
},
"props": {},
"type": 11,
"delay": 0.33
},
{
"on": 0,
"props": {},
"type": 11,
"visuals": {
"set": "Telegraph_Circle_Preview",
"props": {},
"flags": 16,
"fxs": [
{
"set": "Telegraph_Circle_Preview",
"props": {},
"flags": 24,
"space": 1
}
]
},
"duration": 1
},
{
"on": 7,
"visuals": {
"playAnims": [
{
"anim": {
"blend": 0.05,
"ref": "Conjure"
}
}
]
},
"props": {},
"type": 11,
"delay": -0.3
},
{
"on": 7,
"visuals": {
"fxs": [
{
"set": "Fire_AOE_FromBottom",
"space": 1,
"props": {},
"flags": 20
}
],
"camShake": 15
},
"props": {
"position": {
"origin": 4
}
},
"effects": [
{
"affinity": "Magic",
"effect": 0,
"scaling": [
{
"ratio": 1.3,
"atb": "Intellect"
}
],
"flags": 0
}
],
"type": 4,
"range": 7
},
{
"on": 1,
"props": {
"status": {
"ref": "Staff_Craft_S1_Status"
}
},
"type": 1
}
],
"flags": [],
"mastery": [],
"props": {},
"vars": {
"var1": 0.3,
"chance": 0.1
},
"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}",
"_xrefs": [
{
"from_sheet": "item",
"from_id": "Staff_Craft",
"via_field": "skills"
}
]
}