FareverDB

Scorching Embers

Staff_Craft_C in Skills

Casts four fireballs, each dealing 33% Intellect Magic to an enemy and increasing the [MagicDamage] of your next [WeaponSkill] by 3%. Can stack up to 8 times.

id
Staff_Craft_C
type
4
flags
0
nature
1
script
function onDamage(dmg) { if( rank >= 3 && checkProba(vars.chance)) { addStatus(dmg.target, Skill.Staff_Craft_Passive_Status); } }
status
2
duration
1.4
Raw data
{
  "id": "Staff_Craft_C",
  "gfx": {
    "x": 4,
    "y": 0,
    "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": {
    "chance": 0.2
  },
  "flags": 0,
  "props": {
    "hit": {
      "shake": 5
    }
  },
  "steps": [
    {
      "on": 0,
      "type": 3,
      "delay": 0,
      "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
    },
    {
      "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
            }
          }
        ]
      }
    },
    {
      "on": 2,
      "type": 0,
      "props": {
        "position": {
          "origin": 2
        }
      },
      "effects": [
        {
          "flags": 0,
          "effect": 0,
          "baseVal": 0,
          "scaling": [
            {
              "atb": "Intellect",
              "ratio": 0.33
            }
          ],
          "affinity": "Magic"
        }
      ],
      "visuals": {
        "camShake": 5
      }
    },
    {
      "on": 2,
      "type": 1,
      "props": {
        "status": {
          "ref": "Staff_Craft_C_Status",
          "target": 0
        }
      }
    }
  ],
  "texts": {
    "desc": "Casts four fireballs, each dealing ::dmg:: to an enemy and increasing the [MagicDamage] of your next [WeaponSkill] by ::ref2_var1%::. Can stack up to ::ref2_stacks:: times.",
    "name": "Scorching Embers",
    "refs": {
      "ref": "Staff_Craft_Passive_Status",
      "ref2": "Staff_Craft_C_Status"
    },
    "rankDescs": [
      {
        "desc": "Magic damage bonus increased to ::ref2_var1%:: per stack.",
        "rank": 2,
        "flags": 1
      },
      {
        "desc": "Fireballs have a ::chance:: chance to apply an additional ::ref_name:: stack.",
        "rank": 3,
        "flags": 0
      }
    ]
  },
  "nature": 1,
  "script": "function onDamage(dmg) {\n\tif( rank >= 3 && checkProba(vars.chance)) {\n\t\taddStatus(dmg.target, Skill.Staff_Craft_Passive_Status);\n\t}\n}",
  "status": 2,
  "mastery": [],
  "duration": 1.4
}