Home · skill · Rogue_Talent_FinishTheJob

Your Attacks have an additional 0.07 chance to critically strike poisoned enemies.

Properties

status
Done
type
Talent
nature
Passive

Referenced by

Raw data
{
  "status": "Done",
  "gfx": {
    "file": "UI/icons/Rogue_talent.png",
    "size": 48,
    "x": 6,
    "y": 0,
    "width": 2,
    "height": 2
  },
  "id": "Rogue_Talent_FinishTheJob",
  "type": "Talent",
  "nature": "Passive",
  "texts": {
    "name": "Finish the Job",
    "desc": "Your [Attack]s have an additional ::chance:: chance to critically strike poisoned enemies."
  },
  "anim": {},
  "steps": [],
  "flags": [],
  "mastery": [],
  "props": {
    "talent": {
      "maxPoints": 2
    },
    "rankOverride": [
      {
        "minRank": 2,
        "vars": {
          "chance": 0.15
        }
      }
    ]
  },
  "vars": {
    "chance": 0.07
  },
  "script": "function onInflictDamageEval(dmg) {\n\tif (dmg.isBaseAttack || dmg.isFinalCombo) {\n\t\tif (dmg.target.hasStatusType(StatusType.Poison)) {\n\t\t\tdmg.critChance += vars.chance;\n\t\t}\n\t}\n}",
  "_xrefs": [
    {
      "from_sheet": "unit",
      "from_id": "Rogue",
      "via_field": "talentTrees"
    }
  ]
}