Home · skill · Crescent_FlowerSpiral_Skill_2_Status
All your damage heals nearby allies for 25% of the damage dealt for 4.
Properties
- status
- Done
- nature
- Status
- duration
- 4
- steps
- affixes
Raw data
{
"status": "Done",
"gfx": {
"file": "UI/icons/atlas_weapon_Crescent_96PX.png",
"size": 48,
"x": 6,
"y": 0,
"width": 2,
"height": 2
},
"id": "Crescent_FlowerSpiral_Skill_2_Status",
"nature": "Status",
"texts": {
"desc": "All your damage heals nearby allies for ::heal%:: of the damage dealt for ::duration::.",
"name": "Bloom"
},
"anim": {},
"duration": 4,
"steps": [
{
"on": 13,
"visuals": {
"hitFx": "Generic_Heal"
},
"props": {
"canRepeat": true,
"area": {
"hitFilter": 6
}
},
"effects": [
{
"effect": 1,
"scaling": [],
"baseVal": 1,
"dynVal": 1,
"flags": 0
}
],
"type": 4,
"id": "AreaHeal",
"range": 15,
"duration": ""
},
{
"on": 0,
"props": {},
"type": 11,
"duration": -1,
"visuals": {
"fxs": [
{
"set": "Honey_Aura",
"props": {
"offset": {
"x": 0,
"y": 0,
"z": 0,
"height": 0.5
}
},
"flags": 9,
"space": 0
}
]
},
"range": "\n"
}
],
"affixes": [
{
"target": {
"attribute": "MoveSpeedFactor"
},
"target2": {},
"ref": "TAttribute_ARatio",
"conds": {
"minRank": 2
},
"displayed": true,
"mod": {},
"val": 0.5
}
],
"flags": [],
"mastery": [],
"props": {
"status": {
"types": [
{
"type": "Buff"
}
]
}
},
"vars": {
"heal": 0.25,
"range": 15,
"time": 0.25,
"dur1": 0.5
},
"script": "var healAcc = 0.;\nvar timer = 0.;\n\nfunction onInflictDamage(dmg) {\n\thealAcc += dmg.amount * vars.heal;\n\tif (rank >= 3 && dmg.critical)\n\t\textendDuration(vars.time);\n}\n\nfunction onUpdate(dt) {\n\ttimer += dt;\n\tif (timer > vars.dur1) {\n\t\tsetDynVal(1, healAcc);\n\t\tif (healAcc > 0) {\n\t\t\tplayStep(Steps.AreaHeal);\n\t\t}\n\t\ttimer -= vars.dur1;\n\t\thealAcc = 0;\n\t}\n}"
}