mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
mob creature tweaks
This commit is contained in:
parent
f66cc47554
commit
b7c5c22070
@ -31,7 +31,7 @@ ComboMelee2(
|
|||||||
range: 2.5,
|
range: 2.5,
|
||||||
angle: 30.0,
|
angle: 30.0,
|
||||||
),
|
),
|
||||||
buildup_duration: 0.8,
|
buildup_duration: 0.6,
|
||||||
swing_duration: 0.07,
|
swing_duration: 0.07,
|
||||||
hit_timing: 0.5,
|
hit_timing: 0.5,
|
||||||
recover_duration: 0.4,
|
recover_duration: 0.4,
|
||||||
@ -48,7 +48,7 @@ ComboMelee2(
|
|||||||
range: 2.5,
|
range: 2.5,
|
||||||
angle: 30.0,
|
angle: 30.0,
|
||||||
),
|
),
|
||||||
buildup_duration: 0.8,
|
buildup_duration: 0.4,
|
||||||
swing_duration: 0.07,
|
swing_duration: 0.07,
|
||||||
hit_timing: 0.5,
|
hit_timing: 0.5,
|
||||||
recover_duration: 0.4,
|
recover_duration: 0.4,
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
BasicMelee(
|
BasicMelee(
|
||||||
energy_cost: 0,
|
energy_cost: 0,
|
||||||
buildup_duration: 0.15,
|
buildup_duration: 0.3,
|
||||||
swing_duration: 0.55,
|
swing_duration: 0.55,
|
||||||
recover_duration: 0.55,
|
recover_duration: 0.4,
|
||||||
melee_constructor: (
|
melee_constructor: (
|
||||||
kind: Stab(
|
kind: Stab(
|
||||||
damage: 10,
|
damage: 10,
|
||||||
|
@ -4,7 +4,7 @@ BasicRanged(
|
|||||||
recover_duration: 0.8,
|
recover_duration: 0.8,
|
||||||
projectile: Arrow(
|
projectile: Arrow(
|
||||||
damage: 16,
|
damage: 16,
|
||||||
knockback: 0,
|
knockback: 1,
|
||||||
energy_regen: 0,
|
energy_regen: 0,
|
||||||
),
|
),
|
||||||
projectile_body: Object(AdletSpear),
|
projectile_body: Object(AdletSpear),
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
BasicRanged(
|
BasicRanged(
|
||||||
energy_cost: 0,
|
energy_cost: 0,
|
||||||
buildup_duration: 0.5,
|
buildup_duration: 0.6,
|
||||||
recover_duration: 0.9,
|
recover_duration: 1.0,
|
||||||
projectile: Frostball(
|
projectile: Frostball(
|
||||||
damage: 30.0,
|
damage: 30.0,
|
||||||
radius: 3.0,
|
radius: 3.0,
|
||||||
@ -9,7 +9,7 @@ BasicRanged(
|
|||||||
),
|
),
|
||||||
projectile_body: Object(IceBomb),
|
projectile_body: Object(IceBomb),
|
||||||
projectile_speed: 25.0,
|
projectile_speed: 25.0,
|
||||||
num_projectiles: 5,
|
num_projectiles: 3,
|
||||||
projectile_spread: 0.07,
|
projectile_spread: 0.07,
|
||||||
move_efficiency: 0.75,
|
move_efficiency: 0.75,
|
||||||
)
|
)
|
||||||
|
@ -12,8 +12,8 @@ ComboMelee2(
|
|||||||
angle: 60.0,
|
angle: 60.0,
|
||||||
damage_effect: Some(Buff((
|
damage_effect: Some(Buff((
|
||||||
kind: Frozen,
|
kind: Frozen,
|
||||||
dur_secs: 10.0,
|
dur_secs: 8.0,
|
||||||
strength: Value(0.5),
|
strength: Value(0.3),
|
||||||
chance: 1.0,
|
chance: 1.0,
|
||||||
))),
|
))),
|
||||||
),
|
),
|
||||||
|
@ -17,8 +17,8 @@ Shockwave(
|
|||||||
ori_rate: 1.0,
|
ori_rate: 1.0,
|
||||||
damage_effect: Some(Buff((
|
damage_effect: Some(Buff((
|
||||||
kind: Frozen,
|
kind: Frozen,
|
||||||
dur_secs: 4.0,
|
dur_secs: 5.0,
|
||||||
strength: DamageFraction(0.1),
|
strength: DamageFraction(0.06),
|
||||||
chance: 1,
|
chance: 1,
|
||||||
))),
|
))),
|
||||||
)
|
)
|
||||||
|
@ -17,7 +17,7 @@ ChargedMelee(
|
|||||||
range: 3.5,
|
range: 3.5,
|
||||||
angle: 45.0,
|
angle: 45.0,
|
||||||
),
|
),
|
||||||
charge_duration: 3.0,
|
charge_duration: 1.6,
|
||||||
swing_duration: 0.1,
|
swing_duration: 0.1,
|
||||||
hit_timing: 0.8,
|
hit_timing: 0.8,
|
||||||
recover_duration: 1.0,
|
recover_duration: 1.0,
|
||||||
|
13
assets/common/items/npc_armor/biped_large/tursus.ron
Normal file
13
assets/common/items/npc_armor/biped_large/tursus.ron
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
ItemDef(
|
||||||
|
name: "Tursus Skin",
|
||||||
|
description: "Born with it",
|
||||||
|
kind: Armor((
|
||||||
|
kind: Chest,
|
||||||
|
stats: Direct((
|
||||||
|
protection: Some(Normal(65.0)),
|
||||||
|
poise_resilience: Some(Normal(10.0)),
|
||||||
|
)),
|
||||||
|
)),
|
||||||
|
quality: Moderate,
|
||||||
|
tags: [],
|
||||||
|
)
|
@ -4,8 +4,8 @@ ItemDef(
|
|||||||
kind: Armor((
|
kind: Armor((
|
||||||
kind: Chest,
|
kind: Chest,
|
||||||
stats: Direct((
|
stats: Direct((
|
||||||
protection: Some(Normal(60.0)),
|
protection: Some(Normal(100.0)),
|
||||||
poise_resilience: Some(Normal(8.0)),
|
poise_resilience: Some(Normal(30.0)),
|
||||||
)),
|
)),
|
||||||
)),
|
)),
|
||||||
quality: Legendary,
|
quality: Legendary,
|
||||||
|
@ -804,6 +804,7 @@ impl Body {
|
|||||||
biped_large::Species::Cultistwarlock => 250,
|
biped_large::Species::Cultistwarlock => 250,
|
||||||
biped_large::Species::Gigasfrost => 20000,
|
biped_large::Species::Gigasfrost => 20000,
|
||||||
biped_large::Species::AdletElder => 1500,
|
biped_large::Species::AdletElder => 1500,
|
||||||
|
biped_large::Species::Tursus => 300,
|
||||||
_ => 120,
|
_ => 120,
|
||||||
},
|
},
|
||||||
Body::BipedSmall(biped_small) => match biped_small.species {
|
Body::BipedSmall(biped_small) => match biped_small.species {
|
||||||
@ -947,11 +948,17 @@ impl Body {
|
|||||||
BuffKind::Frozen => match self {
|
BuffKind::Frozen => match self {
|
||||||
Body::BipedLarge(b) => matches!(
|
Body::BipedLarge(b) => matches!(
|
||||||
b.species,
|
b.species,
|
||||||
biped_large::Species::Yeti | biped_large::Species::Gigasfrost
|
biped_large::Species::Yeti
|
||||||
|
| biped_large::Species::Gigasfrost
|
||||||
|
| biped_large::Species::Tursus
|
||||||
),
|
),
|
||||||
Body::QuadrupedLow(q) => matches!(q.species, quadruped_low::Species::Icedrake),
|
Body::QuadrupedLow(q) => matches!(q.species, quadruped_low::Species::Icedrake),
|
||||||
Body::BirdLarge(b) => matches!(b.species, bird_large::Species::FrostWyvern),
|
Body::BirdLarge(b) => matches!(b.species, bird_large::Species::FrostWyvern),
|
||||||
Body::BipedSmall(b) => matches!(b.species, biped_small::Species::Boreal),
|
Body::BipedSmall(b) => matches!(b.species, biped_small::Species::Boreal),
|
||||||
|
Body::QuadrupedMedium(b) => matches!(
|
||||||
|
b.species,
|
||||||
|
quadruped_medium::Species::Roshwalr | quadruped_medium::Species::Frostfang
|
||||||
|
),
|
||||||
_ => false,
|
_ => false,
|
||||||
},
|
},
|
||||||
BuffKind::ProtectingWard => matches!(self, Body::Object(object::Body::BarrelOrgan)),
|
BuffKind::ProtectingWard => matches!(self, Body::Object(object::Body::BarrelOrgan)),
|
||||||
|
@ -923,7 +923,6 @@ impl LoadoutBuilder {
|
|||||||
| biped_large::Species::Blueoni
|
| biped_large::Species::Blueoni
|
||||||
| biped_large::Species::Redoni
|
| biped_large::Species::Redoni
|
||||||
| biped_large::Species::Cavetroll
|
| biped_large::Species::Cavetroll
|
||||||
| biped_large::Species::Tursus
|
|
||||||
| biped_large::Species::Wendigo => {
|
| biped_large::Species::Wendigo => {
|
||||||
Some("common.items.npc_armor.biped_large.generic")
|
Some("common.items.npc_armor.biped_large.generic")
|
||||||
},
|
},
|
||||||
@ -931,6 +930,7 @@ impl LoadoutBuilder {
|
|||||||
biped_large::Species::Dullahan => {
|
biped_large::Species::Dullahan => {
|
||||||
Some("common.items.npc_armor.biped_large.dullahan")
|
Some("common.items.npc_armor.biped_large.dullahan")
|
||||||
},
|
},
|
||||||
|
biped_large::Species::Tursus => Some("common.items.npc_armor.biped_large.tursus"),
|
||||||
biped_large::Species::Cultistwarlord => {
|
biped_large::Species::Cultistwarlord => {
|
||||||
Some("common.items.npc_armor.biped_large.warlord")
|
Some("common.items.npc_armor.biped_large.warlord")
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user