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