FareverDB

Scorch

Book_Start_Combo in Skills

Quickly casts a fireball dealing 90% Intellect Fire to an enemy.

id
Book_Start_Combo
type
4
flags
0
nature
1
script
function onDamageEval(hit) { if(rank >= 2) { hit.dmgMult += vars.var1; } if(rank >= 3) { if(hit.target.hasStatusType(StatusType.Burn)) { hit.critChance += vars.chance; } } }
status
2
duration
1.04
Raw data
{
  "id": "Book_Start_Combo",
  "gfx": {
    "x": 3,
    "y": 0,
    "file": "UI/icons/atlas_Book_96PX.png",
    "size": 96
  },
  "anim": {
    "ref": "AttackCombo"
  },
  "type": 4,
  "vars": {
    "var1": 0.2,
    "chance": 0.25
  },
  "flags": 0,
  "props": {
    "hit": {
      "camShake": 8
    }
  },
  "steps": [
    {
      "on": 0,
      "type": 3,
      "props": {
        "castFlags": 1
      },
      "visuals": {
        "fxs": [
          {
            "set": "Fire_Cast_SpellBook_Combo",
            "props": {},
            "space": 0
          }
        ]
      },
      "duration": 0.6
    },
    {
      "on": 0,
      "type": 13,
      "props": {
        "rotation": {
          "limiter": 1000,
          "direction": 1
        }
      },
      "duration": 0.6
    },
    {
      "on": 0,
      "type": 11,
      "delay": 0.64,
      "props": {},
      "visuals": {
        "playAnims": [
          {
            "anim": {
              "ref": "AttackCombo",
              "blend": 0.01,
              "startFrame": 20
            }
          }
        ]
      }
    },
    {
      "on": 7,
      "type": 7,
      "props": {
        "projectile": {
          "base": "MissileHoming",
          "speed": 60,
          "variant": 0
        }
      },
      "range": 40
    },
    {
      "on": 2,
      "type": 0,
      "props": {
        "posTarget": 2
      },
      "effects": [
        {
          "flags": 0,
          "effect": 0,
          "baseVal": 0,
          "scaling": [
            {
              "atb": "Intellect",
              "ratio": 0.9
            }
          ],
          "affinity": "Fire"
        }
      ]
    }
  ],
  "texts": {
    "desc": "Quickly casts a fireball dealing ::dmg:: to an enemy.",
    "name": "Scorch",
    "rankDescs": [
      {
        "desc": "Damage increased by ::var1%::.",
        "rank": 2,
        "flags": 1
      },
      {
        "desc": "Has a ::chance%:: additional chance to critically strike burning enemies.",
        "rank": 3,
        "flags": 0
      }
    ]
  },
  "nature": 1,
  "script": "function onDamageEval(hit) {\n\tif(rank >= 2) {\n\t\thit.dmgMult += vars.var1;\n\t}\n\tif(rank >= 3) {\n\t\tif(hit.target.hasStatusType(StatusType.Burn)) {\n\t\t\thit.critChance += vars.chance;\n\t\t}\n\t}\n}",
  "status": 2,
  "mastery": [],
  "duration": 1.04
}