Tool Abilites Modding Resource (Melee)

Discussion in 'Starbound Modding' started by ImHereForTheMods, Feb 17, 2017.

?

Was this resource helpful?

  1. Yaw.

    100.0%
  2. Naw.

    0 vote(s)
    0.0%
  1. ImHereForTheMods

    ImHereForTheMods Cosmic Narwhal

    So, I know myself, I grow rather tired of having to dig into the game's unpacked assets every time I want to reference a weaponability file, so I, for myself and others, am going to post the weapon ability files here, as sort of.. a resource, you could say.

    So, let's get started.

    Axe Abilities :

    {
    "animationParts" : { },
    "animationCustom" : { },

    "ability" : {
    "name" : "Cleave",
    "type" : "axecleave",
    "scripts" : ["/items/active/weapons/melee/abilities/axe/axecleave.lua"],
    "class" : "AxeCleave",

    "fireTime" : 0.8,
    "baseDps" : 6.5,
    "damageConfig" : {
    "damageSourceKind" : "axe",
    "statusEffects" : [ ],
    "knockbackMode" : "aim",
    "knockback" : 18,
    "timeoutGroup" : "primary"
    },
    "stances" : {
    "idle" : {
    "armRotation" : -90,
    "weaponRotation" : 0,
    "weaponOffset" : [0.25, 2.0],
    "twoHanded" : false,

    "allowFlip" : true,
    "allowRotate" : true
    },
    "windup" : {
    "duration" : 0.8,
    "armRotation" : 90,
    "weaponRotation" : 0,
    "weaponOffset" : [0.25, 2.5],
    "twoHanded" : false,

    "allowFlip" : true,
    "allowRotate" : true,

    "bounceTime" : 0.12,
    "bounceWeaponAngle" : [
    [0.75, "linear", 20, 60],
    [0.875, "sin", 60, 55],
    [1.0, "cos", 60, 55]
    ],

    "weaponAngle" : [
    [1.0, "linear", -20, 20]
    ],

    "armAngle" : [
    [1.0, "sin", -90, 50]
    ]
    },
    "fire" : {
    "duration" : 0.4,
    "armRotation" : -45,
    "weaponRotation" : -45,
    "weaponOffset" : [0.25, 2.75],
    "twoHanded" : false,

    "allowFlip" : true,
    "allowRotate" : false
    }
    }
    }
    }



    Broadsword Abilities :


    {
    "animationParts" : { },
    "animationCustom" : {
    "sounds" : {
    "astralTear" : [ "/sfx/melee/astraltear1.ogg" ]
    }
    },

    "ability" : {
    "name" : "Astral Tear",
    "type" : "astraltear",
    "scripts" : ["/items/active/weapons/melee/abilities/broadsword/astraltear/astraltear.lua"],
    "class" : "AstralTear",

    "projectileOffset" : [3,0],
    "projectileType" : "astraltearstart",

    "baseDamage" : 10.35,
    "energyUsage" : 200,
    "cooldownTime" : 1.5,

    "stances" : {
    "windup" : {
    "duration" : 0.25,
    "armRotation" : 70,
    "weaponRotation" : 0,
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : false
    },
    "fire" : {
    "duration" : 0.4,
    "armRotation" : -45,
    "weaponRotation" : -55,
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : false
    }
    }
    }
    }




    {
    "animationParts" : { },
    "animationCustom" : {
    "animatedParts" : {
    "stateTypes" : {
    "bladeCharge" : {
    "default" : "idle",
    "states" : {
    "idle" : { },
    "charge" : {
    "cycle" : 1.2,
    "mode" : "transition",
    "transition" : "full",
    "properties" : {
    "persistentSound" : "/sfx/melee/charge_up13.ogg",
    "persistentSoundStopTime" : 0.25
    }
    },
    "full" : {
    "mode" : "loop",
    "properties" : {
    "persistentSound" : "/sfx/melee/charge_full_hold1.ogg",
    "immediateSound" : "/sfx/melee/sword_parry.ogg"
    }
    }
    }
    }
    }
    },
    "sounds" : {
    // "chargedSwing" : [ "/sfx/melee/swing_broadsword.ogg" ]
    "chargedSwing" : [ "/sfx/melee/charge_full_swing3.ogg" ]
    },
    "particleEmitters" : {
    "bladeCharge" : {
    "active" : false,
    "transformationGroups" : ["weapon"],
    "emissionRate" : 30,
    "offsetRegion" : [-0.625, 0.0, 0.375, 2.5],
    "particles" : [
    { "particle" : "charge"},
    { "particle" : "charge"},
    { "particle" : "charge"}
    ]
    }
    }
    },

    "ability" : {
    "name" : "Blade Charge",
    "type" : "bladecharge",
    "scripts" : ["/items/active/weapons/melee/abilities/broadsword/bladecharge/bladecharge.lua"],
    "class" : "BladeCharge",

    "energyUsage" : 320.0,

    "damageConfig" : {
    "damageSourceKind" : "broadsword",
    "statusEffects" : [ ],
    "baseDamage" : 22.5,
    "knockback" : 40,
    "knockbackMode" : "facing",
    "timeoutGroup" : "alt",
    "timeout" : 0.5
    },

    "chargeTime" : 1.2,
    "cooldownTime" : 0.8,
    "chargeBorder" : "FFFF3388",

    "stances" : {
    "windup" : {
    "armRotation" : 70,
    "weaponRotation" : 0,
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : true
    },
    "slash" : {
    "duration" : 0.4,
    "armRotation" : -45,
    "weaponRotation" : -55,
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : false
    }
    }
    }
    }




    {
    "animationParts" : { },
    "animationCustom" : {
    "sounds" : {
    "downstab" : [ "/sfx/melee/swing_spear.ogg" ]
    }
    },

    "ability" : {
    "name" : "Pogo Sword",
    "type" : "downstab",
    "scripts" : ["/items/active/weapons/melee/abilities/broadsword/downstab/downstab.lua"],
    "class" : "Downstab",

    "cooldownTime" : 0.5,

    "damageConfig" : {
    "damageSourceKind" : "spear",
    "statusEffects" : [ ],
    "baseDamage" : 6,
    "knockback" : [0, -35],
    "timeout" : 0.2,
    "timeoutGroup" : "alt"
    },
    "energyUsage" : 30.0,

    "holdAirControl" : 60,
    "stabVelocity" : -5,
    "bounceYVelocity" : 35,

    "stances" : {
    "hold" : {
    "duration" : 0.2,
    "armRotation" : 70,
    "weaponRotation" : 110,
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : true
    },
    "stab" : {
    "armRotation" : -50,
    "weaponRotation" : -130,
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : true
    }
    }
    }
    }




    {
    "animationParts" : { },
    "animationCustom" : {
    "animatedParts" : {
    "stateTypes" : {
    "chargeSwoosh" : {
    "default" : "idle",
    "states" : {
    "idle" : {
    },
    "charge" : {
    "frames" : 4,
    "cycle" : 0.5,
    "properties" : {
    // "immediateSound" : "/sfx/melee/charge_up15.ogg"
    }
    },
    "full" : {
    "properties" : {
    // "persistentSound" : "/sfx/gun/flamethrower.ogg"
    }
    }
    }
    }
    },
    "parts" : {
    "chargeSwoosh" : {
    "properties" : {
    "zLevel" : 1,
    "centered" : true,
    "transformationGroups" : ["swoosh"],
    "offset" : [3.75, 0.0625],
    "fullbright" : true,
    "damageArea" : [[-6, 0], [-3.5, 1], [-1.5, 1], [1.5, 0], [-1.5, -1], [-3.5, -1]],
    "projectileSource" : [0,0]
    }
    }
    }
    },
    "sounds" : {
    "fireStart" : [ "/sfx/tech/tech_jetpack_thrust1.ogg" ],
    "fireBlast" : [ "/sfx/melee/rocketspear_loop_fire.ogg" ],
    "fireEnd" : [ "/sfx/melee/rocketspear_stop_fire.ogg" ],
    "iceStart" : [ "/sfx/melee/swing_broadsword_ice1.ogg", "/sfx/melee/swing_broadsword_ice2.ogg", "/sfx/melee/swing_broadsword_ice3.ogg" ],
    "iceBlast" : [ "/sfx/melee/rocketspear_loop_ice.ogg" ],
    "iceEnd" : [ "/sfx/melee/rocketspear_stop_ice.ogg" ],
    "electricStart" : [ "/sfx/melee/swing_broadsword_electric1.ogg", "/sfx/melee/swing_broadsword_electric2.ogg", "/sfx/melee/swing_broadsword_electric3.ogg" ],
    "electricBlast" : [ "/sfx/melee/barrier_create_electric.ogg" ],
    "electricEnd" : [ ],
    "poisonStart" : [ "/sfx/melee/swing_broadsword_electric1.ogg", "/sfx/melee/swing_broadsword_electric2.ogg", "/sfx/melee/swing_broadsword_electric3.ogg" ],
    "poisonBlast" : [ "/sfx/melee/rocketspear_loop_poison.ogg" ],
    "poisonEnd" : [ "/sfx/melee/rocketspear_stop_poison.ogg" ]
    }
    },

    "ability" : {
    "name" : "Flamethrower",
    "type" : "flamethrowersword",
    "scripts" : ["/items/active/weapons/melee/abilities/spear/rocketspear/rocketspear.lua"],
    "class" : "RocketSpear",

    "baseDps" : 9,
    "cooldownTime" : 0.5,
    "energyUsage" : 45,
    "fireTime" : 0.065,
    "inaccuracy" : 0.05,

    "elementalConfig" : {
    "fire" : {
    "projectileType" : "flamethrower"
    },
    "ice" : {
    "projectileType" : "icethrower"
    },
    "poison" : {
    "projectileType" : "poisonthrower"
    },
    "electric" : {
    "projectileType" : "lightningthrower"
    }
    },
    "projectileParameters" : {
    "speed" : 20
    },

    "stances" : {
    "windup" : {
    "duration" : 0.0,
    "armRotation" : 0,
    "weaponRotation" : -90,
    "twoHanded" : true,

    "allowRotate" : true,
    "allowFlip" : true
    },
    "fire" : {
    "armRotation" : 0,
    "weaponRotation" : -90,
    "twoHanded" : true,

    "allowRotate" : true,
    "allowFlip" : true
    }
    }
    }
    }




    {
    "animationParts" : { },
    "animationCustom" : {
    "animatedParts" : {
    "stateTypes" : {
    "swoosh" : {
    "states" : {
    "flip" : {}
    }
    }
    },

    "parts" : {
    "swoosh" : {
    "partStates" : {
    "swoosh" : {
    "flip" : {
    "properties" : {
    "image" : "/items/active/weapons/melee/abilities/broadsword/flipslash/<elementalType>swoosh.png",
    "offset" : [2.25, 2.75],
    "damageArea" : [[-6.0, -3.5], [-6.0, 0], [-3.5, 2.5], [0, 2.5], [2.5, 0], [2.5, -3.5], [0, -6.0], [-3.5, -6.0]]
    }
    }
    }
    }
    }
    }
    },
    "particleEmitters" : {
    "flip" : {
    "active" : false,
    "transformationGroups" : ["weapon"],
    "offsetRegion" : [-4, -4, 5, 5],
    "emissionRate" : 70,
    "particles" : [
    { "particle" : "energyblade"},
    { "particle" : "energyblade2"}
    ]
    }
    },
    "sounds" : {
    "flipSlash" : [ "/sfx/melee/laser_flip_slash.ogg" ]
    }
    },

    "ability" : {
    "name" : "Flip Slash",
    "type" : "flipslash",
    "scripts" : ["/items/active/weapons/melee/abilities/broadsword/flipslash/flipslash.lua"],
    "class" : "FlipSlash",

    "cooldownTime" : 0.5,

    "damageConfig" : {
    "damageSourceKind" : "broadsword",
    "statusEffects" : [ ],
    "baseDamage" : 6,
    "knockback" : [0, -35],
    "timeout" : 0.2,
    "timeoutGroup" : "alt"
    },

    "flipMovementParameters" : {
    "collisionPoly" : [ [-2.0, -1.0], [-1.0, -2.0], [1.0, -2.0], [2.0, -1.0], [2.0, 1.0], [1.0, 2.0], [-1.0, 2.0], [-2.0, 1.0] ]
    },

    "energyUsage" : 60.0,
    "rotations" : 3,
    "rotationTime" : 0.2,

    "jumpVelocity" : [35, 20],
    "jumpDuration" : 0.2,

    "stances" : {
    "windup" : {
    "duration" : 0.2,
    "armRotation" : 30,
    "weaponRotation" : 0,
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : true
    },
    "flip" : {
    "armRotation" : 0,
    "weaponRotation" : 0,
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : false
    }
    }
    }
    }




    {
    "animationParts" : { },
    "animationCustom" : {
    "animatedParts" : {
    "stateTypes" : {
    "giantBlade" : {
    "default" : "idle",
    "states" : {
    "idle" : { },
    "charge" : {
    "cycle" : 0.8,
    "mode" : "transition",
    "transition" : "fullwindup"
    },
    "fullwindup" : {
    "frames" : 2,
    "cycle" : 0.066,
    "mode" : "transition",
    "transition" : "full"
    },
    "full" : {
    "frames" : 3,
    "cycle" : 0.2,
    "mode" : "loop"
    }
    }
    },
    "giantSwoosh" : {
    "default" : "idle",
    "states" : {
    "idle" : { },
    "slash" : {
    "frames" : 3,
    "cycle" : 0.1,
    "mode" : "transition",
    "transition": "idle",
    "properties" : {
    "immediateSound" : "/sfx/melee/charge_full_swing1.ogg"
    }
    }
    }
    }
    },
    "parts" : {
    "giantblade" : {
    "properties" : {
    "zLevel" : -1,
    "centered" : true,
    "image" : "<giantBlade>",
    "offset" : [0, 3.5],
    "transformationGroups" : ["weapon"],
    "rotationCenter" : [0, 0],
    "damageArea" : [ [-0.5, -1.0], [-0.5, 5.0], [0.75, 5.0], [0.5, -1.0] ]
    },
    "partStates" : {
    "giantBlade" : {
    "idle" : {
    "properties" : {
    "image" : ""
    }
    },
    "charge" : {
    "properties" : {
    "image" : ""
    }
    },
    "fullwindup" : {
    "properties" : {
    "image" : "/items/active/weapons/melee/abilities/broadsword/giantsword/<elementalType>blade.png:charge.<frame>"
    }
    },
    "full" : {
    "properties" : {
    "image" : "/items/active/weapons/melee/abilities/broadsword/giantsword/<elementalType>blade.png:full.<frame>"
    }
    }
    }
    }
    },
    "giantswoosh" : {
    "properties" : {
    "zLevel" : -1,
    "centered" : true,
    "offset" : [2, 2.5],
    "transformationGroups" : ["swoosh"],
    "rotationCenter" : [0, 0]
    },

    "partStates" : {
    "giantSwoosh" : {
    "idle" : {
    "properties" : {
    "image" : ""
    }
    },
    "slash" : {
    "properties" : {
    "image" : "/items/active/weapons/melee/abilities/broadsword/giantsword/swoosh/<elementalType>swoosh.png:<frame>",
    "damageArea" : [[-7.5, 3], [-3.75, 4.5], [1.5, 4.5], [6, 2.625], [7.5, -0.375], [7.5, -3.375], [6, -4.5], [0, -3.25]]
    }
    }
    }
    }
    }
    }
    },
    "particleEmitters" : {
    "fireSwordCharge" : {
    "active" : false,
    "transformationGroups" : ["weapon"],
    "emissionRate" : 30,
    "offsetRegion" : [-0.75, 0.0, 0.75, 5.5],
    "particles" : [
    { "particle" : "fireswoosh1"},
    { "particle" : "fireswoosh2"},
    { "particle" : "fireswoosh3"}
    ]
    },
    "electricSwordCharge" : {
    "active" : false,
    "transformationGroups" : ["weapon"],
    "emissionRate" : 30,
    "offsetRegion" : [-0.75, 0.0, 0.75, 5.5],
    "particles" : [
    { "particle" : "electricswoosh1"},
    { "particle" : "electricswoosh2"},
    { "particle" : "electricswoosh2"}
    ]
    },
    "iceSwordCharge" : {
    "active" : false,
    "transformationGroups" : ["weapon"],
    "emissionRate" : 30,
    "offsetRegion" : [-0.75, 0.0, 0.75, 5.5],
    "particles" : [
    { "particle" : "iceswoosh1"},
    { "particle" : "iceswoosh2"},
    { "particle" : "iceswoosh3"}
    ]
    },
    "poisonSwordCharge" : {
    "active" : false,
    "transformationGroups" : ["weapon"],
    "emissionRate" : 30,
    "offsetRegion" : [-0.75, 0.0, 0.75, 5.5],
    "particles" : [
    { "particle" : "poisonswoosh1"},
    { "particle" : "poisonswoosh2"},
    { "particle" : "fireswoosh2"}
    ]
    }
    },
    "sounds" : {
    "firecharge" : [ "/sfx/melee/giantsword_charge_fire.ogg" ],
    "firefullwindup" : [ "/sfx/melee/giantsword_charge_full.ogg" ],
    "firefull" : [ "/sfx/melee/giantsword_charged_fire.ogg" ],
    "electriccharge" : [ "/sfx/melee/giantsword_charge_electric.ogg" ],
    "electricfullwindup" : [ "/sfx/melee/giantsword_charge_full.ogg" ],
    "electricfull" : [ "/sfx/melee/giantsword_charged_electric.ogg" ],
    "icecharge" : [ "/sfx/melee/giantsword_charge_ice.ogg" ],
    "icefullwindup" : [ "/sfx/melee/giantsword_charge_full.ogg" ],
    "icefull" : [ "/sfx/melee/giantsword_charged_ice.ogg" ],
    "poisoncharge" : [ "/sfx/melee/giantsword_charge_poison.ogg" ],
    "poisonfullwindup" : [ "/sfx/melee/giantsword_charge_full.ogg" ],
    "poisonfull" : [ "/sfx/melee/giantsword_charged_poison.ogg" ]
    }
    },

    "ability" : {
    "name" : "Giant Sword",
    "type" : "giantsword",
    "scripts" : ["/items/active/weapons/melee/abilities/broadsword/giantsword/giantsword.lua"],
    "class" : "GiantBladeAttack",

    "energyUsage" : 120.0,
    "chargeTime" : 0.8,
    "elementalConfig" : {
    "fire" : {
    "damageConfig" : { "statusEffects" : [ "burning" ] }
    },
    "ice" : {
    "damageConfig" : { "statusEffects" : [ "frostslow" ] }
    },
    "poison" : {
    "damageConfig" : { "statusEffects" : [ "weakpoison" ] }
    },
    "electric" : {
    "damageConfig" : { "statusEffects" : [ "electrified" ] }
    }
    },
    "damageConfig" : {
    "damageSourceKind" : "<elementalType>broadsword",
    "baseDamage" : 16,
    "knockback" : 40,
    "knockbackMode" : "facing",
    "timeoutGroup" : "alt",
    "timeout" : 0.8
    },
    "cooldownTime" : 0.3,
    "stances" : {
    "windup" : {
    "armRotation" : 70,
    "weaponRotation" : 0,
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : true
    },
    "slash" : {
    "duration" : 0.4,
    "armRotation" : -45,
    "weaponRotation" : -55,
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : false
    }
    }
    }
    }




    {
    "animationParts" : { },
    "animationCustom" : {
    "sounds" : {
    "physicalimpact" : [ "/sfx/gun/grenadeblast_ice2.ogg" ]
    }
    },

    "ability" : {
    "name" : "Great Wave",
    "type" : "greatwave",
    "scripts" : ["/items/active/weapons/melee/abilities/broadsword/greatwave/greatwave.lua"],
    "class" : "GreatWave",

    "energyUsage" : 100.0,

    "cooldownTime" : 2,

    "projectileType" : "watershockwave",
    "projectileParameters" : {
    "power" : 1,
    "knockback" : 40,
    "knockbackMode" : "facing",
    "onlyHitTerrain" : true
    },
    "shockWaveBounds" : [-0.4, -1.375, 0.4, 0.0],
    "shockwaveHeight" : 1.375,
    "maxDistance" : 12,

    "impactLine" : [ [1.25, -1.5], [1.25, -4.5] ],
    "impactWeaponOffset" : 0.75,

    "stances" : {
    "windup" : {
    "duration" : 0.3,
    "armRotation" : 90,
    "weaponRotation" : -10,
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : true
    },
    "fire" : {
    "duration" : 0.15,
    "armRotation" : -45,
    "weaponRotation" : -55,
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : false
    }
    }
    }
    }




    {
    "animationParts" : { },
    "animationCustom" : {
    "sounds" : {
    "fireKunai" : [ "/sfx/gun/plasma_pistol1.ogg" ]
    }
    },

    "ability" : {
    "name" : "Kunai Blast",
    "type" : "kunaiblast",
    "scripts" : ["/items/active/weapons/melee/abilities/broadsword/kunaiblast/kunaiblast.lua"],
    "class" : "KunaiBlast",

    // timing and angle adjust to launch projectiles during fire stance
    "projectileTimesAndAngles" : [
    [0.02, -20],
    [0.10, -35],
    [0.18, -50]
    ],
    "projectileOffset" : [1.75, -2.0],
    "projectileType" : "energyshardplayer",
    "projectileParameters" : {
    "baseDamage" : 4
    },

    "baseDamage" : 4,
    "energyUsage" : 120,
    "cooldownTime" : 1.5,

    "stances" : {
    "windup" : {
    "duration" : 0.2,
    "armRotation" : 70,
    "weaponRotation" : 0,
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : false
    },
    "fire" : {
    "duration" : 0.25,
    "armRotation" : -45,
    "weaponRotation" : -55,
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : false
    }
    }
    }
    }




    {
    "animationParts" : { },
    "animationCustom" : {
    "animatedParts" : {
    "stateTypes" : {
    "parryShield" : {
    "default" : "inactive",
    "states" : {
    "inactive" : {},
    "active" : {},
    "block" : {
    "frames" : 1,
    "cycle" : 0.2,
    "mode" : "transition",
    "transition" : "active"
    }
    }
    }
    },
    "parts" : {
    "parryShield" : {
    "properties" : {
    "zLevel" : -1,
    "centered" : true,
    "offset" : [-0.75, 1.75],
    "transformationGroups" : ["weapon"],
    "rotationCenter" : [0, 0],
    "shieldPoly" : [ [-0.25, -2.5], [-0.25, 2.0], [1.0, 2.75], [1.0, -1.0] ]
    },
    "partStates" : {
    "parryShield" : {
    "inactive" : {
    "properties" : {
    "image" : ""
    }
    },
    "active" : {
    "properties" : {
    "image" : "/items/active/weapons/melee/abilities/broadsword/parry/parryshield.png:active"
    }
    },
    "block" : {
    "properties" : {
    "image" : "/items/active/weapons/melee/abilities/broadsword/parry/parryshield.png:block"
    }
    }
    }
    }
    }
    }
    },
    "sounds" : {
    "guard" : [ "/sfx/melee/sword_guard.ogg" ],
    "parry" : [ "/sfx/melee/sword_parry.ogg" ]
    }
    },

    "ability" : {
    "name" : "Parry",
    "type" : "parry",
    "scripts" : ["/items/active/weapons/melee/abilities/broadsword/parry/parry.lua"],
    "class" : "Parry",

    "energyUsage" : 0.0,
    "parryTime" : 1.2,
    "cooldownTime" : 1.2,
    "shieldHealth" : 50,
    "stances" : {
    "parry" : {
    "armRotation" : 45,
    "weaponRotation" : -205,
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : false
    }
    }
    }
    }




    {
    "animationParts" : { },
    "animationCustom" : {
    "animatedParts" : {
    "stateTypes" : {
    "risingSwoosh" : {
    "default" : "idle",
    "states" : {
    "idle" : {
    },
    "slash" : {
    "frames" : 3,
    "cycle" : 0.175,
    "mode" : "transition",
    "transition" : "idle"
    }
    }
    }
    },
    "parts" : {
    "risingSwoosh" : {
    "properties" : {
    "zLevel" : -1,
    "centered" : true,
    "offset" : [0.25, -2.5],
    "transformationGroups" : ["swoosh"],
    "rotationCenter" : [0, 0]
    },

    "partStates" : {
    "risingSwoosh" : {
    "idle" : {
    "properties" : {
    "image" : ""
    }
    },
    "slash" : {
    "properties" : {
    "image" : "/items/active/weapons/melee/abilities/broadsword/risingslash/risingswoosh.png:<frame>",
    "damageArea" : [[-5, -2], [-2.5, -3], [1, -3], [4, -1.75], [5, 0.25], [5, 2.25], [4, 3.25], [0, 2.5]]
    }
    }
    }
    }
    }
    }
    },
    "sounds" : {
    "upswing" : [ "/sfx/melee/swing_shortsword.ogg" ]
    }
    },

    "ability" : {
    "name" : "Rising Slash",
    "type" : "risingslash",
    "scripts" : ["/items/active/weapons/melee/abilities/broadsword/risingslash/risingslash.lua"],
    "class" : "RisingSlash",

    "energyUsage" : 60.0,
    "cooldownTime" : 1.0,

    "dashSpeed" : 75,
    "dashControlForce" : 1600,

    "damageConfig" : {
    "damageSourceKind" : "broadsword",
    "baseDamage" : 6,
    "knockback" : [0, 50],
    "timeout" : 0.3,
    "timeoutGroup" : "alt"
    },

    "stances" : {
    "windup" : {
    "duration" : 0.25,
    "armRotation" : -90,
    "weaponRotation" : -170,
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : false
    },
    "slash" : {
    "duration" : 0.175,
    "armRotation" : 45,
    "weaponRotation" : -125,
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : false
    },
    "freeze" : {
    "duration" : 0.1,
    "armRotation" : 45,
    "weaponRotation" : -125,
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : false
    }
    }
    }
    }




    {
    "animationParts" : { },
    "animationCustom" : {
    "animatedParts" : {
    "stateTypes" : {
    "spinSwoosh" : {
    "default" : "idle",
    "states" : {
    "idle" : {
    },
    "fire" : {
    "frames" : 3,
    "cycle" : 0.075,
    "mode" : "transition",
    "transition" : "idle"
    }
    }
    }
    },
    "parts" : {
    "spinSwoosh" : {
    "properties" : {
    "zLevel" : -1,
    "centered" : true,
    "offset" : [0, 0.75],
    "transformationGroups" : ["swoosh"],
    "rotationCenter" : [0, 0]
    },
    "partStates" : {
    "spinSwoosh" : {
    "idle" : {
    "properties" : {
    "image" : ""
    }
    },
    "fire" : {
    "properties" : {
    "image" : "/items/active/weapons/melee/abilities/broadsword/spinslash/spinswoosh.png:<frame><swooshDirectives>",
    "damageArea" : [ [-1.5, 0.875], [2.75, 0.875], [4.125, 0.5], [5.0, 0], [5.0, -0.5], [4.625, -0.875], [3.5, -1.375], [-1.5, -1.375] ]
    }
    }
    }
    }
    }
    }
    },
    "sounds" : {
    "flail" : [ "/sfx/melee/sword_spinslash.ogg" ]
    }
    },

    "ability" : {
    "name" : "Spin Slash",
    "type" : "spinslash",
    "scripts" : ["/items/active/weapons/melee/abilities/broadsword/spinslash/spinslash.lua"],
    "class" : "SpinSlash",

    "energyUsage" : 80.0,
    "cooldownTime" : 0.5,

    "damageConfig" : {
    "damageSourceKind" : "broadsword",
    "statusEffects" : [ ],
    "baseDamage" : 5,
    "knockback" : 20,
    "knockbackMode" : "facing",
    "timeout" : 0.15,
    "timeoutGroup" : "alt"
    },

    "armRotationOffsets" : [20, -20, 0, 0, -20, 20, 0, 0],

    "stances" : {
    "windup" : {
    "duration" : 0.075,
    "armRotation" : 0,
    "weaponRotation" : -80,
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : false
    },
    "slash" : {
    "duration" : 0.075,
    "armRotation" : -45,
    "weaponRotation" : -45,
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : false
    }
    }
    }
    }




    {
    "animationParts" : { },
    "animationCustom" : {
    "particleEmitters" : {
    "fireSwordCharge" : {
    "active" : false,
    "transformationGroups" : ["weapon"],
    "emissionRate" : 30,
    "offsetRegion" : [-0.75, 0.0, 0.75, 5.5],
    "particles" : [
    { "particle" : "fireswoosh1"},
    { "particle" : "fireswoosh2"},
    { "particle" : "fireswoosh3"}
    ]
    },
    "electricSwordCharge" : {
    "active" : false,
    "transformationGroups" : ["weapon"],
    "emissionRate" : 30,
    "offsetRegion" : [-0.75, 0.0, 0.75, 5.5],
    "particles" : [
    { "particle" : "electricswoosh1"},
    { "particle" : "electricswoosh2"},
    { "particle" : "electricswoosh2"}
    ]
    },
    "iceSwordCharge" : {
    "active" : false,
    "transformationGroups" : ["weapon"],
    "emissionRate" : 30,
    "offsetRegion" : [-0.75, 0.0, 0.75, 5.5],
    "particles" : [
    { "particle" : "iceswoosh1"},
    { "particle" : "iceswoosh2"},
    { "particle" : "iceswoosh3"}
    ]
    },
    "poisonSwordCharge" : {
    "active" : false,
    "transformationGroups" : ["weapon"],
    "emissionRate" : 30,
    "offsetRegion" : [-0.75, 0.0, 0.75, 5.5],
    "particles" : [
    { "particle" : "poisonswoosh1"},
    { "particle" : "poisonswoosh2"},
    { "particle" : "fireswoosh2"}
    ]
    }
    },
    "sounds" : {
    "fireTrailDashCharge" : [ "/sfx/melee/charge_traildash3.ogg" ],
    "iceTrailDashCharge" : [ "/sfx/melee/charge_traildash3.ogg" ],
    "electricTrailDashCharge" : [ "/sfx/melee/charge_traildash3.ogg" ],
    "poisonTrailDashCharge" : [ "/sfx/melee/charge_traildash3.ogg" ],

    "fireTrailDashFire" : [ "/sfx/melee/travelingslash_fire3.ogg" ],
    "iceTrailDashFire" : [ "/sfx/melee/travelingslash_ice4.ogg" ],
    "electricTrailDashFire" : [ "/sfx/melee/travelingslash_electric1.ogg", "/sfx/melee/travelingslash_electric2.ogg", "/sfx/melee/travelingslash_electric3.ogg" ],
    "poisonTrailDashFire" : [ "/sfx/melee/travelingslash_poison3.ogg" ]
    }
    },

    "ability" : {
    "name" : "Trail Dash",
    "type" : "traildash",
    "scripts" : ["/items/active/weapons/melee/abilities/broadsword/traildash/traildash.lua"],
    "class" : "TrailDash",

    "cooldownTime" : 0.4,
    "energyUsage" : 120,

    "dashTime" : 0.2,
    "dashSpeed" : 160,

    "trailInterval" : 1.0,
    "projectileParameters" : {
    "power" : 1,
    "timeToLive" : 2.0
    },
    "projectileOffset" : [0, -1.5],
    "elementalConfig" : {
    "fire" : {
    "projectileType" : "firetrail"
    },
    "ice" : {
    "projectileType" : "icetrail"
    },
    "poison" : {
    "projectileType" : "poisontrail"
    },
    "electric" : {
    "projectileType" : "electrictrail"
    }
    },

    "damageConfig" : {
    "damageSourceKind" : "<elementalType>broadsword",
    "statusEffects" : [ ],
    "baseDamage" : 2,
    "knockback" : 0,
    "timeout" : 0.5,
    "timeoutGroup" : "alt"
    },

    "stances" : {
    "windup" : {
    "duration" : 0.5,
    "armRotation" : -45,
    "weaponRotation" : 155,
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : false
    },
    "dash" : {
    "armRotation" : 45,
    "weaponRotation" : 135,
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : false
    }
    }
    }
    }




    {
    "animationParts" : { },
    "animationCustom" : {
    "sounds" : {
    "fireTravelSlash" : [ "/sfx/melee/travelingslash_fire1.ogg" ],
    "iceTravelSlash" : [ "/sfx/melee/travelingslash_ice2.ogg" ],
    // "electricTravelSlash" : [ "/sfx/melee/travelingslash_electric1.ogg", "/sfx/melee/travelingslash_electric2.ogg", "/sfx/melee/travelingslash_electric3.ogg" ],
    "electricTravelSlash" : [ "/sfx/melee/travelingslash_electric4.ogg" ],
    "poisonTravelSlash" : [ "/sfx/melee/travelingslash_poison2.ogg" ]
    }
    },

    "ability" : {
    "name" : "Flying Slash",
    "type" : "travelingslash",
    "scripts" : ["/items/active/weapons/melee/abilities/broadsword/travelingslash/travelingslash.lua"],
    "class" : "TravelingSlash",

    "projectileOffset" : [0,0],
    "elementalConfig" : {
    "physical" : {},
    "fire" : {
    "projectileType" : "firetravelingswoosh"
    },
    "ice" : {
    "projectileType" : "icetravelingswoosh"
    },
    "poison" : {
    "projectileType" : "poisontravelingswoosh"
    },
    "electric" : {
    "projectileType" : "electrictravelingswoosh"
    }
    },

    "baseDamage" : 7,
    "energyUsage" : 120,
    "cooldownTime" : 1.5,

    "stances" : {
    "windup" : {
    "duration" : 0.25,
    "armRotation" : 70,
    "weaponRotation" : 0,
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : false
    },
    "fire" : {
    "duration" : 0.4,
    "armRotation" : -45,
    "weaponRotation" : -55,
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : false
    }
    }
    }
    }



    Generic :


    {
    "animationParts" : { },
    "animationCustom" : {
    "animatedParts" : {
    "stateTypes" : {
    "blinkCharge" : {
    "default" : "idle",
    "states" : {
    "idle" : {
    },
    "charge" : {
    "cycle" : 0.5,
    "mode" : "transition",
    "transition" : "idle",
    "properties" : {
    "immediateSound" : "/sfx/melee/charge_up15.ogg"
    }
    }
    }
    }
    }
    },
    "particleEmitters" : {
    "fireCharge" : {
    "active" : false,
    "emissionRate" : 30,
    "offsetRegion" : [-0.625, 0.0, 0.375, 2.5],
    "particles" : [
    { "particle" : "fastrisingfire1"},
    { "particle" : "fastrisingfire2"},
    { "particle" : "fastrisingfire3"}
    ]
    }
    }
    },

    "ability" : {
    "name" : "Blink Explosion",
    "type" : "blinkexplosion",
    "scripts" : ["/items/active/weapons/melee/abilities/generic/blinkexplosion/blinkexplosion.lua"],
    "class" : "BlinkExplosion",

    "energyUsage" : 120.0,
    "cooldownTime" : 1.5,

    "maxDistance" : 12,
    "baseDamage" : 28,
    "elementalConfig" : {
    "fire" : {
    "projectileType" : "fireplasmaexplosionstatus"
    },
    "ice" : {
    "projectileType" : "iceplasmaexplosionstatus"
    },
    "poison" : {
    "projectileType" : "poisonplasmaexplosionstatus"
    },
    "electric" : {
    "projectileType" : "electricplasmaexplosionstatus"
    }
    },

    "stances" : {
    "charge" : {
    "duration" : 0.3,
    "armRotation" : 45,
    "weaponRotation" : -45,
    "twoHanded" : true,
    "weaponOffset" : [0.0, 0.0],

    "allowRotate" : false,
    "allowFlip" : false
    }
    }
    }
    }




    {
    "animationParts" : { },
    "animationCustom" : {
    "animatedParts" : {
    "stateTypes" : {
    "blinkSwoosh" : {
    "default" : "idle",
    "states" : {
    "idle" : {
    },
    "fire" : {
    "frames" : 3,
    "cycle" : 0.125,
    "mode" : "transition",
    "transition" : "idle"
    }
    }
    }
    },
    "parts" : {
    "blinkSwoosh" : {
    "properties" : {
    "zLevel" : -1,
    "centered" : true,
    "offset" : [4.5, 0.75],
    "transformationGroups" : ["swoosh"],
    "rotationCenter" : [0, 0]
    },
    "partStates" : {
    "blinkSwoosh" : {
    "idle" : {
    "properties" : {
    "image" : ""
    }
    },
    "fire" : {
    "properties" : {
    "image" : "/items/active/weapons/melee/abilities/generic/blinkslash/<elementalType>swoosh.png:<frame>",
    "damageArea" : [ [-3.5, 0.875], [0.25, 0.875], [1.625, 0.5], [2.5, 0], [2.5, -0.5], [2.125, -0.875], [1, -1.375], [-3.5, -1.375] ]
    }
    }
    }
    }
    }
    }
    }
    },

    "ability" : {
    "name" : "Blink Slash",
    "type" : "blinkslash",
    "scripts" : ["/items/active/weapons/melee/abilities/generic/blinkslash/blinkslash.lua"],
    "class" : "BlinkSlash",

    "energyUsage" : 120,
    "cooldownTime" : 1.5,

    "blinkDistance" : 15,
    "blinkYTolerance" : 3.5,
    "requireLineOfSight" : true,

    "damageConfig" : {
    "damageSourceKind" : "<elementalType>broadsword",
    "baseDamage" : 20,
    "knockback" : 20,
    "knockbackMode" : "facing",
    "timeout" : 0.5,
    "timeoutGroup" : "alt"
    },
    "elementalConfig" : {
    "fire" : {
    "damageConfig" : { "statusEffects" : [ "burning" ] }
    },
    "ice" : {
    "damageConfig" : { "statusEffects" : [ "frostslow" ] }
    },
    "poison" : {
    "damageConfig" : { "statusEffects" : [ "weakpoison" ] }
    },
    "electric" : {
    "damageConfig" : { "statusEffects" : [ "electrified" ] }
    }
    },

    "stances" : {
    "windup" : {
    "duration" : 0.25,
    "armRotation" : -135,
    "weaponRotation" : 75,
    "twoHanded" : true,
    "weaponOffset" : [0.0, 0.0],

    "allowRotate" : false,
    "allowFlip" : false
    },
    "slash" : {
    "duration" : 0.125,
    "armRotation" : -135,
    "weaponRotation" : 45,
    "twoHanded" : true,
    "weaponOffset" : [0.0, 0.0],

    "allowRotate" : false,
    "allowFlip" : false
    }
    }
    }
    }




    {
    "animationParts" : { },
    "animationCustom" : { },

    "ability" : {
    "name" : "Scout Eye",
    "type" : "scouteye",
    "scripts" : ["/items/active/weapons/melee/abilities/generic/scouteye/scouteye.lua"],
    "class" : "ScoutEye",

    "energyUsage" : 40,
    "cooldownTime" : 1.5,

    "projectileType" : "scouteye",
    "projectileParameters" : {
    "timeToLive" : 5.0,
    "speed" : 30
    },
    "fireOffset" : [0, 0],

    "stances" : {
    "windup" : {
    "duration" : 0.25,
    "armRotation" : 75,
    "weaponRotation" : -45,
    "twoHanded" : true,
    "weaponOffset" : [0.0, 0.0],

    "allowRotate" : false,
    "allowFlip" : false
    },
    "scout" : {
    "armRotation" : 30,
    "weaponRotation" : -90,
    "twoHanded" : true,
    "weaponOffset" : [0.0, 0.0],

    "allowRotate" : false,
    "allowFlip" : false
    }
    }
    }
    }




    {
    "animationParts" : { },
    "animationCustom" : {
    "sounds" : {
    "fire" : [ "/sfx/melee/swing_broadsword.ogg" ],
    "fire2" : [ "/sfx/melee/swing_shortsword.ogg" ],
    "fire3" : [ "/sfx/melee/swing_spear.ogg" ]
    }
    },

    "ability" : {
    "name" : "Combo Slash",
    "type" : "broadswordcombo",
    "scripts" : ["/items/active/weapons/melee/meleecombo.lua"],
    "class" : "MeleeCombo",

    "comboSteps" : 3,

    "flashTime" : 0.15,
    "flashDirectives" : "fade=FFFFFFFF=0.15",

    "swooshOffsetRegions" : [
    [0.75, 0.0, 4.25, 5.0],
    [3.0, -0.5, 6.5, 2.0],
    [1.5, -1.0, 5.5, 1.0]
    ],

    // cooldown time multiplier for steps after the first, compounded per combo step
    "comboSpeedFactor" : 0.9,

    "edgeTriggerGrace" : 0.25,

    "fireTime" : 0.8,
    "baseDps" : 11.5,

    "damageConfig" : {
    "damageSourceKind" : "broadsword",
    "statusEffects" : [ ],
    "knockbackMode" : "facing",
    "timeout" : 0.5
    },
    "stepDamageConfig" : [
    {
    "baseDamageFactor" : 1.0,
    "knockback" : 15
    },
    {
    "baseDamageFactor" : 0.5,
    "knockback" : 10
    },
    {
    "baseDamageFactor" : 1.0,
    "knockback" : 25
    }
    ],

    "stances" : {
    "idle" : {
    "armRotation" : -90,
    "weaponRotation" : -10,
    "allowRotate" : false,
    "allowFlip" : true
    },
    "windup1" : {
    "duration" : 0.1,
    "armRotation" : 90,
    "weaponRotation" : -10,
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : true
    },
    "preslash1" : {
    "duration" : 0.025,
    "armRotation" : 55,
    "weaponRotation" : -45,
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : false
    },
    "fire1" : {
    "duration" : 0.15,
    "armRotation" : -45,
    "weaponRotation" : -55,
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : false
    },
    "wait1" : {
    "duration" : 0.2,
    "armRotation" : -45,
    "weaponRotation" : -55,
    "allowRotate" : false,
    "allowFlip" : true,
    "twoHanded" : true
    },
    "windup2" : {
    "duration" : 0.15,
    "armRotation" : -15,
    "weaponRotation" : -60,
    "weaponOffset" : [0, 0],
    "twoHanded" : true,
    "allowFlip" : true,
    "allowRotate" : false
    },
    "fire2" : {
    "duration" : 0.2,
    "armRotation" : -150,
    "weaponRotation" : 55,
    "weaponOffset" : [0, 0],
    "twoHanded" : true,
    "allowFlip" : true,
    "allowRotate" : false
    },
    "wait2" : {
    "duration" : 0.2,
    "armRotation" : -150,
    "weaponRotation" : 55,
    "weaponOffset" : [0, 0],
    "allowRotate" : false,
    "allowFlip" : true,
    "twoHanded" : true
    },
    "windup3" : {
    "duration" : 0.15,
    "armRotation" : -150,
    "weaponRotation" : 55,
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : true
    },
    "fire3" : {
    "duration" : 0.3,
    "armRotation" : 0,
    "weaponRotation" : -90,
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : true
    }
    }
    }
    }



    Hammer :


    {
    "animationParts" : { },
    "animationCustom" : {
    "particleEmitters" : {
    "fireCharge" : {
    "active" : false,
    "transformationGroups" : ["weapon"],
    "emissionRate" : 25,
    "offsetRegion" : [-1.0, -2.5, 1.0, 1.5],
    "particles" : [
    { "particle" : "fireswoosh1"},
    { "particle" : "fireswoosh2"},
    { "particle" : "fireswoosh3"},
    { "particle" : "firesmoke"}
    ]
    },
    "electricCharge" : {
    "active" : false,
    "transformationGroups" : ["weapon"],
    "emissionRate" : 25,
    "offsetRegion" : [-1.0, -2.5, 1.0, 1.5],
    "particles" : [
    { "particle" : "electricswoosh1"},
    { "particle" : "electricswoosh2"},
    { "particle" : "electricswoosh2"},
    { "particle" : "fastrisingelectric"}
    ]
    },
    "poisonCharge" : {
    "active" : false,
    "transformationGroups" : ["weapon"],
    "emissionRate" : 25,
    "offsetRegion" : [-1.0, -2.5, 1.0, 1.5],
    "particles" : [
    { "particle" : "poisonswoosh1"},
    { "particle" : "poisonswoosh2"},
    { "particle" : "fireswoosh2"},
    { "particle" : "poisonswoosh1"},
    { "particle" : "poisonswoosh2"},
    { "particle" : "fireswoosh2"},
    { "particle" : "poisonaura"}
    ]
    },
    "iceCharge" : {
    "active" : false,
    "transformationGroups" : ["weapon"],
    "emissionRate" : 25,
    "offsetRegion" : [-1.0, -2.5, 1.0, 1.5],
    "particles" : [
    { "particle" : "iceswoosh1"},
    { "particle" : "iceswoosh2"},
    { "particle" : "iceswoosh3"},
    { "particle" : "iceswoosh1"},
    { "particle" : "iceswoosh2"},
    { "particle" : "iceswoosh3"},
    { "particle" : "iceaura"}
    ]
    }
    },
    "sounds" : {
    "firecharge" : [ "/sfx/melee/shockwave_charge_fire.ogg" ],
    "firefull" : [ "/sfx/melee/shockwave_full_fire.ogg" ],
    "fireactivate" : [ "/sfx/melee/elemental_aura_activate.ogg" ],
    "fireactive" : [ "/sfx/melee/elemental_aura_fire.ogg" ],
    "firedeactivate" : [ "/sfx/gun/impact_plasma.ogg" ],
    "electriccharge" : [ "/sfx/melee/shockwave_charge_electric.ogg" ],
    "electricfull" : [ "/sfx/melee/shockwave_full_electric.ogg" ],
    "electricactivate" : [ "/sfx/melee/elemental_aura_activate.ogg" ],
    "electricactive" : [ "/sfx/melee/elemental_aura_electric.ogg" ],
    "electricdeactivate" : [ "/sfx/gun/impact_plasma.ogg" ],
    "icecharge" : [ "/sfx/melee/shockwave_charge_ice.ogg" ],
    "icefull" : [ "/sfx/melee/shockwave_full_ice.ogg" ],
    "iceactivate" : [ "/sfx/melee/elemental_aura_activate.ogg" ],
    "iceactive" : [ "/sfx/melee/elemental_aura_ice.ogg" ],
    "icedeactivate" : [ "/sfx/gun/impact_plasma.ogg" ],
    "poisoncharge" : [ "/sfx/melee/shockwave_charge_poison.ogg" ],
    "poisonfull" : [ "/sfx/melee/shockwave_full_poison.ogg" ],
    "poisonactivate" : [ "/sfx/melee/elemental_aura_activate.ogg" ],
    "poisonactive" : [ "/sfx/melee/elemental_aura_poison.ogg" ],
    "poisondeactivate" : [ "/sfx/gun/impact_plasma.ogg" ]
    }
    },

    "ability" : {
    "name" : "Energy Aura",
    "type" : "elementalaura",
    "scripts" : ["/items/active/weapons/melee/abilities/hammer/elementalaura/elementalaura.lua"],
    "class" : "ElementalAura",

    "energyUsage" : 120.0,
    "cooldownTime" : 0.5,

    "duration" : 8.0,

    "chargeTime" : 1.5,
    "minChargeTime" : 0.5,

    "elementalConfig" : {
    "fire" : {
    "damageConfig" : { "statusEffects" : [ "burning" ] }
    },
    "ice" : {
    "damageConfig" : { "statusEffects" : [ "frostslow" ] }
    },
    "poison" : {
    "damageConfig" : { "statusEffects" : [ "weakpoison" ] }
    },
    "electric" : {
    "damageConfig" : { "statusEffects" : [ "electrified" ] }
    }
    },

    "damagePoly" : [[0,3.75], [2.66, 2.66], [3.75,0], [2.66, -2.66], [0,-3.75], [-2.66, -2.66], [-3.75, 0], [-2.66, 2.66]],
    "damageConfig" : {
    "damageSourceKind" : "<elementalType>plasma",
    "baseDamage" : 4,
    "knockbackMode" : "none",
    "knockback" : 0,
    "timeout" : 0.5,
    "timeoutGroup" : "alt"
    },

    "stances" : {
    "windup" : {
    "armRotation" : 0,
    "endArmRotation" : 50,
    "weaponRotation" : 0,
    "endWeaponRotation" : -50,
    "weaponOffset" : [0, 0.75],
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : true
    },
    "fire" : {
    "duration" : 0.3,
    "armRotation" : 0,
    "weaponRotation" : 0,
    "weaponOffset" : [0, 0.75],
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : true
    }
    }
    }
    }




    {
    "animationParts" : { },
    "animationCustom" : {
    "particleEmitters" : {
    "fireCharge" : {
    "active" : false,
    "transformationGroups" : ["weapon"],
    "emissionRate" : 30,
    "offsetRegion" : [-1.0, 0.5, 1.0, 2.5],
    "particles" : [
    { "particle" : "fireswoosh1"},
    { "particle" : "fireswoosh2"},
    { "particle" : "fireswoosh3"}
    ]
    },
    "electricCharge" : {
    "active" : false,
    "transformationGroups" : ["weapon"],
    "emissionRate" : 30,
    "offsetRegion" : [-1.0, 0.5, 1.0, 2.5],
    "particles" : [
    { "particle" : "electricswoosh1"},
    { "particle" : "electricswoosh2"},
    { "particle" : "electricswoosh2"}
    ]
    },
    "iceCharge" : {
    "active" : false,
    "transformationGroups" : ["weapon"],
    "emissionRate" : 30,
    "offsetRegion" : [-1.0, 0.5, 1.0, 2.5],
    "particles" : [
    { "particle" : "iceswoosh1"},
    { "particle" : "iceswoosh2"},
    { "particle" : "iceswoosh3"},
    { "particle" : "iceaura"}
    ]
    },
    "poisonCharge" : {
    "active" : false,
    "transformationGroups" : ["weapon"],
    "emissionRate" : 30,
    "offsetRegion" : [-1.0, 0.5, 1.0, 2.5],
    "particles" : [
    { "particle" : "poisonswoosh1"},
    { "particle" : "poisonswoosh2"},
    { "particle" : "fireswoosh2"}
    ]
    }
    },
    "sounds" : {
    "firecharge" : [ "/sfx/melee/shockwave_charge_fire.ogg" ],
    "firefull" : [ "/sfx/melee/shockwave_full_fire.ogg" ],
    "fireimpact" : [ "/sfx/gun/grenadeblast_fire2.ogg" ],
    "electriccharge" : [ "/sfx/melee/shockwave_charge_electric.ogg" ],
    "electricfull" : [ "/sfx/melee/shockwave_full_electric.ogg" ],
    "electricimpact" : [ "/sfx/gun/grenadeblast_electric2.ogg" ],
    "icecharge" : [ "/sfx/melee/shockwave_charge_ice.ogg" ],
    "icefull" : [ "/sfx/melee/shockwave_full_ice.ogg" ],
    "iceimpact" : [ "/sfx/gun/grenadeblast_ice2.ogg" ],
    "poisoncharge" : [ "/sfx/melee/shockwave_charge_poison.ogg" ],
    "poisonfull" : [ "/sfx/melee/shockwave_full_poison.ogg" ],
    "poisonimpact" : [ "/sfx/gun/grenadeblast_poison2.ogg" ]
    }
    },

    "ability" : {
    "name" : "Energy Pillar",
    "type" : "elementalpillar",
    "scripts" : ["/items/active/weapons/melee/abilities/hammer/elementalpillar/elementalpillar.lua"],
    "class" : "ElementalPillar",

    "energyUsage" : 80.0,
    "cooldownTime" : 1.5,

    "chargeTime" : 1.2,
    "minChargeTime" : 0.5,

    "elementalConfig" : {
    "fire" : {
    "projectileType" : "firepillar"
    },
    "ice" : {
    "projectileType" : "icepillar"
    },
    "poison" : {
    "projectileType" : "poisonpillar"
    },
    "electric" : {
    "projectileType" : "electricpillar"
    }
    },
    "projectileParameters" : {
    "power" : 2.0,
    "knockback" : 25
    },

    "pillarBaseDistance" : 2,
    "pillarVerticalTolerance" : [-4, 0], // vertical offset from *player* position
    "pillarMaxHeight" : 10,
    "pillarDuration" : 2.0,

    "stances" : {
    "windup" : {
    "armRotation" : 0,
    "endArmRotation" : 110,
    "weaponRotation" : 180,
    "endWeaponRotation" : 130,
    "weaponOffset" : [0, 0.5],
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : true
    },
    "fire" : {
    "duration" : 0.5,
    "armRotation" : 0,
    "weaponRotation" : -180,
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : true
    }
    }
    }
    }




    {
    "animationParts" : { },
    "animationCustom" : {
    "animatedParts" : {
    "parts" : {
    "blade" : {
    "properties" : {
    "groundSlamPoint" : [0, 1.5]
    }
    }
    }
    },
    "sounds" : {
    "groundSlamJump" : [ "/sfx/melee/hammer_hit_ground3.ogg", "/sfx/melee/hammer_hit_ground4.ogg" ],
    "groundSlamFall" : [ "/sfx/tech/tech_dash.ogg" ]
    }
    },

    "ability" : {
    "name" : "Ground Slam",
    "type" : "groundslam",
    "scripts" : ["/items/active/weapons/melee/abilities/hammer/groundslam/groundslam.lua"],
    "class" : "GroundSlam",

    "energyUsage" : 80.0,
    "cooldownTime" : 1.0,

    "damageConfig" : {
    "damageSourceKind" : "hammer",
    "baseDamage" : 4,
    "knockback" : 0,
    "timeout" : 0.6,
    "timeoutGroup" : "alt"
    },

    "slamSpeed" : -75,
    "maxSlamTime" : 2.0,
    "winddownTime" : 0.2,

    "projectileType" : "physicalexplosionknockback",
    "projectileParameters" : {
    "power" : 8,
    "onlyHitTerrain" : true
    },

    "stances" : {
    "windup" : {
    "duration" : 0.25,
    "armRotation" : 45,
    "weaponRotation" : 135,
    "weaponOffset" : [0, 0.75],
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : true
    },
    "slam" : {
    "duration" : 0.25,
    "armRotation" : -45,
    "weaponRotation" : -135,
    "weaponOffset" : [0, 2.25],
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : false
    }
    }
    }
    }




    {
    "animationParts" : { },
    "animationCustom" : {
    "particleEmitters" : {
    "physicalCharge" : {
    "active" : false,
    "emissionRate" : 30,
    "particles" : [ ]
    }
    },
    "sounds" : {
    "physicalcharge" : [ ],
    "physicalfull" : [ ],
    "physicalimpact" : [ "/sfx/melee/shockwave_physical_slam.ogg" ]
    }
    },

    "ability" : {
    "name" : "Shockwave",
    "type" : "physicalshockwave",
    "scripts" : ["/items/active/weapons/melee/abilities/hammer/shockwave/shockwave.lua"],
    "class" : "ShockWave",

    "energyUsage" : 60.0,
    "cooldownTime" : 1.5,

    "chargeTime" : 1.0,
    "minChargeTime" : 0.5,

    "projectileType" : "physicalshockwave",
    "projectileParameters" : {
    "power" : 3.5,
    "knockback" : 35,
    "knockbackMode" : "facing"
    },
    "shockWaveBounds" : [-0.4, -1.375, 0.4, 0.0],
    "shockwaveHeight" : 1.375,
    "maxDistance" : 10,
    "bothDirections" : true,

    "impactLine" : [ [1.25, -1.5], [1.25, -4.5] ],
    "impactWeaponOffset" : 0.75,

    "stances" : {
    "windup" : {
    "armRotation" : 0,
    "endArmRotation" : 110,
    "weaponRotation" : 180,
    "endWeaponRotation" : 130,
    "weaponOffset" : [0, 0.5],
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : true
    },
    "fire" : {
    "duration" : 0.5,
    "armRotation" : 0,
    "weaponRotation" : -180,
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : true
    }
    }
    }
    }




    {
    "animationParts" : { },
    "animationCustom" : {
    "particleEmitters" : {
    "fireCharge" : {
    "active" : false,
    "transformationGroups" : ["weapon"],
    "emissionRate" : 30,
    "offsetRegion" : [-1.0, 0.5, 1.0, 2.5],
    "particles" : [
    { "particle" : "fireswoosh1"},
    { "particle" : "fireswoosh2"},
    { "particle" : "fireswoosh3"}
    ]
    },
    "electricCharge" : {
    "active" : false,
    "transformationGroups" : ["weapon"],
    "emissionRate" : 30,
    "offsetRegion" : [-1.0, 0.5, 1.0, 2.5],
    "particles" : [
    { "particle" : "electricswoosh1"},
    { "particle" : "electricswoosh2"},
    { "particle" : "electricswoosh2"}
    ]
    },
    "iceCharge" : {
    "active" : false,
    "transformationGroups" : ["weapon"],
    "emissionRate" : 30,
    "offsetRegion" : [-1.0, 0.5, 1.0, 2.5],
    "particles" : [
    { "particle" : "iceswoosh1"},
    { "particle" : "iceswoosh2"},
    { "particle" : "iceswoosh3"}
    ]
    },
    "poisonCharge" : {
    "active" : false,
    "transformationGroups" : ["weapon"],
    "emissionRate" : 30,
    "offsetRegion" : [-1.0, 0.5, 1.0, 2.5],
    "particles" : [
    { "particle" : "poisonswoosh1"},
    { "particle" : "poisonswoosh2"},
    { "particle" : "fireswoosh2"}
    ]
    },
    "waterCharge" : {
    "active" : false,
    "transformationGroups" : ["weapon"],
    "emissionRate" : 30,
    "offsetRegion" : [-1.0, 0.5, 1.0, 2.5],
    "particles" : [
    { "particle" : "bubbleboost"}
    ]
    }
    },
    "sounds" : {
    "firecharge" : [ "/sfx/melee/shockwave_charge_fire.ogg" ],
    "firefull" : [ "/sfx/melee/shockwave_full_fire.ogg" ],
    "fireimpact" : [ "/sfx/gun/grenadeblast_fire2.ogg" ],
    "electriccharge" : [ "/sfx/melee/shockwave_charge_electric.ogg" ],
    "electricfull" : [ "/sfx/melee/shockwave_full_electric.ogg" ],
    "electricimpact" : [ "/sfx/gun/grenadeblast_electric2.ogg" ],
    "icecharge" : [ "/sfx/melee/shockwave_charge_ice.ogg" ],
    "icefull" : [ "/sfx/melee/shockwave_full_ice.ogg" ],
    "iceimpact" : [ "/sfx/gun/grenadeblast_ice2.ogg" ],
    "poisoncharge" : [ "/sfx/melee/shockwave_charge_poison.ogg" ],
    "poisonfull" : [ "/sfx/melee/shockwave_full_poison.ogg" ],
    "poisonimpact" : [ "/sfx/gun/grenadeblast_poison2.ogg" ],
    "watercharge" : [ "/sfx/melee/shockwave_charge_ice.ogg" ],
    "waterfull" : [ "/sfx/melee/shockwave_full_ice.ogg" ],
    "waterimpact" : [ "/sfx/gun/grenadeblast_ice2.ogg" ]
    }
    },

    "ability" : {
    "name" : "Energy Wave",
    "type" : "shockwave",
    "scripts" : ["/items/active/weapons/melee/abilities/hammer/shockwave/shockwave.lua"],
    "class" : "ShockWave",

    "energyUsage" : 100.0,

    "cooldownTime" : 1.5,

    "chargeTime" : 1.5,
    "minChargeTime" : 0.5,

    "elementalConfig" : {
    "fire" : {
    "projectileType" : "fireshockwave"
    },
    "ice" : {
    "projectileType" : "iceshockwave"
    },
    "poison" : {
    "projectileType" : "poisonshockwave"
    },
    "electric" : {
    "projectileType" : "electricshockwave"
    },
    "water" : {
    "projectileType" : "watershockwave"
    }
    },
    "projectileParameters" : {
    "power" : 3.5,
    "knockback" : 35,
    "knockbackMode" : "facing",
    "onlyHitTerrain" : true
    },
    "shockWaveBounds" : [-0.4, -1.375, 0.4, 0.0],
    "shockwaveHeight" : 1.375,
    "maxDistance" : 15,

    "impactLine" : [ [1.25, -1.5], [1.25, -4.5] ],
    "impactWeaponOffset" : 0.75,

    "stances" : {
    "windup" : {
    "armRotation" : 0,
    "endArmRotation" : 110,
    "weaponRotation" : 180,
    "endWeaponRotation" : 130,
    "weaponOffset" : [0, 0.5],
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : true
    },
    "fire" : {
    "duration" : 0.5,
    "armRotation" : 0,
    "weaponRotation" : -180,
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : true
    }
    }
    }
    }




    {
    "animationParts" : { },
    "animationCustom" : {
    "animatedParts" : {
    "stateTypes" : {
    "uppercutSwoosh" : {
    "default" : "idle",
    "states" : {
    "idle" : {
    },
    "fire" : {
    "frames" : 3,
    "cycle" : 0.07,
    "mode" : "transition",
    "transition" : "idle"
    }
    }
    }
    },
    "parts" : {
    "uppercutSwoosh" : {
    "properties" : {
    "zLevel" : -1,
    "centered" : true,
    "offset" : [-2.0, -1.5],
    "transformationGroups" : ["swoosh"],
    "rotationCenter" : [0, 0]
    },

    "partStates" : {
    "uppercutSwoosh" : {
    "idle" : {
    "properties" : {
    "image" : ""
    }
    },
    "fire" : {
    "properties" : {
    "image" : "/items/active/weapons/melee/abilities/hammer/uppercut/uppercutswoosh.png:<frame>",
    "damageArea" : [[-3.5, -2], [-2.5, -3], [1, -3], [3, -1.75], [4, 0.25], [4, 2.25], [3, 3.25], [0, 2.5]]
    }
    }
    }
    }
    }
    }
    },
    "sounds" : {
    "uppercut" : [ "/sfx/melee/swing_broadsword.ogg" ]
    }
    },

    "ability" : {
    "name" : "Uppercut",
    "type" : "uppercut",
    "scripts" : ["/items/active/weapons/melee/abilities/hammer/uppercut/uppercut.lua"],
    "class" : "Uppercut",

    "energyUsage" : 60.0,
    "cooldownTime" : 1.0,

    "chargeTime" : 0.6,
    "minChargeTime" : 0.2,
    "knockback" : [0, 70],

    "damageConfig" : {
    "damageSourceKind" : "hammer",
    "baseDamage" : 7.5,
    "timeout" : 0.6,
    "timeoutGroup" : "alt"
    },

    "stances" : {
    "windup" : {
    "armRotation" : -80,
    "endArmRotation" : -100,
    "weaponRotation" : -170,
    "endWeaponRotation" : -170,
    "weaponOffset" : [0, 1.75],
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : true
    },
    "fire" : {
    "duration" : 0.25,
    "armRotation" : 45,
    "weaponRotation" : -125,
    "weaponOffset" : [0, 2.0],
    "twoHanded" : true,

    "allowRotate" : false,
    "allowFlip" : false
    }
    }
    }
    }




    {
    "animationParts" : { },
    "animationCustom" : { },

    "ability" : {
    "name" : "Smash",
    "type" : "hammersmash",
    "scripts" : ["/items/active/weapons/melee/abilities/hammer/hammersmash.lua"],
    "class" : "HammerSmash",

    "fireTime" : 1.3,
    "baseDps" : 10.5,
    "damageConfig" : {
    "damageSourceKind" : "hammer",
    "statusEffects" : [ ],
    "knockbackMode" : "facing",
    "knockback" : 40
    },
    "smashMomentum" : [0, -45],
    "stances" : {
    "idle" : {
    "armRotation" : -90,
    "weaponRotation" : -10,
    "weaponOffset" : [-0.125, 0.5],

    "allowRotate" : false,
    "allowFlip" : true
    },
    "windup" : {
    "duration" : 0.8,
    "armRotation" : 90,
    "weaponRotation" : -10,
    "twoHanded" : true,
    "weaponOffset" : [0, 1.75],

    "allowRotate" : false,
    "allowFlip" : true,

    "bounceTime" : 0.2,
    "bounceWeaponAngle" : [
    [0.75, "linear", 20, 60],
    [0.875, "sin", 60, 55],
    [1.0, "cos", 60, 55]
    ],
    "bounceArmAngle" : [
    [1.0, "linear", 40, 50]
    ],

    "weaponAngle" : [
    [1.0, "linear", -20, 20]
    ],
    "armAngle" : [
    [1.0, "sin", -90, 40]
    ]
    },
    "preslash" : {
    "duration" : 0.025,
    "armRotation" : 55,
    "weaponRotation" : -45,
    "twoHanded" : true,
    "weaponOffset" : [0, 2.0],

    "allowRotate" : false,
    "allowFlip" : false
    },
    "fire" : {
    "duration" : 0.4,
    "armRotation" : -35,
    "weaponRotation" : -55,
    "twoHanded" : true,
    "smashTimer" : 1.5,
    "weaponOffset" : [0, 2.0],

    "allowRotate" : false,
    "allowFlip" : false
    }
    }
    }
    }



    Shortsword :


    {
    "animationParts" : { },
    "animationCustom" : {
    "sounds" : {
    "fire" : [ "/sfx/melee/swing_shortsword.ogg" ],
    "fire2" : [ "/sfx/melee/swing_spear.ogg" ]
    }
    },

    "ability" : {
    "name" : "Combo Slash",
    "type" : "shortswordcombo",
    "scripts" : ["/items/active/weapons/melee/meleecombo.lua"],
    "class" : "MeleeCombo",

    "comboSteps" : 2,

    "flashTime" : 0.15,
    "flashDirectives" : "fade=FFFFFFFF=0.15",

    "swooshOffsetRegions" : [
    [-1.0, -0.25, 2.5, 2.0],
    [0, -0.5, 2.5, 1.0]
    ],

    // cooldown time multiplier for steps after the first, compounded per combo step
    "comboSpeedFactor" : 0.9,

    "edgeTriggerGrace" : 0.25,

    "fireTime" : 0.625,
    "baseDps" : 7.5,

    "damageConfig" : {
    "damageSourceKind" : "shortsword",
    "statusEffects" : [ ],
    "knockbackMode" : "facing",
    "timeout" : 0.5
    },
    "stepDamageConfig" : [
    {
    "baseDamageFactor" : 1.0,
    "knockback" : 10
    },
    {
    "baseDamageFactor" : 1.4,
    "knockback" : 20
    }
    ],

    "stances" : {
    "idle" : {
    "armRotation" : -90,
    "weaponRotation" : -10,
    "weaponOffset" : [0, 2.25],

    "allowFlip" : true,
    "allowRotate" : true
    },
    "windup1" : {
    "duration" : 0.05,
    "armRotation" : -15,
    "weaponRotation" : -60,
    "weaponOffset" : [0, 2.25],

    "allowFlip" : true,
    "allowRotate" : true
    },
    "fire1" : {
    "duration" : 0.2,
    "armRotation" : -135,
    "weaponRotation" : 40,
    "weaponOffset" : [0, 2.25],

    "allowFlip" : true,
    "allowRotate" : true
    },
    "wait1" : {
    "duration" : 0.3,
    "armRotation" : -135,
    "weaponRotation" : 40,
    "weaponOffset" : [0, 2.25],
    "allowRotate" : true,
    "allowFlip" : true,
    "twoHanded" : false
    },
    "windup2" : {
    "duration" : 0.1,
    "armRotation" : -135,
    "weaponRotation" : 40,
    "weaponOffset" : [0, 2.25],
    "twoHanded" : false,
    "allowFlip" : true,
    "allowRotate" : true
    },
    "fire2" : {
    "duration" : 0.3,
    "armRotation" : 0,
    "weaponRotation" : -90,
    "weaponOffset" : [0, 2.25],
    "twoHanded" : false,
    "allowFlip" : true,
    "allowRotate" : true
    }
    }
    }
    }



    Spear :


    {
    "animationCustom" : {
    "animatedParts" : {
    "stateTypes" : {
    "orbGlow" : {
    "default" : "off",
    "states" : {
    "off" : {},
    "idle" : {
    "frames" : 4,
    "cycle" : 0.25,
    "mode" : "loop"
    },
    "glow" : {
    "frames" : 4,
    "cycle" : 0.25,
    "mode" : "transition",
    "transition" : "idle"
    }
    }
    }
    },
    "parts" : {
    "glowingOrb" : {
    "properties" : {
    "centered" : true,
    "zLevel" : 3,
    "offset" : [0.0, 4.5],
    "transformationGroups" : ["weapon"],
    "projectileSource" : [0.0, 0.0]
    },
    "partStates" : {
    "orbGlow" : {
    "off" : {
    "properties" : {
    "image" : ""
    }
    },
    "idle" : {
    "properties" : {
    "image" : "/items/active/weapons/melee/abilities/spear/barrier/<elementalType>orb.png:idle.<frame>"
    }
    },
    "glow" : {
    "properties" : {
    "image" : "/items/active/weapons/melee/abilities/spear/barrier/<elementalType>orb.png:glow.<frame>"
    }
    }
    }
    }
    }
    }
    },

    "lights" : {
    "orbLight" : {
    "active" : false,
    "position" : [0.0, 1.0],
    "transformationGroups" : ["weapon"],
    "color" : [80, 80, 80]
    }
    },

    "sounds" : {
    "fireActive" : [ "/sfx/melee/barrier_create_fire.ogg" ],
    "electricActive" : [ "/sfx/melee/barrier_create_electric.ogg" ],
    "iceActive" : [ "/sfx/melee/barrier_create_ice.ogg" ],
    "poisonActive" : [ "/sfx/melee/barrier_create_poison.ogg" ]
    }
    },

    "ability" : {
    "name" : "Barrier",
    "type" : "barrier",
    "scripts" : ["/items/active/weapons/melee/abilities/spear/barrier/barrier.lua"],
    "class" : "Barrier",

    "energyUsage" : 9.0,

    "projectileParameters" : {
    "power" : 1.0
    },
    "projectileInterval" : 1.0,
    "elementalConfig" : {
    "fire" : {
    "projectileType" : "firebarrier"
    },
    "ice" : {
    "projectileType" : "icebarrier"
    },
    "poison" : {
    "projectileType" : "poisonbarrier"
    },
    "electric" : {
    "projectileType" : "electricbarrier"
    }
    },

    "elementalLightColors" : {
    "fire" : [150, 80, 80],
    "electric" : [80, 80, 150],
    "ice" : [110, 110, 140],
    "poison" : [80, 150, 80]
    },

    "stances" : {
    "hold" : {
    "weaponOffset" : [0.0, 0.5],
    "armRotation" : -15,
    "weaponRotation" : -75,
    "twoHanded" : true,

    "allowRotate" : true,
    "allowFlip" : true
    }
    }
    }
    }




    {
    "animationParts" : { },
    "animationCustom" : {
    "animatedParts" : {
    "stateTypes" : {
    "dashSwoosh" : {
    "default" : "idle",
    "states" : {
    "idle" : {
    },
    "charge" : {
    "frames" : 4,
    "cycle" : 2.0,
    "properties" : {
    "persistentSound" : "/sfx/objects/teslaspike.ogg"
    }
    },
    "full" : {
    "properties" : {
    "immediateSound" : "/sfx/gun/grenadeblast3.ogg"
    }
    }
    }
    }
    },
    "parts" : {
    "dashSwoosh" : {
    "properties" : {
    "zLevel" : 1,
    "centered" : true,
    "transformationGroups" : ["swoosh"],
    "offset" : [3.75, 0.0625],
    "fullbright" : true,
    "damageArea" : [[-6, 0], [-3.5, 1], [-1.5, 1], [1.5, 0], [-1.5, -1], [-3.5, -1]]
    },
    "partStates" : {
    "dashSwoosh" : {
    "idle" : {
    "properties" : {
    "image" : ""
    }
    },
    "charge" : {
    "properties" : {
    "image" : "/items/active/weapons/melee/abilities/spear/charge/chargeswoosh.png:<frame>"
    }
    },
    "full" : {
    "properties" : {
    "image" : "/items/active/weapons/melee/abilities/spear/charge/chargeswoosh.png:4"
    }
    }
    }
    }
    }
    }
    }
    },
    "animationScripts" : [
    "/items/active/effects/lightning.lua"
    ],

    "ability" : {
    "type" : "spearcharge",
    "scripts" : ["/items/active/weapons/melee/abilities/spear/charge/charge.lua"],
    "class" : "Charge",

    "chargeTime" : 2.0,
    "minChargeTime" : 0.5,
    "chargeLevels" : 4,
    // [width, forks, branching, color]
    "lightningChargeLevels" : [
    [1.15, 0, 0.05, [255, 255, 150, 50]],
    [1.15, 0, 0.07, [255, 255, 185, 50]],
    [1.15, 0, 0.09, [255, 255, 215, 50]],
    [1.15, 0, 0.12, [255, 255, 255, 50]]
    ],
    "dashLightning" : [1, 0, 0.12, [255, 255, 255, 50]],

    "dashMaxSpeed" : 200,
    "dashControlForce" : 1600,
    "maxDashTime" : 0.20,
    "maxEnergyUsage" : 50,

    "freezeTime" : 0.1,

    "damageConfig" : {
    "baseDamage" : 6,
    "timeout" : 0.25,
    "timeoutGroup" : "alt"
    },
    "baseDps" : 6, // overrides baseDamage in damageConfig

    "cycleRotationOffsets" : [0, 7.5, -7.5],
    "stances" : {
    "charge" : {
    "armRotation" : -135,
    "weaponRotation" : 45,
    "twoHanded" : true,
    "weaponOffset" : [0.0, 0.0],

    "allowRotate" : true,
    "allowFlip" : true
    },
    "dash" : {
    "armRotation" : -25,
    "weaponRotation" : -65,
    "twoHanded" : true,
    "weaponOffset" : [0.0, 2.0],

    "allowRotate" : false,
    "allowFlip" : false
    }
    }
    }
    }




    {
    "animationParts" : { },
    "animationCustom" : {
    "animatedParts" : {
    "stateTypes" : {
    "spinSwoosh" : {
    "default" : "idle",
    "states" : {
    "idle" : {
    },
    "spin" : {
    "frames" : 1,
    "cycle" : 0.5,
    "properties" : {
    "persistentSound" : "/sfx/melee/spear_twirl_loop.ogg"
    }
    }
    }
    }
    },
    "parts" : {
    "spinSwoosh" : {
    "properties" : {
    "zLevel" : 1,
    "centered" : true,
    "transformationGroups" : ["swoosh"],
    "offset" : [0, 0],
    "damageArea" : [ [-3.75, 1.75], [-1.75, 3.75], [1.75, 3.75], [3.75, 1.75], [3.75, -1.75], [1.75, -3.75], [-1.75, -3.75], [-3.75, -1.75] ]
    },
    "partStates" : {
    "spinSwoosh" : {
    "idle" : {
    "properties" : {
    "image" : ""
    }
    },
    "spin" : {
    "properties" : {
    "image" : "/items/active/weapons/melee/abilities/spear/elementalspin/<elementalType>spinswoosh.png:<frame>"
    }
    }
    }
    }
    }
    }
    },
    "sounds" : {
    "fireSpin" : ["/sfx/melee/elemental_spin_fire.ogg" ],
    "fireSpinFire" : ["/sfx/melee/travelingslash_fire2.ogg" ],
    "iceSpin" : ["/sfx/melee/elemental_spin_ice.ogg" ],
    "iceSpinFire" : ["/sfx/melee/travelingslash_ice2.ogg" ],
    "electricSpin" : [ "/sfx/melee/elemental_spin_electric.ogg" ],
    "electricSpinFire" : [ "/sfx/melee/travelingslash_electric7.ogg" ],
    "poisonSpin" : ["/sfx/melee/elemental_spin_poison.ogg" ],
    "poisonSpinFire" : ["/sfx/melee/travelingslash_poison1.ogg" ]
    },
    "particleEmitters" : {
    "fireSpin" : {
    "active" : false,
    "emissionRate" : 12,
    "offsetRegion" : [-3.5, -3.5, 3.5, 3.5],
    "particles" : [
    { "particle" : "fireswoosh1"},
    { "particle" : "fireswoosh2"},
    { "particle" : "fireswoosh3"},
    { "particle" : "fireswoosh1"},
    { "particle" : "fireswoosh2"},
    { "particle" : "fireswoosh3"}
    ]
    },
    "electricSpin" : {
    "active" : false,
    "emissionRate" : 12,
    "offsetRegion" : [-3.5, -3.5, 3.5, 3.5],
    "particles" : [
    { "particle" : "electricswoosh1"},
    { "particle" : "electricswoosh2"},
    { "particle" : "electricswoosh2"}
    ]
    },
    "poisonSpin" : {
    "active" : false,
    "emissionRate" : 12,
    "offsetRegion" : [-3.5, -3.5, 3.5, 3.5],
    "particles" : [
    { "particle" : "poisonswoosh1"},
    { "particle" : "poisonswoosh2"},
    { "particle" : "fireswoosh2"},
    { "particle" : "poisonswoosh1"},
    { "particle" : "poisonswoosh2"},
    { "particle" : "fireswoosh2"}
    ]
    },
    "iceSpin" : {
    "active" : false,
    "emissionRate" : 12,
    "offsetRegion" : [-3.5, -3.5, 3.5, 3.5],
    "particles" : [
    { "particle" : "iceswoosh1"},
    { "particle" : "iceswoosh2"},
    { "particle" : "iceswoosh3"},
    { "particle" : "iceswoosh1"},
    { "particle" : "iceswoosh2"},
    { "particle" : "iceswoosh3"}
    ]
    }
    }
    },

    "ability" : {
    "name" : "Energy Whirl",
    "type" : "elementalspin",
    "scripts" : ["/items/active/weapons/melee/abilities/spear/elementalspin/elementalspin.lua"],
    "class" : "ElementalSpin",

    "energyUsage" : 60,
    "projectileEnergyCost" : 30,
    "cooldownTime" : 1.0,

    "spinRate" : -1750,

    "elementalConfig" : {
    "fire" : {
    "projectileType" : "firespinswoosh",
    "damageConfig" : { "statusEffects" : [ "burning" ] }
    },
    "ice" : {
    "projectileType" : "icespinswoosh",
    "damageConfig" : { "statusEffects" : [ "frostslow" ] }
    },
    "poison" : {
    "projectileType" : "poisonspinswoosh",
    "damageConfig" : { "statusEffects" : [ "weakpoison" ] }
    },
    "electric" : {
    "projectileType" : "electricspinswoosh",
    "damageConfig" : { "statusEffects" : [ "electrified" ] }
    }
    },

    "damageConfig" : {
    "damageSourceKind" : "<elementalType>spear",
    "statusEffects" : [ ],
    "baseDamage" : 6,
    "knockbackMode" : "none",
    "knockback" : 30,
    "timeout" : 0.5,
    "timeoutGroup" : "alt"
    },
    "projectileParameters" : {
    "power" : 6,
    "knockback" : 15
    },

    "stances" : {
    "windup" : {
    "duration" : 0.35,
    "armRotation" : -160,
    "weaponRotation" : -40,
    "twoHanded" : false,
    "weaponOffset" : [0, 0],

    "allowRotate" : false,
    "allowFlip" : true
    },
    "fire" : {
    "duration" : 0.25,
    "armRotation" : -20,
    "weaponRotation" : -50,
    "twoHanded" : false,
    "weaponOffset" : [0, 1.5],

    "allowRotate" : false,
    "allowFlip" : false
    }
    }
    }
    }




    {
    "animationParts" : { },
    "animationCustom" : {
    "sounds" : {
    "flurry" : [ "/sfx/melee/spear_flurry.ogg" ]
    }
    },

    "ability" : {
    "name" : "Flurry",
    "type" : "flurry",
    "scripts" : ["/items/active/weapons/melee/abilities/spear/flurry/flurry.lua"],
    "class" : "Flurry",

    "cooldownResetTime" : 0.25,
    "maxCooldownTime" : 0.25,
    "minCooldownTime" : 0.15,
    "cooldownSwingReduction" : 0.04,

    "energyUsage" : 9.0,
    "cooldownTime" : 0.2,

    "damageConfig" : {
    "damageSourceKind" : "spear",
    "statusEffects" : [ ],
    "baseDamage" : 3,
    "knockback" : 10,
    "timeout" : 0.15,
    "timeoutGroup" : "alt"
    },

    "cycleRotationOffsets" : [0, 7.5, -7.5],
    "stances" : {
    "idle" : {
    "armRotation" : -90,
    "weaponRotation" : 0,
    "twoHanded" : false,
    "weaponOffset" : [0, 0.5],

    "allowRotate" : true,
    "allowFlip" : true
    },
    "swing" : {
    "duration" : 0.1,
    "armRotation" : -15,
    "weaponRotation" : -75,
    "twoHanded" : true,
    "weaponOffset" : [0.0, 0.0],

    "allowRotate" : false,
    "allowFlip" : false
    }
    }
    }
    }




    {
    "animationParts" : { },
    "animationCustom" : {
    "animatedParts" : {
    "stateTypes" : {
    "chargeSwoosh" : {
    "default" : "idle",
    "states" : {
    "idle" : {
    },
    "charge" : {
    "frames" : 4,
    "cycle" : 0.5,
    "properties" : {
    // "immediateSound" : "/sfx/melee/charge_up15.ogg"
    }
    },
    "full" : {
    "properties" : {
    // "persistentSound" : "/sfx/gun/flamethrower.ogg"
    }
    }
    }
    }
    },
    "parts" : {
    "chargeSwoosh" : {
    "properties" : {
    "zLevel" : 1,
    "centered" : true,
    "transformationGroups" : ["swoosh"],
    "offset" : [3.75, 0.0625],
    "fullbright" : true,
    "damageArea" : [[-6, 0], [-3.5, 1], [-1.5, 1], [1.5, 0], [-1.5, -1], [-3.5, -1]],
    "projectileSource" : [0,0]
    },
    "partStates" : {
    "chargeSwoosh" : {
    "idle" : {
    "properties" : {
    "image" : ""
    }
    },
    "charge" : {
    "properties" : {
    "image" : "/items/active/weapons/melee/abilities/spear/rocketspear/<elementalType>rocketcharge.png:<frame>"
    }
    },
    "full" : {
    "properties" : {
    "image" : "/items/active/weapons/melee/abilities/spear/rocketspear/<elementalType>rocketcharge.png:4"
    }
    }
    }
    }
    }
    }
    },
    "sounds" : {
    "fireStart" : [ "/sfx/melee/swing_spear_fire1.ogg", "/sfx/melee/swing_spear_fire2.ogg", "/sfx/melee/swing_spear_fire3.ogg" ],
    "fireBlast" : [ "/sfx/melee/rocketspear_loop_fire.ogg" ],
    "fireEnd" : [ "/sfx/melee/rocketspear_stop_fire.ogg" ],
    "iceStart" : [ "/sfx/melee/swing_spear_ice1.ogg", "/sfx/melee/swing_spear_ice2.ogg", "/sfx/melee/swing_spear_ice3.ogg" ],
    "iceBlast" : [ "/sfx/melee/rocketspear_loop_ice.ogg" ],
    "iceEnd" : [ "/sfx/melee/rocketspear_stop_ice.ogg" ],
    "electricStart" : [ "/sfx/melee/swing_spear_electric1.ogg", "/sfx/melee/swing_spear_electric2.ogg", "/sfx/melee/swing_spear_electric3.ogg" ],
    "electricBlast" : [ "/sfx/melee/barrier_create_electric.ogg" ],
    "electricEnd" : [ ],
    "poisonStart" : [ "/sfx/melee/swing_spear_poison1.ogg", "/sfx/melee/swing_spear_poison2.ogg", "/sfx/melee/swing_spear_poison3.ogg" ],
    "poisonBlast" : [ "/sfx/melee/rocketspear_loop_poison.ogg" ],
    "poisonEnd" : [ "/sfx/melee/rocketspear_stop_poison.ogg" ]
    }
    },

    "ability" : {
    "name" : "Rocket Spear",
    "type" : "rocketspear",
    "scripts" : ["/items/active/weapons/melee/abilities/spear/rocketspear/rocketspear.lua"],
    "class" : "RocketSpear",

    "baseDps" : 9,
    "cooldownTime" : 0.5,
    "energyUsage" : 45,
    "fireTime" : 0.065,
    "inaccuracy" : 0.05,

    "boostSpeed" : 20,
    "boostForce" : 100,

    "elementalConfig" : {
    "fire" : {
    "projectileType" : "flamethrower"
    },
    "ice" : {
    "projectileType" : "icethrower"
    },
    "poison" : {
    "projectileType" : "poisonthrower"
    },
    "electric" : {
    "projectileType" : "lightningthrower"
    }
    },
    "projectileParameters" : {
    "speed" : 20
    },

    "stances" : {
    "windup" : {
    "duration" : 0.15,
    "armRotation" : -100,
    "weaponRotation" : 10,
    "twoHanded" : true,
    "weaponOffset" : [0, 0.5],

    "allowRotate" : false,
    "allowFlip" : false
    },
    "fire" : {
    "armRotation" : -15,
    "weaponRotation" : -75,
    "twoHanded" : true,
    "weaponOffset" : [0.0, 1.25],

    "allowRotate" : true,
    "allowFlip" : true
    }
    }
    }
    }




    {
    "animationParts" : { },
    "animationCustom" : {
    "animatedParts" : {
    "stateTypes" : {
    "spinSwoosh" : {
    "default" : "idle",
    "states" : {
    "idle" : {
    },
    "spin" : {
    "frames" : 1,
    "cycle" : 0.5,
    "properties" : {
    "persistentSound" : "/sfx/melee/spear_twirl_loop.ogg"
    }
    }
    }
    }
    },
    "parts" : {
    "spinSwoosh" : {
    "properties" : {
    "zLevel" : 1,
    "centered" : true,
    "transformationGroups" : ["swoosh"],
    "offset" : [0, 0],
    "fullbright" : true,
    "damageArea" : [ [-3.75, 1.75], [-1.75, 3.75], [1.75, 3.75], [3.75, 1.75], [3.75, -1.75], [1.75, -3.75], [-1.75, -3.75], [-3.75, -1.75] ]
    },
    "partStates" : {
    "spinSwoosh" : {
    "idle" : {
    "properties" : {
    "image" : ""
    }
    },
    "spin" : {
    "properties" : {
    "image" : "/items/active/weapons/melee/abilities/spear/spin/spinswoosh.png:<frame>"
    }
    }
    }
    }
    }
    }
    }
    },

    "ability" : {
    "name" : "Blade Whirl",
    "type" : "spearspin",
    "scripts" : ["/items/active/weapons/melee/abilities/spear/spin/spin.lua"],
    "class" : "Spin",

    "energyUsage" : 60,
    "cooldownTime" : 0.2,

    "damageConfig" : {
    "damageSourceKind" : "spear",
    "statusEffects" : [ ],
    "baseDamage" : 6,
    "knockbackMode" : "none",
    "knockback" : 30,
    "timeout" : 0.5,
    "timeoutGroup" : "alt"
    },

    "spinRate" : -1750,

    "stances" : {
    "spin" : {
    "armRotation" : 80,
    "weaponRotation" : -40,
    "twoHanded" : true,
    "weaponOffset" : [0, 0],

    "allowRotate" : false,
    "allowFlip" : false
    }
    }
    }
    }




    {
    "animationParts" : { },
    "animationCustom" : { },

    "ability" : {
    "name" : "Stab",
    "type" : "spearstab",
    "scripts" : ["/items/active/weapons/melee/abilities/spear/spearstab.lua"],
    "class" : "SpearStab",

    "fireTime" : 1.0,
    "baseDps" : 9.5,
    "damageConfig" : {
    "damageSourceKind" : "spear",
    "statusEffects" : [ ],
    "knockbackMode" : "aim",
    "knockback" : 30,
    "timeoutGroup" : "primary"
    },
    "holdDamageMultiplier" : 0.1,
    "holdDamageConfig" : {
    "timeoutGroup" : "hold",
    "timeout" : 0.5
    },
    "stances" : {
    "idle" : {
    "armRotation" : -90,
    "weaponRotation" : 0,
    "twoHanded" : false,
    "weaponOffset" : [0, 0.5],

    "allowRotate" : true,
    "allowFlip" : true
    },
    "windup" : {
    "duration" : 0.1,
    "armRotation" : -110,
    "weaponRotation" : 20,
    "twoHanded" : true,
    "weaponOffset" : [0, 0.5],

    "allowRotate" : false,
    "allowFlip" : false
    },
    "fire" : {
    "duration" : 0.3,
    "armRotation" : -20,
    "weaponRotation" : -70,
    "twoHanded" : true,
    "weaponOffset" : [0, 2.5],

    "allowRotate" : false,
    "allowFlip" : false
    },
    "hold" : {
    "armRotation" : -30,
    "weaponRotation" : -60,
    "twoHanded" : true,
    "weaponOffset" : [0, 2.0],

    "allowRotate" : true,
    "allowFlip" : true
    }
    }
    }
    }




    Thank you for viewing this resource, and hopefully it has been useful!
     
    Zanderfel and MetaFace like this.
  2. MetaFace

    MetaFace Guest

  3. ImHereForTheMods

    ImHereForTheMods Cosmic Narwhal

    Do I detect a tier 7 sass factor?
    ahahaha

    Seriously though, glad to help. =P
    and thanks, as well.
     
    MetaFace likes this.
  4. MetaFace

    MetaFace Guest

    yea... I'm kidding though, you did one thing I couldn't... finish a mod. Of course I'm trying to get back to it, with some actual lua instead of straight json.
     
  5. ImHereForTheMods

    ImHereForTheMods Cosmic Narwhal

    Haha. Ah, don't worry, I'm sure if I can do it, anyone can. Just takes time, which believe me, I spend a lot of when I mod.

    My mod is far from finished though... haha. Will probably be a week before I can say I'm done, then a while longer to release probably.

    Good luck on your mod though!
     
    MetaFace likes this.

Share This Page