Home · skill · Rogue_Talent_Envenom
Your Final Combo Attack always applies Lethal Poison with a 0.35 chance to also apply it to nearby enemies.
Properties
- status
- Done
- type
- Talent
- nature
- Passive
- steps
Referenced by
unit (1)
Raw data
{
"status": "Done",
"gfx": {
"file": "UI/icons/Rogue_talent.png",
"size": 48,
"x": 8,
"y": 0,
"width": 2,
"height": 2
},
"id": "Rogue_Talent_Envenom",
"type": "Talent",
"nature": "Passive",
"texts": {
"name": "Envenom",
"desc": "Your [ComboAttack] always applies ::ref_name:: with a ::chance:: chance to also apply it to nearby enemies.",
"refs": {
"ref": "Rogue_Talent_LethalPoison_Status"
}
},
"anim": {},
"steps": [
{
"on": 13,
"props": {
"area": {
"ignoreMainTarget": true
},
"position": {
"origin": 4
}
},
"type": 4,
"range": 15,
"id": "Area"
}
],
"flags": [],
"mastery": [],
"props": {
"talent": {
"maxPoints": 1
}
},
"vars": {
"chance": 0.35
},
"script": "function onInflictDamage(hit) {\n\tif (hit.isFirstHit && hit.isFinalCombo) {\n\t\tif (checkProba(vars.chance)) {\n\t\t\tplayStep(Steps.Area, hit.target, hit.target.position);\n\t\t}\n\t}\n}\n\nfunction onHit(hit) {\n\tif (hit.stepId == Steps.Area) {\n\t\taddStatus(hit.target, Skill.Rogue_Talent_LethalPoison_Status);\n\t}\n}",
"_xrefs": [
{
"from_sheet": "unit",
"from_id": "Rogue",
"via_field": "talentTrees"
}
]
}