Lebensraub
Passiv
Verliehen durch:Magieformel: Lebensraub
Dein ComboAttack hat eine 0.5-Chance, deinem Ziel Magic zuzufügen und dich um zu heilen.
abklingzeit—
dauer—
schritte2
Skalierung
Magic
Verliehen durch
Rohdaten
- 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": []
}