FareverDB
?

Raging Spin

Ratsar_Spin in Skills
id
Ratsar_Spin
type
11
flags
0
notes
Ratsar always launch spin twice in a row, this is done through its UnitScript
nature
0
script
function onUpdate(dt) { var spinStep = getStepById(Steps.Spin); if(spinStep.isRunning()) { var area = getClosestAreaBySkill(owner, Skill.Ratsar_GreatSlamAreaFire, owner, 8); if(isInRange(owner, area, vars.range)) { playStep(Steps.FireBlast, null, area.position); area.baseSkill.stop(); } } }
status
4
cooldown
25
duration
2.8
Raw data
{
  "id": "Ratsar_Spin",
  "anim": {
    "file": "Anim/Imp/_TwoHanded/Skill/Anim_Imp_TwoHanded_SpinAttack_Start.fbx"
  },
  "type": 11,
  "vars": {
    "var1": 2,
    "range": 6
  },
  "flags": 0,
  "notes": "Ratsar always launch spin twice in a row, this is done through its UnitScript",
  "props": {
    "needTarget": true
  },
  "steps": [
    {
      "on": 0,
      "type": 13,
      "props": {
        "rotation": {
          "direction": 1
        }
      },
      "duration": 1.85
    },
    {
      "id": "Spin",
      "on": 0,
      "type": 8,
      "delay": 1.85,
      "props": {
        "move": {
          "flags": 11,
          "direction": [
            0
          ]
        }
      },
      "range": 30,
      "visuals": {
        "playAnims": [
          {
            "anim": {
              "file": "Anim/Imp/_TwoHanded/Skill/Anim_Imp_TwoHanded_SpinAttack_Loop.fbx",
              "loop": true,
              "blend": 0.2
            }
          }
        ]
      },
      "duration": 2
    },
    {
      "on": 0,
      "type": 3,
      "delay": 1.85,
      "props": {
        "castFlags": 4
      },
      "visuals": {
        "fxs": [
          {
            "set": "Physical_SlashSpin_Big",
            "flags": 8,
            "props": {},
            "space": 0
          }
        ]
      },
      "duration": 2
    },
    {
      "on": 0,
      "type": 4,
      "delay": 1.85,
      "props": {
        "area": {
          "shape": [
            0
          ],
          "follow": 1,
          "telegraph": 1
        },
        "loop": {
          "tick": 0.25
        }
      },
      "range": 7,
      "effects": [
        {
          "flags": 0,
          "effect": 0,
          "baseVal": 0,
          "scaling": [
            {
              "atb": "FoePower",
              "ratio": 0.3
            }
          ],
          "affinity": "Physical"
        }
      ],
      "visuals": {
        "hitFx": "Hit_Slash_Big"
      },
      "duration": 2
    },
    {
      "on": 7,
      "type": 11,
      "props": {},
      "visuals": {
        "playAnims": [
          {
            "anim": {
              "file": "Anim/Imp/_TwoHanded/Skill/Anim_Imp_TwoHanded_SpinAttack_End.fbx"
            }
          }
        ]
      }
    },
    {
      "id": "FireBlast",
      "on": 8,
      "type": 4,
      "props": {
        "position": {
          "origin": 4
        },
        "canRepeat": true
      },
      "range": 10,
      "effects": [
        {
          "flags": 0,
          "effect": 0,
          "scaling": [
            {
              "atb": "FoePower",
              "ratio": 0.5
            }
          ],
          "affinity": "Fire",
          "sideEffects": {
            "knockBack": {
              "type": 0
            }
          }
        }
      ],
      "visuals": {
        "fxs": [
          {
            "set": "Fire_Aoe_Unit",
            "flags": 16,
            "props": {},
            "space": 1
          }
        ]
      }
    },
    {
      "on": 7,
      "delay": 1.47,
      "props": {}
    }
  ],
  "texts": {
    "name": "Raging Spin"
  },
  "nature": 0,
  "script": "function onUpdate(dt) {\n    var spinStep = getStepById(Steps.Spin);\n    if(spinStep.isRunning()) {\n        var area = getClosestAreaBySkill(owner, Skill.Ratsar_GreatSlamAreaFire, owner, 8);\n        if(isInRange(owner, area, vars.range)) {\n            playStep(Steps.FireBlast, null, area.position);\n\t\t\tarea.baseSkill.stop();\n        }\n    }\n}",
  "status": 4,
  "aiProps": {
    "pickPrio": 5,
    "castMaxRange": 30,
    "targetProfile": [
      0
    ],
    "minTimeInCombat": 6
  },
  "mastery": [],
  "cooldown": 25,
  "duration": 2.8
}