FareverDB

Lethal Poison

Rogue_Talent_LethalPoison in Skills

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

id
Rogue_Talent_LethalPoison
type
21
flags
0
nature
5
script
function onInflictDamage(dmg) { var finisherApplies = dmg.skillId == Skill.Rogue_Sig_Finisher && hasTalent(Skill.Rogue_Talent_VenomousFinisher); var comboApplies = dmg.isFinalCombo && hasTalent(Skill.Rogue_Talent_Envenom); var weaponAttack = (dmg.isBaseAttack || dmg.isFinalCombo) && checkProba(vars.chance); if (weaponAttack || finisherApplies || comboApplies) { addStatusIndirect(dmg.target, Skill.Rogue_Talent_LethalPoison_Status, dmg.baseSkill); } }
status
2
Raw data
{
  "id": "Rogue_Talent_LethalPoison",
  "gfx": {
    "x": 0,
    "y": 0,
    "file": "UI/icons/Rogue_talent.png",
    "size": 48,
    "width": 2,
    "height": 2
  },
  "anim": {},
  "type": 21,
  "vars": {
    "chance": 0.15
  },
  "flags": 0,
  "props": {
    "talent": {
      "maxPoints": 1
    }
  },
  "steps": [],
  "texts": {
    "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::.",
    "name": "Lethal Poison",
    "refs": {
      "ref": "Rogue_Talent_LethalPoison_Status"
    }
  },
  "nature": 5,
  "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}",
  "status": 2,
  "mastery": []
}