Pular para o conteúdo principal
Todas as habilidades

Vampirismo

Passiva

Seu ComboAttack tem 0.5 de chance de causar Magic ao alvo e curar você por.

reativação
duração
passos2
Escala
Magic

Concedida por

Dados brutos

type
Passive
nature
Passive
steps
2
id
Enchant_Lifestealing
raw data
{
  "id": "Enchant_Lifestealing",
  "anim": {},
  "type": 14,
  "vars": {
    "var1": 0.5,
    "chance": 0.5
  },
  "flags": 0,
  "props": {},
  "steps": [
    {
      "id": "Attack",
      "on": 13,
      "type": 0,
      "props": {},
      "effects": [
        {
          "flags": 0,
          "effect": 0,
          "baseVal": 30,
          "scaling": [],
          "affinity": "Magic"
        }
      ],
      "visuals": {
        "hitFx": "Hit_Chaos"
      }
    },
    {
      "id": "Heal",
      "on": 13,
      "type": 12,
      "props": {},
      "effects": [
        {
          "flags": 0,
          "effect": 1,
          "baseVal": 10,
          "scaling": []
        }
      ]
    }
  ],
  "texts": {
    "desc": "Your [ComboAttack] have a ::chance:: chance to deal ::dmg:: to your target and heal you for ::heal::.",
    "name": "Lifestealing"
  },
  "nature": 5,
  "script": "function onInflictHit(hit) {\n\tif( hit.isFinalCombo && checkProba(vars.chance)) {\n\t\tplayStep(Steps.Attack, hit.target);\n\t\tplayStep(Steps.Heal, owner);\n\t}\n}",
  "mastery": []
}