Home · skill · Rogue_Poison_Deadly

Properties

type
RoguePoison
nature
Passive
Raw data
{
  "gfx": {
    "file": "UI/Placeholder/Icons_Resources.png",
    "size": 48,
    "x": 36,
    "y": 38,
    "width": 2,
    "height": 2
  },
  "id": "Rogue_Poison_Deadly",
  "type": "RoguePoison",
  "nature": "Passive",
  "texts": {},
  "anim": {},
  "steps": [],
  "flags": [],
  "mastery": [],
  "props": {},
  "vars": {
    "chance": 0.2
  },
  "script": "function onInflictDamage(hit) {\n\tif(hit.skill.isBaseAttack()) {\n\t\tif(checkProba(vars.chance))\n\t\t\taddStatus(hit.target, Skill.Rogue_Poison_DeadlyStatus);\n\t}\n}"
}