Home · skill · Mage_ShieldOfSpark_Status
Protected by a Shield absorbing damage.
Properties
- status
- WIP
- nature
- Status
- duration
- 60
- steps
- affixes
Raw data
{
"status": "WIP",
"gfx": {
"file": "UI/icons/atlas_class_Mage_96PX.png",
"size": 96,
"x": 7,
"y": 0
},
"id": "Mage_ShieldOfSpark_Status",
"nature": "Status",
"texts": {
"name": "Spark Shield",
"desc": "Protected by a [Shield] absorbing damage."
},
"anim": {},
"duration": 60,
"steps": [
{
"on": 6,
"props": {},
"type": 12,
"duration": -1,
"visuals": {
"fxs": [
{
"set": "Spark_Shield_Small",
"props": {
"offset": {
"x": 0,
"y": 0,
"z": 0,
"height": 0.6
}
},
"space": 0,
"flags": 8
}
]
},
"effects": [
{
"effect": 2,
"scaling": [
{
"ratio": 0.4,
"atb": "MaxHealth"
}
],
"flags": 0
}
],
"delay": 0.4
}
],
"affixes": [
{
"target": {
"attribute": "Armor"
},
"target2": {},
"ref": "TAttribute_ARatio",
"conds": {
"mastery": "Mage_ShieldOfSpark_M3"
},
"mod": {},
"val": 2
}
],
"flags": [],
"mastery": [],
"props": {
"status": {
"types": [
{
"type": "Buff"
}
]
}
},
"vars": {
"var1": 40,
"var2": 0.4
},
"script": "function onStop(ctx) {\n\tif( hasMastery(Mastery.Mage_ShieldOfSpark_M1) ) {\n\t\taddAtb(owner, Attribute.Spark, vars.var1);\n\t}\n}\n\n// Not onReceiveDamage because that's not called on the damage that breaks the shield\nfunction onReceiveDamageEval(dmg) {\n\tif( hasMastery(Mastery.Mage_ShieldOfSpark_M2) ) {\n\t\taddStatus(dmg.source, Skill.Mage_ShieldOfSpark_Status2);\n\t}\n}"
}