Home · skill · Priest_Talent_BurningRays

If Sunlight critically strikes, it leaves a burn dealing 50% of the damage dealt over 6.

Properties

status
Done
type
Talent
nature
Passive

Referenced by

Raw data
{
  "status": "Done",
  "gfx": {
    "file": "UI/icons/Priest_talent.png",
    "size": 48,
    "x": 16,
    "y": 2,
    "width": 2,
    "height": 2
  },
  "id": "Priest_Talent_BurningRays",
  "type": "Talent",
  "nature": "Passive",
  "texts": {
    "name": "Burning Rays",
    "desc": "If ::ref_name:: critically strikes, it leaves a burn dealing ::damage%:: of the damage dealt over ::ref2_duration::.",
    "refs": {
      "ref": "Priest_Talent_Sunlight_Status",
      "ref2": "Priest_Talent_BurningRays_Status"
    }
  },
  "anim": {},
  "steps": [],
  "flags": [],
  "mastery": [],
  "props": {
    "talent": {
      "maxPoints": 1
    }
  },
  "vars": {
    "damage": 0.5
  },
  "script": "function onInflictDamage(dmg) {\n\tif (dmg.skillId == Skill.Priest_Talent_Sunlight_Status) {\n\t\tif (dmg.critical) {\n\t\t\tvar s = addStatus(dmg.target, Skill.Priest_Talent_BurningRays_Status);\n\t\t\ts.setDynVal(1, dmg.amount * vars.damage);\n\t\t}\n\t}\n}",
  "_xrefs": [
    {
      "from_sheet": "unit",
      "from_id": "Priest",
      "via_field": "talentTrees"
    }
  ]
}