Poção de Sacrifício
Estado
Protegido por um Shield que absorve dano.
reativação—
duração—
passos1
Dados brutos
- nature
- Status
- steps
- 1
- id
- SacrificePotion_Status
raw data
{
"id": "SacrificePotion_Status",
"gfx": {
"x": 0,
"y": 0,
"file": "UI/Portraits/Items/Potion/Items_Loot_Potion_Potion_Sacrifice.prefab.png",
"size": 256
},
"anim": {},
"vars": {
"var1": 0.5
},
"flags": 0,
"props": {
"status": {
"types": [
{
"type": "Buff"
}
]
}
},
"steps": [
{
"on": 6,
"type": 11,
"props": {},
"visuals": {
"fxs": [
{
"set": "Physical_Shield",
"flags": 8,
"props": {},
"space": 1
}
]
},
"duration": -1
}
],
"texts": {
"desc": "Protected by a [Shield] absorbing damage.",
"name": "Sacrifice Potion"
},
"nature": 4,
"script": "function onStart(ctx) {\n\tvar health = owner.atb(Attribute.Health);\n\tvar value = health * vars.var1;\n\tstatus.setShield(value);\n\tpayLife(value);\n}",
"status": 2,
"mastery": []
}