Added modular components for swords.

This commit is contained in:
Sam 2021-07-23 09:27:25 -05:00
parent 2feb8f298b
commit 68c8160ecb
9 changed files with 155 additions and 8 deletions

View File

@ -0,0 +1,21 @@
ItemDef(
name: "Greatsword blade",
description: "A sword blade made of metal.",
kind: ModularComponent((
toolkind: Sword,
modkind: Damage,
stats: (
equip_time_secs: 0.25,
power: 1.1,
effect_power: 1.6,
speed: 0.85,
crit_chance: 0.15,
range: 1.0,
energy_efficiency: 0.8,
buff_strength: 0.8,
),
)),
quality: Common,
tags: [ModularComponent((toolkind: Sword, modkind: Damage))],
)

View File

@ -0,0 +1,21 @@
ItemDef(
name: "Katana blade",
description: "A sword blade made of metal.",
kind: ModularComponent((
toolkind: Sword,
modkind: Damage,
stats: (
equip_time_secs: 0.25,
power: 0.7,
effect_power: 0.8,
speed: 1.5,
crit_chance: 0.2,
range: 0.8,
energy_efficiency: 1.2,
buff_strength: 1.0,
),
)),
quality: Common,
tags: [ModularComponent((toolkind: Sword, modkind: Damage))],
)

View File

@ -1,5 +1,5 @@
ItemDef(
name: "Metal sword blade",
name: "Longsword blade",
description: "A sword blade made of metal.",
kind: ModularComponent((
toolkind: Sword,

View File

@ -0,0 +1,21 @@
ItemDef(
name: "Ornate sword blade",
description: "A sword blade made of metal.",
kind: ModularComponent((
toolkind: Sword,
modkind: Damage,
stats: (
equip_time_secs: 0.25,
power: 0.8,
effect_power: 0.8,
speed: 1.0,
crit_chance: 0.5,
range: 1.0,
energy_efficiency: 1.1,
buff_strength: 0.8,
),
)),
quality: Common,
tags: [ModularComponent((toolkind: Sword, modkind: Damage))],
)

View File

@ -0,0 +1,21 @@
ItemDef(
name: "Sabre blade",
description: "A sword blade made of metal.",
kind: ModularComponent((
toolkind: Sword,
modkind: Damage,
stats: (
equip_time_secs: 0.25,
power: 1.6,
effect_power: 0.9,
speed: 0.8,
crit_chance: 0.2,
range: 0.9,
energy_efficiency: 0.9,
buff_strength: 0.9,
),
)),
quality: Common,
tags: [ModularComponent((toolkind: Sword, modkind: Damage))],
)

View File

@ -0,0 +1,21 @@
ItemDef(
name: "Sword sawblade",
description: "A sword blade made of metal.",
kind: ModularComponent((
toolkind: Sword,
modkind: Damage,
stats: (
equip_time_secs: 0.25,
power: 0.8,
effect_power: 0.7,
speed: 0.9,
crit_chance: 0.25,
range: 1.0,
energy_efficiency: 0.75,
buff_strength: 1.8,
),
)),
quality: Common,
tags: [ModularComponent((toolkind: Sword, modkind: Damage))],
)

View File

@ -0,0 +1,21 @@
ItemDef(
name: "Zweihander blade",
description: "A sword blade made of metal.",
kind: ModularComponent((
toolkind: Sword,
modkind: Damage,
stats: (
equip_time_secs: 0.25,
power: 1.4,
effect_power: 1.1,
speed: 0.7,
crit_chance: 0.1,
range: 1.5,
energy_efficiency: 0.8,
buff_strength: 1.1,
),
)),
quality: Common,
tags: [ModularComponent((toolkind: Sword, modkind: Damage))],
)

View File

@ -1,18 +1,18 @@
ItemDef(
name: "Sword hilt",
name: "Two-handed sword hilt",
description: "A sword hilt.",
kind: ModularComponent((
toolkind: Sword,
modkind: Held,
stats: (
equip_time_secs: 1.0,
power: 1.0,
effect_power: 1.0,
speed: 1.0,
crit_chance: 1.0,
power: 0.7,
effect_power: 0.8,
speed: 1.3,
crit_chance: 1.2,
range: 1.0,
energy_efficiency: 1.0,
buff_strength: 1.0,
energy_efficiency: 1.1,
buff_strength: 0.9,
),
)),
quality: Common,

View File

@ -0,0 +1,21 @@
ItemDef(
name: "Two-handed sword hilt",
description: "A sword hilt.",
kind: ModularComponent((
toolkind: Sword,
modkind: Held,
stats: (
equip_time_secs: 1.0,
power: 1.5,
effect_power: 1.3,
speed: 0.8,
crit_chance: 0.8,
range: 1.0,
energy_efficiency: 0.9,
buff_strength: 1.1,
),
)),
quality: Common,
tags: [ModularComponent((toolkind: Sword, modkind: Held))],
)