mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
healing sceptre
This commit is contained in:
parent
43d4e8aad2
commit
060ebbc861
11
assets/common/items/weapons/staff_nature.ron
Normal file
11
assets/common/items/weapons/staff_nature.ron
Normal file
@ -0,0 +1,11 @@
|
||||
Item(
|
||||
name: "Sceptre of Regeneration",
|
||||
description: " Infused by the power of Nature.
|
||||
Power: 25",
|
||||
kind: Tool(
|
||||
ToolData (
|
||||
kind: Staff(Sceptre),
|
||||
equip_time_millis: 800,
|
||||
)
|
||||
),
|
||||
)
|
@ -45,6 +45,10 @@
|
||||
"voxel.weapon.staff.wood-fire",
|
||||
(0.0, -9.0, 0.0), (90.0, 90.0, 0.0), 2.5,
|
||||
),
|
||||
Tool(Staff(Sceptre)): VoxTrans(
|
||||
"voxel.weapon.staff.wood-nature",
|
||||
(0.0, -9.0, 0.0), (90.0, 90.0, 0.0), 2.5,
|
||||
),
|
||||
// Shields
|
||||
Tool(Shield(BasicShield)): VoxTrans(
|
||||
"voxel.weapon.shield.wood-0",
|
||||
|
@ -42,6 +42,10 @@
|
||||
Staff(BasicStaff): (
|
||||
vox_spec: ("weapon.staff.wood-fire", (-1.0, -6.0, -3.0)),
|
||||
color: None
|
||||
),
|
||||
Staff(Sceptre): (
|
||||
vox_spec: ("weapon.staff.wood-nature", (-1.0, -6.0, -5.0)),
|
||||
color: None
|
||||
),
|
||||
Debug(Boost): (
|
||||
vox_spec: ("weapon.debug_wand", (-1.5, -9.5, -4.0)),
|
||||
|
@ -39,6 +39,7 @@ pub enum DaggerKind {
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)]
|
||||
pub enum StaffKind {
|
||||
BasicStaff,
|
||||
Sceptre,
|
||||
}
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)]
|
||||
pub enum ShieldKind {
|
||||
@ -113,6 +114,10 @@ impl ToolData {
|
||||
max_angle: 60.0,
|
||||
}],
|
||||
Staff(_) => vec![
|
||||
//Intended behaviour for the healing sceptre: M1 -> Heal a single target (not a
|
||||
// projectile, just a heal for the target.) Optional: Green flash of the healed
|
||||
// target. M2: Heal everyone around the caster, including the
|
||||
// caster
|
||||
BasicMelee {
|
||||
buildup_duration: Duration::from_millis(0),
|
||||
recover_duration: Duration::from_millis(300),
|
||||
|
Loading…
Reference in New Issue
Block a user