Venom Infusion
Rogue_Talent_VenomInfusion in SkillsYour [WeaponSkill]s have a 0.2 chance to apply Lethal Poison.
- id
- Rogue_Talent_VenomInfusion
- type
- 21
- flags
- 0
- nature
- 5
- script
- function onInflictDamage(dmg) { if (dmg.isWeaponSkill) { if(checkProba(vars.chance)) { addStatus(dmg.target, Skill.Rogue_Talent_LethalPoison_Status); } } }
- status
- 2
Raw data
{
"id": "Rogue_Talent_VenomInfusion",
"gfx": {
"x": 18,
"y": 0,
"file": "UI/icons/Rogue_talent.png",
"size": 48,
"width": 2,
"height": 2
},
"anim": {},
"type": 21,
"vars": {
"chance": 0.2
},
"flags": 0,
"props": {
"talent": {
"maxPoints": 2
},
"rankOverride": [
{
"vars": {
"chance": 0.4
},
"minRank": 2
}
]
},
"steps": [],
"texts": {
"desc": "Your [WeaponSkill]s have a ::chance:: chance to apply ::ref_name::.",
"name": "Venom Infusion",
"refs": {
"ref": "Rogue_Talent_LethalPoison_Status"
}
},
"nature": 5,
"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}",
"status": 2,
"mastery": []
}