//This JSON was modified by AgentMindStorm (@agentms_). Please do not use this document without permission.
{
  "format_version": "1.8.0",
  "animations": {
    "animation.drowned.attack": { //This animation handles the chasing arms and the trident throwing animation. The default brandish trident animation is disabled.
      "loop": true,
      "bones": {
        "leftarm": {
          "rotation": [ -40, 0, 0 ]
        },
        "rightarm": {
          "rotation": [ "-40 - ((250 - variable.tcos0 * 0.5) * variable.is_brandishing_spear)", 0, 0 ]
        }
      }
    },
    "animation.drowned.attack.rotations": {
      "loop": true,
      "bones": {
        "body": {
          "rotation": [ 0.0, "math.sin(math.sqrt(variable.attack_time) * 360.0) * 11.46", 0.0 ]
        },
        "leftarm": {
          "rotation": [ "-(math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0) + math.sin(variable.attack_time * 180.0)) * 5.73", 0.0, 0.0 ]
        },
        "rightarm": {
          "rotation": [ "-(math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0) * 34.38 + math.sin(variable.attack_time * 180.0) * 28.65) * (variable.is_brandishing_spear ? -2.5 : 1.0)", "variable.is_brandishing_spear ? 0.0 : math.sin(math.sqrt(variable.attack_time) * 360.0) * 22.92", 0.0 ]
        }
      }
    },
    "animation.drowned.swimming": {
      "loop": true,
      "bones": {
        "body": {
          "position": [ 0.0, "variable.swim_amount * -10.0 - this", "variable.swim_amount * 9.0 - this" ],
          "rotation": [ "variable.swim_amount * (90.0 + query.target_x_rotation)", 0.0, 0.0 ]
        },
        "leftarm": {
          "rotation": [ "math.lerp(this, -180.0, variable.swim_amount) - (variable.swim_amount * ((math.sin(variable.attack_time * 180.0) * 57.3) * 1.2 - (math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0) * 57.3) * 0.4)) - (variable.swim_amount * (math.sin(query.life_time * 76.776372) * 2.865)) - this", "math.lerp(this, 14.325, variable.swim_amount) - this", "math.lerp(this, 14.325, variable.swim_amount) - (variable.swim_amount * (math.cos(query.life_time * 103.13244) * 2.865 + 2.865)) - this" ]
        },
        "leftleg": {
          "rotation": [ "math.lerp(this, math.cos(query.life_time * 390.0 + 180.0) * 0.3, variable.swim_amount)", 0.0, 0.0 ]
        },
        "rightarm": {
          "rotation": [ "math.lerp(this, -180.0, variable.swim_amount) - (variable.swim_amount * ((math.sin(variable.attack_time * 180.0) * 57.3) * 1.2 - (math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0) * 57.3) * 0.4)) + (variable.swim_amount * (math.sin(query.life_time * 76.776372) * 2.865)) - this", "math.lerp(this, 14.325, variable.swim_amount) - this", "math.lerp(this, -14.325, variable.swim_amount) + (variable.swim_amount * (math.cos(query.life_time * 103.13244) * 2.865 + 2.865)) - this" ]
        },
        "rightleg": {
          "rotation": [ "math.lerp(this, math.cos(query.life_time * 390.0) * 0.3, variable.swim_amount)", 0.0, 0.0 ]
        }
      }
    }
  }
}
