Envenom
Rogue_Talent_Envenom in SkillsYour [ComboAttack] always applies Lethal Poison with a 0.35 chance to also apply it to nearby enemies.
- id
- Rogue_Talent_Envenom
- type
- 21
- flags
- 0
- nature
- 5
- script
- function onInflictDamage(hit) { if (hit.isFirstHit && hit.isFinalCombo) { if (checkProba(vars.chance)) { playStep(Steps.Area, hit.target, hit.target.position); } } } function onHit(hit) { if (hit.stepId == Steps.Area) { addStatus(hit.target, Skill.Rogue_Talent_LethalPoison_Status); } }
- status
- 2
Raw data
{
"id": "Rogue_Talent_Envenom",
"gfx": {
"x": 8,
"y": 0,
"file": "UI/icons/Rogue_talent.png",
"size": 48,
"width": 2,
"height": 2
},
"anim": {},
"type": 21,
"vars": {
"chance": 0.35
},
"flags": 0,
"props": {
"talent": {
"maxPoints": 1
}
},
"steps": [
{
"id": "Area",
"on": 13,
"type": 4,
"props": {
"area": {
"ignoreMainTarget": true
},
"position": {
"origin": 4
}
},
"range": 15
}
],
"texts": {
"desc": "Your [ComboAttack] always applies ::ref_name:: with a ::chance:: chance to also apply it to nearby enemies.",
"name": "Envenom",
"refs": {
"ref": "Rogue_Talent_LethalPoison_Status"
}
},
"nature": 5,
"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}",
"status": 2,
"mastery": []
}