mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Changelog line, final balance tweaks.
This commit is contained in:
parent
0b80257aa3
commit
51141b2c1a
@ -42,6 +42,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Overhauled persistence layer including no longer storing serialized JSON items in the database
|
- Overhauled persistence layer including no longer storing serialized JSON items in the database
|
||||||
- Overhauled representation of blocks to permit fluid and sprite coexistence
|
- Overhauled representation of blocks to permit fluid and sprite coexistence
|
||||||
- Overhauled sword
|
- Overhauled sword
|
||||||
|
- Reworked healing sceptre
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
|
||||||
|
@ -347,8 +347,8 @@ impl Tool {
|
|||||||
col: (0.0, 1.0, 0.0).into(),
|
col: (0.0, 1.0, 0.0).into(),
|
||||||
..Default::default()
|
..Default::default()
|
||||||
}),
|
}),
|
||||||
projectile_gravity: Some(Gravity(1.0)),
|
projectile_gravity: Some(Gravity(0.5)),
|
||||||
projectile_speed: 25.0,
|
projectile_speed: 40.0,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
Staff(_) => vec![
|
Staff(_) => vec![
|
||||||
|
@ -97,17 +97,21 @@ impl CharacterBehavior for Data {
|
|||||||
stage_section: StageSection::Cast,
|
stage_section: StageSection::Cast,
|
||||||
particle_ori: Some(*data.inputs.look_dir),
|
particle_ori: Some(*data.inputs.look_dir),
|
||||||
offset: eye_height * 0.9,
|
offset: eye_height * 0.9,
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
StageSection::Cast => {
|
StageSection::Cast => {
|
||||||
if data.inputs.primary.is_pressed() {
|
if data.inputs.primary.is_pressed() {
|
||||||
let damage = (self.static_data.base_dps as f32 / self.static_data.tick_rate) as u32;
|
let damage =
|
||||||
let heal = (self.static_data.base_hps as f32 / self.static_data.tick_rate) as u32;
|
(self.static_data.base_dps as f32 / self.static_data.tick_rate) as u32;
|
||||||
let energy_regen = (self.static_data.energy_regen as f32 / self.static_data.tick_rate) as u32;
|
let heal =
|
||||||
let energy_drain = (self.static_data.energy_drain as f32 / self.static_data.tick_rate) as u32;
|
(self.static_data.base_hps as f32 / self.static_data.tick_rate) as u32;
|
||||||
let speed = self.static_data.range / self.static_data.beam_duration.as_secs_f32();
|
let energy_regen =
|
||||||
|
(self.static_data.energy_regen as f32 / self.static_data.tick_rate) as u32;
|
||||||
|
let energy_drain =
|
||||||
|
(self.static_data.energy_drain as f32 / self.static_data.tick_rate) as u32;
|
||||||
|
let speed =
|
||||||
|
self.static_data.range / self.static_data.beam_duration.as_secs_f32();
|
||||||
let properties = beam::Properties {
|
let properties = beam::Properties {
|
||||||
angle: self.static_data.max_angle.to_radians(),
|
angle: self.static_data.max_angle.to_radians(),
|
||||||
speed,
|
speed,
|
||||||
|
@ -360,7 +360,9 @@ impl ParticleMgr {
|
|||||||
time + i as f64 / 1000.0,
|
time + i as f64 / 1000.0,
|
||||||
ParticleMode::HealingBeam,
|
ParticleMode::HealingBeam,
|
||||||
pos.0 + particle_ori * 0.5 + Vec3::new(0.0, 0.0, b.offset),
|
pos.0 + particle_ori * 0.5 + Vec3::new(0.0, 0.0, b.offset),
|
||||||
pos.0 + particle_ori * b.static_data.range + Vec3::new(0.0, 0.0, b.offset),
|
pos.0
|
||||||
|
+ particle_ori * b.static_data.range
|
||||||
|
+ Vec3::new(0.0, 0.0, b.offset),
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user