Home · skill · Rogue_Talent_LethalPoison

Your Attacks have a 0.15 chance to apply a stack of Lethal Poison, poisoning them for 18% Dexterity over 8, stacking up to 5.

Properties

status
Done
type
Talent
nature
Passive

Referenced by

Raw data
{
  "status": "Done",
  "gfx": {
    "file": "UI/icons/Rogue_talent.png",
    "size": 48,
    "x": 0,
    "y": 0,
    "width": 2,
    "height": 2
  },
  "id": "Rogue_Talent_LethalPoison",
  "type": "Talent",
  "nature": "Passive",
  "texts": {
    "name": "Lethal Poison",
    "desc": "Your [Attack]s have a ::chance:: chance to apply a stack of ::ref_name::, poisoning them for ::ref_dmg:: over ::ref_duration::, stacking up to ::ref_stacks::.",
    "refs": {
      "ref": "Rogue_Talent_LethalPoison_Status"
    }
  },
  "anim": {},
  "steps": [],
  "flags": [],
  "mastery": [],
  "props": {
    "talent": {
      "maxPoints": 1
    }
  },
  "vars": {
    "chance": 0.15
  },
  "script": "function onInflictDamage(dmg) {\n\tvar finisherApplies = dmg.skillId == Skill.Rogue_Sig_Finisher && hasTalent(Skill.Rogue_Talent_VenomousFinisher);\n\tvar comboApplies = dmg.isFinalCombo && hasTalent(Skill.Rogue_Talent_Envenom);\n\tvar weaponAttack = (dmg.isBaseAttack || dmg.isFinalCombo) && checkProba(vars.chance);\n\tif (weaponAttack || finisherApplies || comboApplies) {\n\t\taddStatusIndirect(dmg.target, Skill.Rogue_Talent_LethalPoison_Status, dmg.baseSkill);\n\t}\n}",
  "_xrefs": [
    {
      "from_sheet": "unit",
      "from_id": "Rogue",
      "via_field": "talentTrees"
    }
  ]
}