Home · skill · Rogue_Talent_LeechingPoison

Lethal Poison heals you for 20% of the damage dealt.

Properties

status
Done
type
Talent
nature
Passive
steps
on=13props={}id=Healtype=12effects=[{"effect":1,"scaling":[],"flags":0,"affinity":"Raw","dynVal":1}]

Referenced by

Raw data
{
  "status": "Done",
  "gfx": {
    "file": "UI/icons/Rogue_talent.png",
    "size": 48,
    "x": 18,
    "y": 2,
    "width": 2,
    "height": 2
  },
  "id": "Rogue_Talent_LeechingPoison",
  "type": "Talent",
  "nature": "Passive",
  "texts": {
    "name": "Leeching Poison",
    "desc": "::ref_name:: heals you for ::damage%:: of the damage dealt.",
    "refs": {
      "ref": "Rogue_Talent_LethalPoison_Status"
    }
  },
  "anim": {},
  "steps": [
    {
      "on": 13,
      "props": {},
      "id": "Heal",
      "type": 12,
      "effects": [
        {
          "effect": 1,
          "scaling": [],
          "flags": 0,
          "affinity": "Raw",
          "dynVal": 1
        }
      ]
    }
  ],
  "flags": [],
  "mastery": [],
  "props": {
    "rankOverride": [
      {
        "minRank": 2,
        "vars": {
          "damage": 0.4
        }
      }
    ],
    "talent": {
      "maxPoints": 2
    }
  },
  "vars": {
    "damage": 0.2
  },
  "script": "function onInflictDamage(dmg) {\n\tif (dmg.skillId == Skill.Rogue_Talent_LethalPoison_Status) {\n\t\tsetDynVal(1, dmg.amount * vars.damage);\n\t\tplayStep(Steps.Heal, owner);\n\t}\n}",
  "_xrefs": [
    {
      "from_sheet": "unit",
      "from_id": "Rogue",
      "via_field": "talentTrees"
    }
  ]
}