Home · skill · Rogue_Talent_RegeneratingMiasmas
Heals you for 1% of your Maximum Health when an enemy affected by your Lethal Poison dies.
Properties
- status
- Bug
- type
- Talent
- nature
- Passive
- steps
Referenced by
unit (1)
Raw data
{
"status": "Bug",
"gfx": {
"file": "UI/icons/Rogue_talent.png",
"size": 48,
"x": 0,
"y": 4,
"width": 2,
"height": 2
},
"id": "Rogue_Talent_RegeneratingMiasmas",
"type": "Talent",
"nature": "Passive",
"texts": {
"name": "Regenerating Miasmas",
"desc": "Heals you for ::var1%:: of your [MaxHealth] when an enemy affected by your ::ref_name:: dies.",
"refs": {
"ref": "Rogue_Talent_LethalPoison_Status"
}
},
"anim": {},
"steps": [
{
"on": 13,
"props": {},
"id": "Heal",
"type": 12,
"effects": [
{
"effect": 1,
"scaling": [],
"flags": 0,
"dynVal": 1
}
]
}
],
"flags": [],
"mastery": [],
"props": {
"rankOverride": [
{
"minRank": 2,
"vars": {
"var1": 0.02
}
}
],
"talent": {
"maxPoints": 2
}
},
"vars": {
"var1": 0.01
},
"script": "function onKill(ctx) {\n\tvar stacks = ctx.target.getStatusCount(Skill.Rogue_Talent_LethalPoison_Status);\n\tif (stacks > 0) {\n\t\tsetDynVal(1, stacks * vars.var1 * owner.health);\n\t\tplayStep(Steps.Heal, owner);\n\t}\n}",
"_xrefs": [
{
"from_sheet": "unit",
"from_id": "Rogue",
"via_field": "talentTrees"
}
]
}