FareverDB

Spark Absorption

Ratsar_SparkAbsorption in Skills
id
Ratsar_SparkAbsorption
type
11
flags
0
nature
3
script
function onUpdate(dt) { var t = aimTarget; if(t != null && t.isDead()) stop(true); } function onStep(step) { if (step.kind == Steps.Shield) { aimTarget.consumeStatus(Skill.Ratsar_SparklingShield); } }
status
4
Raw data
{
  "id": "Ratsar_SparkAbsorption",
  "gfx": {
    "x": 36,
    "y": 38,
    "file": "UI/Placeholder/Icons_Resources.png",
    "size": 48,
    "width": 2,
    "height": 2
  },
  "anim": {
    "file": "Anim/Imp/_TwoHanded/_Boss_Ratsar/Anim_Imp_TwoHanded_Ratsar_Absorption_Start.fbx"
  },
  "type": 11,
  "vars": {},
  "flags": 0,
  "props": {},
  "steps": [
    {
      "on": 0,
      "type": 13,
      "props": {
        "rotation": {
          "direction": 1
        }
      },
      "duration": -1
    },
    {
      "on": 0,
      "type": 3,
      "props": {
        "castFlags": 12
      },
      "duration": 12
    },
    {
      "on": 0,
      "type": 11,
      "delay": 1.5,
      "props": {},
      "visuals": {
        "playAnims": [
          {
            "anim": {
              "file": "Anim/Imp/_TwoHanded/_Boss_Ratsar/Anim_Imp_TwoHanded_Ratsar_Absorption_Loop.fbx",
              "loop": true
            }
          }
        ]
      }
    },
    {
      "on": 0,
      "type": 11,
      "delay": 1.5,
      "props": {},
      "visuals": {
        "linkFx": {
          "set": "Spark_Link",
          "scale": 2,
          "startAttach": "B_Palm_L",
          "targetAttach": "B_Gem"
        }
      },
      "duration": -1
    },
    {
      "id": "Shield",
      "on": 0,
      "type": 1,
      "delay": 1.7,
      "props": {
        "status": {
          "ref": "Ratsar_SparklingShield",
          "target": 0
        }
      }
    },
    {
      "on": 7,
      "type": 11,
      "delay": -0.8,
      "props": {},
      "visuals": {
        "playAnims": [
          {
            "anim": {
              "file": "Anim/Imp/_TwoHanded/_Boss_Ratsar/Anim_Imp_TwoHanded_Ratsar_Absorption_End.fbx"
            }
          }
        ]
      }
    },
    {
      "on": 9,
      "type": 2,
      "props": {
        "status": {
          "ref": "Ratsar_SparklingShield",
          "target": 0
        }
      }
    }
  ],
  "texts": {
    "name": "Spark Absorption"
  },
  "nature": 3,
  "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}",
  "status": 4,
  "mastery": []
}