basilisk tweaks

This commit is contained in:
jshipsey 2021-06-16 21:48:24 -04:00
parent 0941f03608
commit a42e6e20b8
5 changed files with 28 additions and 6 deletions

View File

@ -149,9 +149,11 @@
abilities: [],
),
Custom("Basilisk"): (
primary: "common.abilities.custom.basilisk.triplestrike",
secondary: "common.abilities.custom.basilisk.petrify",
abilities: [],
primary: "common.abilities.custom.basilisk.petrify",
secondary: "common.abilities.custom.basilisk.triplestrike",
abilities: [
(None, "common.abilities.custom.basilisk.dash"),
],
),
Custom("Asp"): (
primary: "common.abilities.custom.asp.singlestrike",

View 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,
)

View File

@ -6,7 +6,7 @@
(30, AmethystSmall),
(30, TopazSmall),
(16, SapphireSmall),
(60, CrystalLow),
(100, CrystalLow),
(12, EmeraldSmall),
(15, Cobalt),
(40, Coal),

View File

@ -423,7 +423,7 @@ impl LoadoutBuilder {
| biped_large::Species::Cyclops
| biped_large::Species::Blueoni
| biped_large::Species::Redoni
| biped_large::Species::Troll
| biped_large::Species::Cavetroll
| biped_large::Species::Wendigo,
..
}) => self.chest(Some(Item::new_from_asset_expect(

View File

@ -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 {
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 =
*Lottery::<SpriteKind>::load_expect("common.cave_scatter.deep_floor")
.read()