Home · skill · Priest_Talent_SoothingRays

Sunlight heals for 50% of the damage dealt.

Properties

status
Done
type
Talent
nature
Passive
steps
on=13props={}type=6effects=[{"effect":1,"scaling":[],"flags":0,"affinity":"Light","dynVal":1}]id=Healvisuals={"fxs":[{"set":"Priest_Prayer_Heal","props":{"offset":{"x":0,"y":0,"z":0,"height":0}}}]}

Referenced by

Raw data
{
  "status": "Done",
  "gfx": {
    "file": "UI/icons/Priest_talent.png",
    "size": 48,
    "x": 2,
    "y": 0,
    "width": 2,
    "height": 2
  },
  "id": "Priest_Talent_SoothingRays",
  "type": "Talent",
  "nature": "Passive",
  "texts": {
    "name": "Soothing Rays",
    "desc": "::ref_name:: heals for ::damage%:: of the damage dealt.",
    "refs": {
      "ref": "Priest_Talent_Sunlight_Status"
    }
  },
  "anim": {},
  "steps": [
    {
      "on": 13,
      "props": {},
      "type": 6,
      "effects": [
        {
          "effect": 1,
          "scaling": [],
          "flags": 0,
          "affinity": "Light",
          "dynVal": 1
        }
      ],
      "id": "Heal",
      "visuals": {
        "fxs": [
          {
            "set": "Priest_Prayer_Heal",
            "props": {
              "offset": {
                "x": 0,
                "y": 0,
                "z": 0,
                "height": 0
              }
            }
          }
        ]
      }
    }
  ],
  "flags": [],
  "mastery": [],
  "props": {
    "talent": {
      "maxPoints": 1
    }
  },
  "vars": {
    "damage": 0.5
  },
  "script": "// We assume Sunlight deals damage then is immediately consumed\n\nfunction onInflictDamage(dmg) {\n\tif (dmg.skillId == Skill.Priest_Talent_Sunlight_Status) {\n\t\tsetDynVal(1, dmg.amount * vars.damage);\n\n\t\tif (dmg?.status?.owner != null) {\n\t\t\tplayStep(Steps.Heal, dmg.status.owner);\n\t\t}\n\t}\n}",
  "_xrefs": [
    {
      "from_sheet": "unit",
      "from_id": "Priest",
      "via_field": "talentTrees"
    }
  ]
}