mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
6 new sceptres, add DPS display to tooltips
This commit is contained in:
parent
39d1c9e885
commit
7cbf946a65
@ -6,10 +6,10 @@ ItemDef(
|
||||
kind: Staff,
|
||||
stats: (
|
||||
equip_time_millis: 300,
|
||||
power: 4.0,
|
||||
speed: 0.5,
|
||||
power: 15.0,
|
||||
speed: 0.2,
|
||||
),
|
||||
)
|
||||
),
|
||||
quality: Epic,
|
||||
quality: Legendary,
|
||||
)
|
||||
|
@ -6,8 +6,8 @@ ItemDef(
|
||||
kind: Hammer,
|
||||
stats: (
|
||||
equip_time_millis: 500,
|
||||
power: 2.00,
|
||||
speed: 1.0
|
||||
power: 4.00,
|
||||
speed: 0.5
|
||||
),
|
||||
)
|
||||
),
|
||||
|
15
assets/common/items/weapons/sceptre/fork0.ron
Normal file
15
assets/common/items/weapons/sceptre/fork0.ron
Normal file
@ -0,0 +1,15 @@
|
||||
ItemDef(
|
||||
name: "Infused Fork",
|
||||
description: "Shamanistic energies brought this piece of wood to life again.",
|
||||
kind: Tool(
|
||||
(
|
||||
kind: Sceptre,
|
||||
stats: (
|
||||
equip_time_millis: 400,
|
||||
power: 2.0,
|
||||
speed: 0.8
|
||||
),
|
||||
)
|
||||
),
|
||||
quality: High,
|
||||
)
|
15
assets/common/items/weapons/sceptre/loops0.ron
Normal file
15
assets/common/items/weapons/sceptre/loops0.ron
Normal file
@ -0,0 +1,15 @@
|
||||
ItemDef(
|
||||
name: "Soothing Loop",
|
||||
description: "Do you really want to live forever?",
|
||||
kind: Tool(
|
||||
(
|
||||
kind: Sceptre,
|
||||
stats: (
|
||||
equip_time_millis: 400,
|
||||
power: 1.2,
|
||||
speed: 1.5
|
||||
),
|
||||
)
|
||||
),
|
||||
quality: High,
|
||||
)
|
15
assets/common/items/weapons/sceptre/moon0.ron
Normal file
15
assets/common/items/weapons/sceptre/moon0.ron
Normal file
@ -0,0 +1,15 @@
|
||||
ItemDef(
|
||||
name: "Crescent Saviour",
|
||||
description: "Trusty companion by day and night.",
|
||||
kind: Tool(
|
||||
(
|
||||
kind: Sceptre,
|
||||
stats: (
|
||||
equip_time_millis: 400,
|
||||
power: 1.6,
|
||||
speed: 0.5
|
||||
),
|
||||
)
|
||||
),
|
||||
quality: Common,
|
||||
)
|
15
assets/common/items/weapons/sceptre/root_evil.ron
Normal file
15
assets/common/items/weapons/sceptre/root_evil.ron
Normal file
@ -0,0 +1,15 @@
|
||||
ItemDef(
|
||||
name: "The Root of Evil",
|
||||
description: "'Everything comes at a price...'",
|
||||
kind: Tool(
|
||||
(
|
||||
kind: Sceptre,
|
||||
stats: (
|
||||
equip_time_millis: 400,
|
||||
power: 4.0,
|
||||
speed: 0.5
|
||||
),
|
||||
)
|
||||
),
|
||||
quality: Legendary,
|
||||
)
|
15
assets/common/items/weapons/sceptre/root_green0.ron
Normal file
15
assets/common/items/weapons/sceptre/root_green0.ron
Normal file
@ -0,0 +1,15 @@
|
||||
ItemDef(
|
||||
name: "Twitching Root",
|
||||
description: "Sparkles from living energy.",
|
||||
kind: Tool(
|
||||
(
|
||||
kind: Sceptre,
|
||||
stats: (
|
||||
equip_time_millis: 400,
|
||||
power: 3.5,
|
||||
speed: 0.4
|
||||
),
|
||||
)
|
||||
),
|
||||
quality: Moderate,
|
||||
)
|
@ -6,8 +6,8 @@ ItemDef(
|
||||
kind: Sceptre,
|
||||
stats: (
|
||||
equip_time_millis: 400,
|
||||
power: 2.0,
|
||||
speed: 1.0
|
||||
power: 1.2,
|
||||
speed: 1.6
|
||||
),
|
||||
)
|
||||
),
|
||||
|
@ -6,8 +6,8 @@ ItemDef(
|
||||
kind: Sceptre,
|
||||
stats: (
|
||||
equip_time_millis: 400,
|
||||
power: 1.0,
|
||||
speed: 1.0
|
||||
power: 0.91,
|
||||
speed: 1.1
|
||||
),
|
||||
)
|
||||
),
|
||||
|
16
assets/common/items/weapons/sceptre/totem_green.ron
Normal file
16
assets/common/items/weapons/sceptre/totem_green.ron
Normal file
@ -0,0 +1,16 @@
|
||||
ItemDef(
|
||||
name: "Gnarling Pride",
|
||||
description: "Territory marker of a Gnarling tribe.
|
||||
Infused with healing powers.",
|
||||
kind: Tool(
|
||||
(
|
||||
kind: Sceptre,
|
||||
stats: (
|
||||
equip_time_millis: 400,
|
||||
power: 1.0,
|
||||
speed: 1.2
|
||||
),
|
||||
)
|
||||
),
|
||||
quality: Moderate,
|
||||
)
|
@ -12,6 +12,7 @@
|
||||
(1, "common.items.weapons.hammer.cultist_purp_2h-0"),
|
||||
(1, "common.items.weapons.sword.cultist_purp_2h-0"),
|
||||
(0.25, "common.items.crafting_ing.mindflayer_bag_damaged"),
|
||||
(0.01, "common.items.weapons.sceptre.root_evil"),
|
||||
// misc
|
||||
(1, "common.items.boss_drops.lantern"),
|
||||
(0.1, "common.items.glider.glider_purp"),
|
||||
|
@ -21,7 +21,8 @@
|
||||
(0.10, "common.items.weapons.axe.worn_iron_axe-3"),
|
||||
(0.10, "common.items.weapons.axe.worn_iron_axe-4"),
|
||||
// healing staff
|
||||
(0.25, "common.items.weapons.sceptre.staff_nature"),
|
||||
(0.30, "common.items.weapons.sceptre.starter_sceptre"),
|
||||
(0.20, "common.items.weapons.sceptre.moon0"),
|
||||
// staves
|
||||
(1.00, "common.items.weapons.staff.starter_staff"),
|
||||
// hammers
|
||||
|
@ -16,8 +16,9 @@
|
||||
(0.20, "common.items.weapons.axe.bloodsteel_axe-2"),
|
||||
(0.30, "common.items.weapons.axe.cobalt_axe-0"),
|
||||
(0.10, "common.items.weapons.axe.malachite_axe-0"),
|
||||
// healing staff
|
||||
(0.25, "common.items.weapons.sceptre.staff_nature"),
|
||||
// healing staff
|
||||
(0.15, "common.items.weapons.sceptre.loops0"),
|
||||
(0.10, "common.items.weapons.sceptre.fork0"),
|
||||
// staves
|
||||
(1.00, "common.items.weapons.staff.amethyst_staff"),
|
||||
// hammers
|
||||
|
@ -40,6 +40,8 @@
|
||||
(0.04, "common.items.weapons.axe.steel_axe-6"),
|
||||
// healing staff
|
||||
(0.5, "common.items.weapons.sceptre.staff_nature"),
|
||||
(0.15, "common.items.weapons.sceptre.root_green0"),
|
||||
(0.25, "common.items.weapons.sceptre.totem_green"),
|
||||
// staves
|
||||
(1.00, "common.items.weapons.staff.bone_staff"),
|
||||
// hammers
|
||||
|
@ -202,11 +202,11 @@
|
||||
("common.items.crafting_tools.sewing_set", 0),
|
||||
],
|
||||
),
|
||||
"velorite_sceptre": (
|
||||
("common.items.weapons.sceptre.sceptre_velorite_0", 1),
|
||||
"Soothing Loop": (
|
||||
("common.items.weapons.sceptre.loops0", 1),
|
||||
[
|
||||
("common.items.crafting_ing.twigs", 20),
|
||||
("common.items.ore.veloritefrag", 10),
|
||||
("common.items.ore.veloritefrag", 8),
|
||||
("common.items.crafting_ing.shiny_gem", 4),
|
||||
("common.items.crafting_tools.craftsman_hammer", 0),
|
||||
],
|
||||
|
@ -614,15 +614,39 @@
|
||||
"voxel.weapon.staff.firestaff_cultist",
|
||||
(1.0, 0.0, 0.0), (-130., 90.0, 0.0), 1.2,
|
||||
),
|
||||
// Healing staff
|
||||
Tool("common.items.weapons.sceptre.staff_nature"): VoxTrans(
|
||||
"voxel.weapon.sceptre.wood-nature",
|
||||
(1.0, -1.0, 0.0), (-130., 90.0, 0.0), 1.2,
|
||||
),
|
||||
// Healing Sceptres
|
||||
Tool("common.items.weapons.sceptre.starter_sceptre"): VoxTrans(
|
||||
"voxel.weapon.sceptre.wood-simple",
|
||||
(0.0, -0.0, 0.0), (-130., 90.0, 0.0), 1.25,
|
||||
),
|
||||
Tool("common.items.weapons.sceptre.moon0"): VoxTrans(
|
||||
"voxel.weapon.sceptre.moon",
|
||||
(1.0, -1.0, 0.0), (-130., 90.0, 0.0), 1.2,
|
||||
),
|
||||
Tool("common.items.weapons.sceptre.staff_nature"): VoxTrans(
|
||||
"voxel.weapon.sceptre.wood-nature",
|
||||
(1.0, -1.0, 0.0), (-130., 90.0, 0.0), 1.2,
|
||||
),
|
||||
Tool("common.items.weapons.sceptre.totem_green"): VoxTrans(
|
||||
"voxel.weapon.sceptre.totem_green",
|
||||
(1.0, -1.0, 0.0), (-130., 90.0, 0.0), 1.2,
|
||||
),
|
||||
Tool("common.items.weapons.sceptre.root_green0"): VoxTrans(
|
||||
"voxel.weapon.sceptre.root_green",
|
||||
(1.0, -1.0, 0.0), (-130., 90.0, 0.0), 1.2,
|
||||
),
|
||||
Tool("common.items.weapons.sceptre.fork0"): VoxTrans(
|
||||
"voxel.weapon.sceptre.fork",
|
||||
(1.0, -1.0, 0.0), (-130., 90.0, 0.0), 1.2,
|
||||
),
|
||||
Tool("common.items.weapons.sceptre.loops0"): VoxTrans(
|
||||
"voxel.weapon.sceptre.loops",
|
||||
(1.0, -1.0, 0.0), (-130., 90.0, 0.0), 1.2,
|
||||
),
|
||||
Tool("common.items.weapons.sceptre.root_evil"): VoxTrans(
|
||||
"voxel.weapon.sceptre.root_evil",
|
||||
(1.0, -1.0, 0.0), (-130., 90.0, 0.0), 1.2,
|
||||
),
|
||||
Tool("common.items.weapons.sceptre.sceptre_velorite_0"): VoxTrans(
|
||||
"voxel.weapon.sceptre.ore-nature",
|
||||
(1.0, -1.0, 0.0), (-130., 90.0, 0.0), 1.15,
|
||||
|
@ -651,10 +651,34 @@
|
||||
vox_spec: ("weapon.sceptre.wood-simple", (-1.5, -2.5, -6.0)),
|
||||
color: None
|
||||
),
|
||||
"common.items.weapons.sceptre.moon0": (
|
||||
vox_spec: ("weapon.sceptre.moon", (-1.5, -2.5, -6.0)),
|
||||
color: None
|
||||
),
|
||||
"common.items.weapons.sceptre.staff_nature": (
|
||||
vox_spec: ("weapon.sceptre.wood-nature", (-1.0, -6.0, -5.0)),
|
||||
color: None
|
||||
),
|
||||
"common.items.weapons.sceptre.totem_green": (
|
||||
vox_spec: ("weapon.sceptre.totem_green", (-1.5, -2.5, -6.0)),
|
||||
color: None
|
||||
),
|
||||
"common.items.weapons.sceptre.root_green0": (
|
||||
vox_spec: ("weapon.sceptre.root_green", (-1.5, -2.5, -6.0)),
|
||||
color: None
|
||||
),
|
||||
"common.items.weapons.sceptre.fork0": (
|
||||
vox_spec: ("weapon.sceptre.fork", (-1.5, -2.5, -6.0)),
|
||||
color: None
|
||||
),
|
||||
"common.items.weapons.sceptre.loops0": (
|
||||
vox_spec: ("weapon.sceptre.loops", (-1.5, -2.5, -6.0)),
|
||||
color: None
|
||||
),
|
||||
"common.items.weapons.sceptre.root_evil": (
|
||||
vox_spec: ("weapon.sceptre.root_evil", (-1.5, -2.5, -6.0)),
|
||||
color: None
|
||||
),
|
||||
"common.items.weapons.sceptre.sceptre_velorite_0": (
|
||||
vox_spec: ("weapon.sceptre.ore-nature", (-2.0, -6.0, -5.0)),
|
||||
color: None
|
||||
|
BIN
assets/voxygen/voxel/weapon/sceptre/fork.vox
(Stored with Git LFS)
Normal file
BIN
assets/voxygen/voxel/weapon/sceptre/fork.vox
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
assets/voxygen/voxel/weapon/sceptre/loops.vox
(Stored with Git LFS)
Normal file
BIN
assets/voxygen/voxel/weapon/sceptre/loops.vox
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
assets/voxygen/voxel/weapon/sceptre/moon.vox
(Stored with Git LFS)
Normal file
BIN
assets/voxygen/voxel/weapon/sceptre/moon.vox
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
assets/voxygen/voxel/weapon/sceptre/root_evil.vox
(Stored with Git LFS)
Normal file
BIN
assets/voxygen/voxel/weapon/sceptre/root_evil.vox
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
assets/voxygen/voxel/weapon/sceptre/root_green.vox
(Stored with Git LFS)
Normal file
BIN
assets/voxygen/voxel/weapon/sceptre/root_green.vox
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
assets/voxygen/voxel/weapon/sceptre/totem_green.vox
(Stored with Git LFS)
Normal file
BIN
assets/voxygen/voxel/weapon/sceptre/totem_green.vox
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -109,16 +109,18 @@ fn tool_desc(tool: &Tool, desc: &str) -> String {
|
||||
|
||||
if !desc.is_empty() {
|
||||
format!(
|
||||
"{}\n\nPower: {:0.1}\n\nSpeed: {:0.1}\n\n{}\n\n<Right-Click to use>",
|
||||
"{}\n\nDPS: {:0.1}\n\nPower: {:0.1}\n\nSpeed: {:0.1}\n\n{}\n\n<Right-Click to use>",
|
||||
kind,
|
||||
speed * power * 10.0, // Damage per second
|
||||
power * 10.0,
|
||||
speed,
|
||||
desc
|
||||
)
|
||||
} else {
|
||||
format!(
|
||||
"{}\n\nPower: {:0.1}\n\nSpeed: {:0.1}\n\n<Right-Click to use>",
|
||||
"{}\n\nDPS: {:0.1}\n\nPower: {:0.1}\n\nSpeed: {:0.1}\n\n<Right-Click to use>",
|
||||
kind,
|
||||
speed * power * 10.0, // Damage per second
|
||||
power * 10.0,
|
||||
speed
|
||||
)
|
||||
|
@ -161,7 +161,7 @@ pub fn apply_scatter_to(canvas: &mut Canvas, rng: &mut impl Rng) {
|
||||
(LongGrass, false, |c, _| {
|
||||
(
|
||||
close(c.temp, 0.3, 0.35).min(close(c.humidity, CONFIG.jungle_hum, 0.3)) * 0.15,
|
||||
Some((48.0, 0.2)),
|
||||
Some((45.0, 0.5)),
|
||||
)
|
||||
}),
|
||||
// Jungle Sprites
|
||||
|
Loading…
Reference in New Issue
Block a user