Home · skill · Ratsar_SparkAbsorption
Properties
- status
- QA
- type
- Skill
- nature
- Spell
- steps
Referenced by
unit (1)
Raw data
{
"status": "QA",
"gfx": {
"file": "UI/Placeholder/Icons_Resources.png",
"size": 48,
"x": 36,
"y": 38,
"width": 2,
"height": 2
},
"id": "Ratsar_SparkAbsorption",
"type": "Skill",
"nature": "Spell",
"texts": {
"name": "Spark Absorption"
},
"anim": {
"file": "Anim/Imp/_TwoHanded/_Boss_Ratsar/Anim_Imp_TwoHanded_Ratsar_Absorption_Start.fbx"
},
"steps": [
{
"on": 0,
"props": {
"rotation": {
"direction": 1
}
},
"type": 13,
"duration": -1
},
{
"on": 0,
"props": {
"castFlags": 12
},
"type": 3,
"duration": 12
},
{
"on": 0,
"visuals": {
"playAnims": [
{
"anim": {
"file": "Anim/Imp/_TwoHanded/_Boss_Ratsar/Anim_Imp_TwoHanded_Ratsar_Absorption_Loop.fbx",
"loop": true
}
}
]
},
"props": {},
"type": 11,
"delay": 1.5
},
{
"on": 0,
"visuals": {
"linkFx": {
"set": "Spark_Link",
"startAttach": "B_Palm_L",
"scale": 2,
"targetAttach": "B_Gem"
}
},
"props": {},
"type": 11,
"delay": 1.5,
"duration": -1
},
{
"on": 0,
"props": {
"status": {
"ref": "Ratsar_SparklingShield",
"target": 0
}
},
"type": 1,
"delay": 1.7,
"id": "Shield"
},
{
"on": 7,
"visuals": {
"playAnims": [
{
"anim": {
"file": "Anim/Imp/_TwoHanded/_Boss_Ratsar/Anim_Imp_TwoHanded_Ratsar_Absorption_End.fbx"
}
}
]
},
"props": {},
"type": 11,
"delay": -0.8
},
{
"on": 9,
"props": {
"status": {
"ref": "Ratsar_SparklingShield",
"target": 0
}
},
"type": 2
}
],
"flags": [],
"mastery": [],
"props": {},
"vars": {},
"script": "function onUpdate(dt) {\n\tvar t = aimTarget;\n if(t != null && t.isDead())\n stop(true);\n}\n\nfunction onStep(step) {\n\tif (step.kind == Steps.Shield) {\n\t\taimTarget.consumeStatus(Skill.Ratsar_SparklingShield);\n\t}\n}",
"_xrefs": [
{
"from_sheet": "unit",
"from_id": "Ratsar",
"via_field": "skills"
}
]
}