FareverDB

Luon flame

Scepter_Start_Skill1 in Skills

Blasts 160% Faith Light to the target, burning them for 140% Faith Light over 10.

id
Scepter_Start_Skill1
type
7
flags
0
nature
3
script
function onHit(hit) { if(rank >= 2) { hit.critChance += vars.chance; } } function onDamage(dmg) { if(dmg.critical && rank == 3) { addStatusDuration(dmg.target, Skill.Stun, vars.time); } }
status
2
cooldown
12
duration
0.27
Raw data
{
  "id": "Scepter_Start_Skill1",
  "gfx": {
    "x": 6,
    "y": 0,
    "file": "UI/icons/atlas_weapon_Scepter_96PX.png",
    "size": 48,
    "width": 2,
    "height": 2
  },
  "anim": {},
  "type": 7,
  "vars": {
    "time": 2,
    "chance": 0.15
  },
  "flags": 0,
  "props": {
    "needTarget": true
  },
  "steps": [
    {
      "on": 0,
      "type": 3,
      "props": {},
      "visuals": {
        "fxs": [
          {
            "set": "Light_Cast_Fast",
            "flags": 8,
            "props": {},
            "space": 0,
            "attachName": "Weapon_Cast"
          }
        ],
        "playAnims": [
          {
            "anim": {
              "ref": "Cast",
              "loop": true
            }
          }
        ]
      },
      "duration": 1.5
    },
    {
      "on": 7,
      "type": 6,
      "props": {},
      "effects": [
        {
          "flags": 0,
          "effect": 0,
          "scaling": [
            {
              "atb": "Faith",
              "ratio": 1.6
            }
          ],
          "affinity": "Light"
        }
      ],
      "visuals": {
        "fxs": [
          {
            "set": "Light_Blast",
            "flags": 4,
            "props": {},
            "space": 1
          }
        ],
        "target": 1
      }
    },
    {
      "on": 7,
      "type": 11,
      "props": {},
      "visuals": {
        "fxs": [
          {
            "set": "Light_Blast_Launch",
            "props": {},
            "space": 0,
            "attachName": "Weapon_Cast"
          }
        ]
      }
    },
    {
      "on": 7,
      "type": 11,
      "delay": -0.8,
      "props": {},
      "range": 40,
      "visuals": {
        "playAnims": [
          {
            "anim": {
              "ref": "CastProjectile",
              "loop": false
            }
          }
        ]
      }
    },
    {
      "on": 1,
      "type": 1,
      "props": {
        "status": {
          "ref": "Scepter_Start_Skill1_Burn"
        }
      }
    }
  ],
  "texts": {
    "desc": "Blasts ::dmg:: to the target, burning them for ::ref_dmg:: over ::ref_dur::.",
    "name": "Luon flame",
    "refs": {
      "ref": "Scepter_Start_Skill1_Burn"
    },
    "rankDescs": [
      {
        "desc": "Has a ::chance:: additional chance to critically strike.",
        "rank": 2,
        "flags": 0
      },
      {
        "desc": "Stuns for ::time:: if this critically strikes.",
        "rank": 2,
        "flags": 0
      }
    ]
  },
  "nature": 3,
  "script": "function onHit(hit) {\n\tif(rank >= 2) {\n\t\thit.critChance += vars.chance;\n\t}\n}\nfunction onDamage(dmg) {\n\tif(dmg.critical && rank == 3) {\n\t\taddStatusDuration(dmg.target, Skill.Stun, vars.time);\n\t}\n}",
  "status": 2,
  "mastery": [],
  "cooldown": 12,
  "duration": 0.27
}