mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
basilisk tweaks
This commit is contained in:
parent
0941f03608
commit
a42e6e20b8
@ -149,9 +149,11 @@
|
|||||||
abilities: [],
|
abilities: [],
|
||||||
),
|
),
|
||||||
Custom("Basilisk"): (
|
Custom("Basilisk"): (
|
||||||
primary: "common.abilities.custom.basilisk.triplestrike",
|
primary: "common.abilities.custom.basilisk.petrify",
|
||||||
secondary: "common.abilities.custom.basilisk.petrify",
|
secondary: "common.abilities.custom.basilisk.triplestrike",
|
||||||
abilities: [],
|
abilities: [
|
||||||
|
(None, "common.abilities.custom.basilisk.dash"),
|
||||||
|
],
|
||||||
),
|
),
|
||||||
Custom("Asp"): (
|
Custom("Asp"): (
|
||||||
primary: "common.abilities.custom.asp.singlestrike",
|
primary: "common.abilities.custom.asp.singlestrike",
|
||||||
|
20
assets/common/abilities/custom/basilisk/dash.ron
Normal file
20
assets/common/abilities/custom/basilisk/dash.ron
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
DashMelee(
|
||||||
|
energy_cost: 0,
|
||||||
|
base_damage: 120,
|
||||||
|
scaled_damage: 180,
|
||||||
|
base_poise_damage: 25,
|
||||||
|
scaled_poise_damage: 0,
|
||||||
|
base_knockback: 4.0,
|
||||||
|
scaled_knockback: 17.0,
|
||||||
|
range: 2.5,
|
||||||
|
angle: 45.0,
|
||||||
|
energy_drain: 0,
|
||||||
|
forward_speed: 4.0,
|
||||||
|
buildup_duration: 0.8,
|
||||||
|
charge_duration: 1.0,
|
||||||
|
swing_duration: 0.1,
|
||||||
|
recover_duration: 1.0,
|
||||||
|
charge_through: true,
|
||||||
|
is_interruptible: false,
|
||||||
|
damage_kind: Crushing,
|
||||||
|
)
|
@ -6,7 +6,7 @@
|
|||||||
(30, AmethystSmall),
|
(30, AmethystSmall),
|
||||||
(30, TopazSmall),
|
(30, TopazSmall),
|
||||||
(16, SapphireSmall),
|
(16, SapphireSmall),
|
||||||
(60, CrystalLow),
|
(100, CrystalLow),
|
||||||
(12, EmeraldSmall),
|
(12, EmeraldSmall),
|
||||||
(15, Cobalt),
|
(15, Cobalt),
|
||||||
(40, Coal),
|
(40, Coal),
|
||||||
|
@ -423,7 +423,7 @@ impl LoadoutBuilder {
|
|||||||
| biped_large::Species::Cyclops
|
| biped_large::Species::Cyclops
|
||||||
| biped_large::Species::Blueoni
|
| biped_large::Species::Blueoni
|
||||||
| biped_large::Species::Redoni
|
| biped_large::Species::Redoni
|
||||||
| biped_large::Species::Troll
|
| biped_large::Species::Cavetroll
|
||||||
| biped_large::Species::Wendigo,
|
| biped_large::Species::Wendigo,
|
||||||
..
|
..
|
||||||
}) => self.chest(Some(Item::new_from_asset_expect(
|
}) => self.chest(Some(Item::new_from_asset_expect(
|
||||||
|
@ -349,7 +349,7 @@ pub fn apply_caves_to(canvas: &mut Canvas, rng: &mut impl Rng) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
} else if cave_depth < 200.0 && cave_depth > 80.0 {
|
} else if cave_depth < 200.0 && cave_depth > 80.0 {
|
||||||
if rng.gen::<f32>() < 0.08 * (cave_x.max(0.5).powf(4.0)) && !vein_condition {
|
if rng.gen::<f32>() < 0.065 * (cave_x.max(0.5).powf(4.0)) && !vein_condition {
|
||||||
let kind =
|
let kind =
|
||||||
*Lottery::<SpriteKind>::load_expect("common.cave_scatter.deep_floor")
|
*Lottery::<SpriteKind>::load_expect("common.cave_scatter.deep_floor")
|
||||||
.read()
|
.read()
|
||||||
|
Loading…
Reference in New Issue
Block a user