Created manifest file to tie abilities to a particular weapon kind.

This commit is contained in:
Sam 2020-11-09 15:31:41 -06:00
parent 770aaf6b93
commit 4c6ee4b161
2 changed files with 91 additions and 0 deletions

View File

@ -0,0 +1,10 @@
BasicMelee(
energy_cost: 0,
buildup_duration: 0,
swing_duration: 100,
recover_duration: 900,
base_damage: 20,
knockback: 0.0,
range: 3.5,
max_angle: 15.0,
)

View File

@ -0,0 +1,81 @@
// Maps a tool kind to a set of abilities
// A set of abilities is a primary, a secondary, and a vec of all extra abilities
({
Sword: (
primary: "common.abilities.sword.triplestrike",
secondary: "common.abilities.sword.dash",
skills: [
"common.abilities.sword.spin",
],
),
Axe: (
primary: "common.abilities.axe.tempbasic",
secondary: "common.abilities.axe.spin",
skills: [
"common.abilities.axe.leap",
],
),
Hammer: (
primary: "common.abilities.hammer.tempbasic",
secondary: "common.abilities.hammer.charged",
skills: [
"common.abilities.hammer.leap",
],
),
Bow: (
primary: "common.abilities.bow.basic",
secondary: "common.abilities.bow.charged",
skills: [
"common.abilities.bow.repeater",
],
),
Staff: (
primary: "common.abilities.staff.firebomb",
secondary: "common.abilities.staff.flamethrower",
skills: [
"common.abilities.staff.fireshockwave",
],
),
Sceptre: (
primary: "common.abilities.sceptre.healingbeam",
secondary: "common.abilities.sceptre.healingbomb",
skills: [],
),
Dagger: (
primary: "common.abilities.dagger.tempbasic",
secondary: "common.abilities.dagger.tempbasic",
skills: [],
),
Shield: (
primary: "common.abilities.shield.tempbasic",
secondary: "common.abilities.shield.tempbasic",
skills: [],
),
Unique(StoneGolemFist): (
primary: "common.abilities.unique.stonegolemfist.basic",
secondary: "common.abilities.unique.stonegolemfist.shockwave",
skills: [],
),
Unique(BeastClaws): (
primary: "common.abilities.unique.beastclaws.basic",
secondary: "common.abilities.unique.beastclaws.basic",
skills: [],
),
Debug: (
primary: "common.abilities.debug.forwardboost",
secondary: "common.abilities.debug.upboost",
skills: [
"common.abilities.debug.possess",
],
),
Farming: (
primary: "common.abilities.farming.basic",
secondary: "common.abilities.farming.basic",
skills: [],
),
Empty: (
primary: "common.abilities.empty.basic",
secondary: "common.abilities.empty.basic",
skills: [],
),
})