mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Minor balancing tweaks.
This commit is contained in:
parent
c4bf1be73b
commit
240a8e577d
@ -2,7 +2,7 @@ BasicBeam(
|
||||
buildup_duration: 0.40,
|
||||
recover_duration: 0.50,
|
||||
beam_duration: 1.0,
|
||||
damage: 750,
|
||||
damage: 500,
|
||||
tick_rate: 0.9,
|
||||
range: 22.0,
|
||||
max_angle: 15.0,
|
||||
|
@ -2,7 +2,7 @@ SpinMelee(
|
||||
buildup_duration: 0.5,
|
||||
swing_duration: 0.2,
|
||||
recover_duration: 0.6,
|
||||
base_damage: 150.0,
|
||||
base_damage: 100.0,
|
||||
base_poise_damage: 1.0,
|
||||
knockback: ( strength: 7.0, direction: Towards),
|
||||
range: 16.0,
|
||||
|
@ -4,6 +4,6 @@ SelfBuff(
|
||||
recover_duration: 0.25,
|
||||
buff_kind: Frenzied,
|
||||
buff_strength: 0.5,
|
||||
buff_duration: None,
|
||||
buff_duration: Some(300.0),
|
||||
energy_cost: 0,
|
||||
)
|
@ -278,7 +278,7 @@ impl Buff {
|
||||
vec![
|
||||
BuffEffect::MovementSpeed(1.0 - nn_scaling(data.strength)),
|
||||
BuffEffect::HealthChangeOverTime {
|
||||
rate: -data.strength * 100.0,
|
||||
rate: -data.strength * 40.0,
|
||||
accumulated: 0.0,
|
||||
kind: ModifierKind::Additive,
|
||||
},
|
||||
|
@ -206,13 +206,13 @@ impl CharacterBehavior for Data {
|
||||
|
||||
if let Some(FrontendSpecifier::GroundCleave) = self.static_data.specifier {
|
||||
// Send local event used for frontend shenanigans
|
||||
update
|
||||
.local_events
|
||||
.push_front(LocalEvent::CreateOutcome(Outcome::GroundSlam {
|
||||
update.local_events.push_front(LocalEvent::CreateOutcome(
|
||||
Outcome::GroundSlam {
|
||||
pos: data.pos.0
|
||||
+ *data.ori.look_dir()
|
||||
* (data.body.radius() + self.static_data.range),
|
||||
}));
|
||||
},
|
||||
));
|
||||
}
|
||||
} else if self.timer < self.static_data.swing_duration {
|
||||
// Swings
|
||||
|
@ -71,7 +71,7 @@ impl Body {
|
||||
biped_large::Species::Occultsaurok => 100.0,
|
||||
biped_large::Species::Mightysaurok => 100.0,
|
||||
biped_large::Species::Mindflayer => 90.0,
|
||||
biped_large::Species::Minotaur => 70.0,
|
||||
biped_large::Species::Minotaur => 60.0,
|
||||
_ => 80.0,
|
||||
},
|
||||
Body::BirdMedium(_) => 80.0,
|
||||
|
@ -603,8 +603,7 @@ impl<'a> AgentData<'a> {
|
||||
event_emitter
|
||||
.emit(ServerEvent::Chat(UnresolvedChatMsg::npc(*self.uid, msg)));
|
||||
agent.action_state.timer = 0.01;
|
||||
} else if agent.action_state.timer < FLEE_DURATION
|
||||
|| dist_sqrd < MAX_FLEE_DIST
|
||||
} else if agent.action_state.timer < FLEE_DURATION || dist_sqrd < MAX_FLEE_DIST
|
||||
{
|
||||
self.flee(
|
||||
agent,
|
||||
@ -1896,8 +1895,7 @@ impl<'a> AgentData<'a> {
|
||||
.actions
|
||||
.push(ControlAction::CancelInput(InputKind::Secondary));
|
||||
agent.action_state.timer = 0.0;
|
||||
} else if agent.action_state.timer > 2.0
|
||||
&& self.energy.current() > 300
|
||||
} else if agent.action_state.timer > 2.0 && self.energy.current() > 300
|
||||
{
|
||||
controller
|
||||
.actions
|
||||
|
Loading…
Reference in New Issue
Block a user