Home · skill · Rogue_Talent_VenomInfusion
Your Weapon Skills have a 0.2 chance to apply Lethal Poison.
Properties
- status
- Done
- type
- Talent
- nature
- Passive
Referenced by
unit (1)
Raw data
{
"status": "Done",
"gfx": {
"file": "UI/icons/Rogue_talent.png",
"size": 48,
"x": 18,
"y": 0,
"width": 2,
"height": 2
},
"id": "Rogue_Talent_VenomInfusion",
"type": "Talent",
"nature": "Passive",
"texts": {
"name": "Venom Infusion",
"desc": "Your [WeaponSkill]s have a ::chance:: chance to apply ::ref_name::.",
"refs": {
"ref": "Rogue_Talent_LethalPoison_Status"
}
},
"anim": {},
"steps": [],
"flags": [],
"mastery": [],
"props": {
"rankOverride": [
{
"minRank": 2,
"vars": {
"chance": 0.4
}
}
],
"talent": {
"maxPoints": 2
}
},
"vars": {
"chance": 0.2
},
"script": "function onInflictDamage(dmg) {\n\tif (dmg.isWeaponSkill) {\n\t\tif(checkProba(vars.chance)) {\n\t\t\taddStatus(dmg.target, Skill.Rogue_Talent_LethalPoison_Status);\n\t\t}\n\t}\n}",
"_xrefs": [
{
"from_sheet": "unit",
"from_id": "Rogue",
"via_field": "talentTrees"
}
]
}