diff --git a/assets/common/abilities/sword/agile_cascade.ron b/assets/common/abilities/sword/agile_cascade.ron index d937f33da3..407132a0fa 100644 --- a/assets/common/abilities/sword/agile_cascade.ron +++ b/assets/common/abilities/sword/agile_cascade.ron @@ -3,7 +3,7 @@ ComboMelee2( ( melee_constructor: ( kind: Slash( - damage: 12, + damage: 11, poise: 5, knockback: 0, energy_regen: 0, diff --git a/assets/common/abilities/sword/agile_cross_cut.ron b/assets/common/abilities/sword/agile_cross_cut.ron index c69b3a3c71..e4c79c5b68 100644 --- a/assets/common/abilities/sword/agile_cross_cut.ron +++ b/assets/common/abilities/sword/agile_cross_cut.ron @@ -3,7 +3,7 @@ ComboMelee2( ( melee_constructor: ( kind: Slash( - damage: 5, + damage: 4, poise: 5, knockback: 0, energy_regen: 0, @@ -20,7 +20,7 @@ ComboMelee2( ( melee_constructor: ( kind: Slash( - damage: 7, + damage: 6, poise: 5, knockback: 0, energy_regen: 0, diff --git a/assets/common/abilities/sword/agile_dual_flurry.ron b/assets/common/abilities/sword/agile_dual_flurry.ron index 8a4be2c2bd..68b48d53dd 100644 --- a/assets/common/abilities/sword/agile_dual_flurry.ron +++ b/assets/common/abilities/sword/agile_dual_flurry.ron @@ -4,7 +4,7 @@ RapidMelee( recover_duration: 0.1, melee_constructor: ( kind: Slash( - damage: 10, + damage: 6, poise: 3, knockback: 0, energy_regen: 0, @@ -12,7 +12,7 @@ RapidMelee( range: 6.0, angle: 10.0, ), - energy_cost: 2.5, + energy_cost: 6, max_strikes: Some(6), move_modifier: 0.35, ori_modifier: 0.25, diff --git a/assets/common/abilities/sword/agile_feint.ron b/assets/common/abilities/sword/agile_feint.ron index e29e6e623e..bb41c3e5d7 100644 --- a/assets/common/abilities/sword/agile_feint.ron +++ b/assets/common/abilities/sword/agile_feint.ron @@ -3,13 +3,13 @@ ComboMelee2( ( melee_constructor: ( kind: Slash( - damage: 8, + damage: 14, poise: 5, knockback: 0, energy_regen: 0, ), range: 3.0, - angle: 45.0, + angle: 90.0, ), buildup_duration: 0.2, swing_duration: 0.1, @@ -23,7 +23,7 @@ ComboMelee2( ori_modifier: 0.6, ), ], - energy_cost_per_strike: 0, + energy_cost_per_strike: 5, meta: ( init_event: Some(EnterStance(Sword(Agile))), ), diff --git a/assets/common/abilities/sword/agile_fell_strike.ron b/assets/common/abilities/sword/agile_fell_strike.ron index a52e5b0764..a029cdf65d 100644 --- a/assets/common/abilities/sword/agile_fell_strike.ron +++ b/assets/common/abilities/sword/agile_fell_strike.ron @@ -3,7 +3,7 @@ ComboMelee2( ( melee_constructor: ( kind: Slash( - damage: 10, + damage: 9, poise: 5, knockback: 0, energy_regen: 0, diff --git a/assets/common/abilities/sword/agile_flurry.ron b/assets/common/abilities/sword/agile_flurry.ron index 7bbbe86389..2f224e8ad3 100644 --- a/assets/common/abilities/sword/agile_flurry.ron +++ b/assets/common/abilities/sword/agile_flurry.ron @@ -4,7 +4,7 @@ RapidMelee( recover_duration: 0.1, melee_constructor: ( kind: Slash( - damage: 10, + damage: 8, poise: 3, knockback: 0, energy_regen: 0, @@ -12,7 +12,7 @@ RapidMelee( range: 6.0, angle: 10.0, ), - energy_cost: 5, + energy_cost: 6, max_strikes: Some(3), move_modifier: 0.35, ori_modifier: 0.25, diff --git a/assets/common/abilities/sword/basic_cascade.ron b/assets/common/abilities/sword/basic_cascade.ron index 3d5723658b..155d42c58e 100644 --- a/assets/common/abilities/sword/basic_cascade.ron +++ b/assets/common/abilities/sword/basic_cascade.ron @@ -3,7 +3,7 @@ ComboMelee2( ( melee_constructor: ( kind: Slash( - damage: 24, + damage: 19, poise: 5, knockback: 0, energy_regen: 0, diff --git a/assets/common/abilities/sword/basic_crescent_slash.ron b/assets/common/abilities/sword/basic_crescent_slash.ron index 4e4ca1869d..2cc73bbb8d 100644 --- a/assets/common/abilities/sword/basic_crescent_slash.ron +++ b/assets/common/abilities/sword/basic_crescent_slash.ron @@ -3,7 +3,7 @@ ComboMelee2( ( melee_constructor: ( kind: Slash( - damage: 16, + damage: 13, poise: 5, knockback: 0, energy_regen: 0, diff --git a/assets/common/abilities/sword/basic_cross_cut.ron b/assets/common/abilities/sword/basic_cross_cut.ron index d5fbee507b..e60efcb04f 100644 --- a/assets/common/abilities/sword/basic_cross_cut.ron +++ b/assets/common/abilities/sword/basic_cross_cut.ron @@ -3,7 +3,7 @@ ComboMelee2( ( melee_constructor: ( kind: Slash( - damage: 10, + damage: 7, poise: 5, knockback: 0, energy_regen: 0, @@ -20,7 +20,7 @@ ComboMelee2( ( melee_constructor: ( kind: Slash( - damage: 14, + damage: 12, poise: 5, knockback: 0, energy_regen: 0, diff --git a/assets/common/abilities/sword/basic_dual_cross_cut.ron b/assets/common/abilities/sword/basic_dual_cross_cut.ron index d9450cc643..a4338ba56f 100644 --- a/assets/common/abilities/sword/basic_dual_cross_cut.ron +++ b/assets/common/abilities/sword/basic_dual_cross_cut.ron @@ -3,7 +3,7 @@ ComboMelee2( ( melee_constructor: ( kind: Slash( - damage: 10, + damage: 9, poise: 5, knockback: 0, energy_regen: 0, diff --git a/assets/common/abilities/sword/basic_fell_strike.ron b/assets/common/abilities/sword/basic_fell_strike.ron index 77f2ee8053..79956e3529 100644 --- a/assets/common/abilities/sword/basic_fell_strike.ron +++ b/assets/common/abilities/sword/basic_fell_strike.ron @@ -3,7 +3,7 @@ ComboMelee2( ( melee_constructor: ( kind: Slash( - damage: 20, + damage: 15, poise: 5, knockback: 0, energy_regen: 0, diff --git a/assets/common/abilities/sword/basic_skewer.ron b/assets/common/abilities/sword/basic_skewer.ron index 39a0ef28cc..af1a945754 100644 --- a/assets/common/abilities/sword/basic_skewer.ron +++ b/assets/common/abilities/sword/basic_skewer.ron @@ -3,7 +3,7 @@ ComboMelee2( ( melee_constructor: ( kind: Stab( - damage: 18, + damage: 15, poise: 5, knockback: 0, energy_regen: 0, diff --git a/assets/common/abilities/sword/cleaving_bladestorm.ron b/assets/common/abilities/sword/cleaving_bladestorm.ron index ffbdfe1af5..371c3e01a3 100644 --- a/assets/common/abilities/sword/cleaving_bladestorm.ron +++ b/assets/common/abilities/sword/cleaving_bladestorm.ron @@ -4,7 +4,7 @@ RapidMelee( recover_duration: 0.3, melee_constructor: ( kind: Slash( - damage: 8, + damage: 10, poise: 10, knockback: 0, energy_regen: 0, diff --git a/assets/common/abilities/sword/cleaving_cascade.ron b/assets/common/abilities/sword/cleaving_cascade.ron index 405b603cf7..fee25cf3e3 100644 --- a/assets/common/abilities/sword/cleaving_cascade.ron +++ b/assets/common/abilities/sword/cleaving_cascade.ron @@ -3,7 +3,7 @@ ComboMelee2( ( melee_constructor: ( kind: Slash( - damage: 24, + damage: 19, poise: 5, knockback: 0, energy_regen: 0, diff --git a/assets/common/abilities/sword/cleaving_crescent_slash.ron b/assets/common/abilities/sword/cleaving_crescent_slash.ron index 99325c5909..2d2d8484c1 100644 --- a/assets/common/abilities/sword/cleaving_crescent_slash.ron +++ b/assets/common/abilities/sword/cleaving_crescent_slash.ron @@ -3,7 +3,7 @@ ComboMelee2( ( melee_constructor: ( kind: Slash( - damage: 16, + damage: 13, poise: 5, knockback: 0, energy_regen: 0, diff --git a/assets/common/abilities/sword/cleaving_cross_cut.ron b/assets/common/abilities/sword/cleaving_cross_cut.ron index c0cd0a8ac8..8312c0878c 100644 --- a/assets/common/abilities/sword/cleaving_cross_cut.ron +++ b/assets/common/abilities/sword/cleaving_cross_cut.ron @@ -3,7 +3,7 @@ ComboMelee2( ( melee_constructor: ( kind: Slash( - damage: 10, + damage: 7, poise: 5, knockback: 0, energy_regen: 0, @@ -21,7 +21,7 @@ ComboMelee2( ( melee_constructor: ( kind: Slash( - damage: 14, + damage: 12, poise: 5, knockback: 0, energy_regen: 0, diff --git a/assets/common/abilities/sword/cleaving_dual_cross_cut.ron b/assets/common/abilities/sword/cleaving_dual_cross_cut.ron index e4e3f75ce3..5c5d14948c 100644 --- a/assets/common/abilities/sword/cleaving_dual_cross_cut.ron +++ b/assets/common/abilities/sword/cleaving_dual_cross_cut.ron @@ -3,7 +3,7 @@ ComboMelee2( ( melee_constructor: ( kind: Slash( - damage: 10, + damage: 9, poise: 5, knockback: 0, energy_regen: 0, diff --git a/assets/common/abilities/sword/cleaving_dual_whirlwind_slice.ron b/assets/common/abilities/sword/cleaving_dual_whirlwind_slice.ron index 3b408fbf10..aa1d2cf727 100644 --- a/assets/common/abilities/sword/cleaving_dual_whirlwind_slice.ron +++ b/assets/common/abilities/sword/cleaving_dual_whirlwind_slice.ron @@ -4,7 +4,7 @@ RapidMelee( recover_duration: 0.4, melee_constructor: ( kind: Slash( - damage: 10, + damage: 8, poise: 5, knockback: 0, energy_regen: 0, diff --git a/assets/common/abilities/sword/cleaving_earth_splitter.ron b/assets/common/abilities/sword/cleaving_earth_splitter.ron index e172a69bb9..e780681ccc 100644 --- a/assets/common/abilities/sword/cleaving_earth_splitter.ron +++ b/assets/common/abilities/sword/cleaving_earth_splitter.ron @@ -1,5 +1,5 @@ DiveMelee( - energy_cost: 5, + energy_cost: 15, vertical_speed: 5, buildup_duration: Some(0.1), movement_duration: 5, diff --git a/assets/common/abilities/sword/cleaving_fell_strike.ron b/assets/common/abilities/sword/cleaving_fell_strike.ron index 9f3af352ca..4192bc601b 100644 --- a/assets/common/abilities/sword/cleaving_fell_strike.ron +++ b/assets/common/abilities/sword/cleaving_fell_strike.ron @@ -3,7 +3,7 @@ ComboMelee2( ( melee_constructor: ( kind: Slash( - damage: 20, + damage: 15, poise: 5, knockback: 0, energy_regen: 0, diff --git a/assets/common/abilities/sword/cleaving_skewer.ron b/assets/common/abilities/sword/cleaving_skewer.ron index 8a200b852e..01cdb65294 100644 --- a/assets/common/abilities/sword/cleaving_skewer.ron +++ b/assets/common/abilities/sword/cleaving_skewer.ron @@ -3,7 +3,7 @@ ComboMelee2( ( melee_constructor: ( kind: Stab( - damage: 18, + damage: 15, poise: 5, knockback: 0, energy_regen: 0, diff --git a/assets/common/abilities/sword/cleaving_sky_splitter.ron b/assets/common/abilities/sword/cleaving_sky_splitter.ron index 7e3efdf08a..bd530008b5 100644 --- a/assets/common/abilities/sword/cleaving_sky_splitter.ron +++ b/assets/common/abilities/sword/cleaving_sky_splitter.ron @@ -4,9 +4,9 @@ ComboMelee2( ( melee_constructor: ( kind: Slash( - damage: 30, + damage: 23, poise: 20, - knockback: 10, + knockback: 20, energy_regen: 0, ), range: 4.0, @@ -20,7 +20,7 @@ ComboMelee2( ori_modifier: 0.6, ), ], - energy_cost_per_strike: 25, + energy_cost_per_strike: 18, meta: ( requirements: (stance: Some(Sword(Cleaving))), ), diff --git a/assets/common/abilities/sword/cleaving_whirlwind_slice.ron b/assets/common/abilities/sword/cleaving_whirlwind_slice.ron index d3d65acf2c..a49bed4dcb 100644 --- a/assets/common/abilities/sword/cleaving_whirlwind_slice.ron +++ b/assets/common/abilities/sword/cleaving_whirlwind_slice.ron @@ -4,7 +4,7 @@ RapidMelee( recover_duration: 0.4, melee_constructor: ( kind: Slash( - damage: 14, + damage: 11, poise: 5, knockback: 0, energy_regen: 0, diff --git a/assets/common/abilities/sword/crippling_bloody_gash.ron b/assets/common/abilities/sword/crippling_bloody_gash.ron index ce034aca23..293517ab57 100644 --- a/assets/common/abilities/sword/crippling_bloody_gash.ron +++ b/assets/common/abilities/sword/crippling_bloody_gash.ron @@ -3,10 +3,10 @@ ComboMelee2( ( melee_constructor: ( kind: Slash( - damage: 16, + damage: 12, poise: 5, knockback: 0, - energy_regen: 5, + energy_regen: 7, ), range: 3.0, angle: 45.0, @@ -15,11 +15,11 @@ ComboMelee2( buildup_duration: 0.2, swing_duration: 0.1, hit_timing: 0.5, - recover_duration: 0.2, + recover_duration: 0.35, ori_modifier: 0.6, ), ], - energy_cost_per_strike: 12, + energy_cost_per_strike: 15, meta: ( requirements: (stance: Some(Sword(Crippling))), ), diff --git a/assets/common/abilities/sword/crippling_cascade.ron b/assets/common/abilities/sword/crippling_cascade.ron index b4190453b4..4244d40955 100644 --- a/assets/common/abilities/sword/crippling_cascade.ron +++ b/assets/common/abilities/sword/crippling_cascade.ron @@ -3,7 +3,7 @@ ComboMelee2( ( melee_constructor: ( kind: Slash( - damage: 20, + damage: 15, poise: 5, knockback: 0, energy_regen: 0, diff --git a/assets/common/abilities/sword/crippling_crescent_slash.ron b/assets/common/abilities/sword/crippling_crescent_slash.ron index a7cd2ed29f..8e39dbd46b 100644 --- a/assets/common/abilities/sword/crippling_crescent_slash.ron +++ b/assets/common/abilities/sword/crippling_crescent_slash.ron @@ -3,7 +3,7 @@ ComboMelee2( ( melee_constructor: ( kind: Slash( - damage: 13, + damage: 12, poise: 5, knockback: 0, energy_regen: 0, diff --git a/assets/common/abilities/sword/crippling_dual_cross_cut.ron b/assets/common/abilities/sword/crippling_dual_cross_cut.ron index fac0cce391..7fbb7c0ef5 100644 --- a/assets/common/abilities/sword/crippling_dual_cross_cut.ron +++ b/assets/common/abilities/sword/crippling_dual_cross_cut.ron @@ -3,7 +3,7 @@ ComboMelee2( ( melee_constructor: ( kind: Slash( - damage: 7, + damage: 9, poise: 5, knockback: 0, energy_regen: 0, diff --git a/assets/common/abilities/sword/crippling_eviscerate.ron b/assets/common/abilities/sword/crippling_eviscerate.ron index 18a3dd4653..90e0b831a2 100644 --- a/assets/common/abilities/sword/crippling_eviscerate.ron +++ b/assets/common/abilities/sword/crippling_eviscerate.ron @@ -3,7 +3,7 @@ ComboMelee2( ( melee_constructor: ( kind: Slash( - damage: 19, + damage: 14, poise: 5, knockback: 0, energy_regen: 0, @@ -15,11 +15,11 @@ ComboMelee2( buildup_duration: 0.2, swing_duration: 0.15, hit_timing: 0.5, - recover_duration: 0.2, + recover_duration: 0.35, ori_modifier: 0.6, ), ], - energy_cost_per_strike: 17, + energy_cost_per_strike: 10, meta: ( requirements: (stance: Some(Sword(Crippling))), ), diff --git a/assets/common/abilities/sword/crippling_fell_strike.ron b/assets/common/abilities/sword/crippling_fell_strike.ron index 9a7b67068a..995eb7ec98 100644 --- a/assets/common/abilities/sword/crippling_fell_strike.ron +++ b/assets/common/abilities/sword/crippling_fell_strike.ron @@ -3,7 +3,7 @@ ComboMelee2( ( melee_constructor: ( kind: Slash( - damage: 17, + damage: 14, poise: 5, knockback: 0, energy_regen: 0, @@ -13,7 +13,7 @@ ComboMelee2( damage_effect: Some(Buff(( kind: Bleeding, dur_secs: 8.0, - strength: DamageFraction(0.25), + strength: DamageFraction(0.15), chance: 1.0, ))), ), diff --git a/assets/common/abilities/sword/crippling_gouge.ron b/assets/common/abilities/sword/crippling_gouge.ron index d0480a6de6..66d41f5038 100644 --- a/assets/common/abilities/sword/crippling_gouge.ron +++ b/assets/common/abilities/sword/crippling_gouge.ron @@ -3,7 +3,7 @@ ComboMelee2( ( melee_constructor: ( kind: Slash( - damage: 16, + damage: 12, poise: 5, knockback: 0, energy_regen: 0, @@ -12,8 +12,8 @@ ComboMelee2( angle: 45.0, damage_effect: Some(Buff(( kind: Bleeding, - dur_secs: 4.0, - strength: DamageFraction(0.4), + dur_secs: 5.0, + strength: DamageFraction(0.25), chance: 1.0, ))), ), diff --git a/assets/common/abilities/sword/crippling_hamstring.ron b/assets/common/abilities/sword/crippling_hamstring.ron index debf08befc..8cbb9f0e83 100644 --- a/assets/common/abilities/sword/crippling_hamstring.ron +++ b/assets/common/abilities/sword/crippling_hamstring.ron @@ -3,7 +3,7 @@ ComboMelee2( ( melee_constructor: ( kind: Slash( - damage: 16, + damage: 12, poise: 5, knockback: 0, energy_regen: 0, @@ -12,7 +12,7 @@ ComboMelee2( angle: 45.0, damage_effect: Some(Buff(( kind: Crippled, - dur_secs: 15.0, + dur_secs: 10.0, strength: Value(0.25), chance: 1.0, ))), diff --git a/assets/common/abilities/sword/crippling_skewer.ron b/assets/common/abilities/sword/crippling_skewer.ron index ec1701ea04..c2e7506f14 100644 --- a/assets/common/abilities/sword/crippling_skewer.ron +++ b/assets/common/abilities/sword/crippling_skewer.ron @@ -3,7 +3,7 @@ ComboMelee2( ( melee_constructor: ( kind: Stab( - damage: 15, + damage: 14, poise: 5, knockback: 0, energy_regen: 0, @@ -13,7 +13,7 @@ ComboMelee2( damage_effect: Some(Buff(( kind: Bleeding, dur_secs: 8.0, - strength: DamageFraction(0.25), + strength: DamageFraction(0.15), chance: 1.0, ))), ), diff --git a/assets/common/abilities/sword/defensive_cascade.ron b/assets/common/abilities/sword/defensive_cascade.ron index 56a8065295..37fc225cbc 100644 --- a/assets/common/abilities/sword/defensive_cascade.ron +++ b/assets/common/abilities/sword/defensive_cascade.ron @@ -3,7 +3,7 @@ ComboMelee2( ( melee_constructor: ( kind: Slash( - damage: 18, + damage: 16, poise: 5, knockback: 0, energy_regen: 0, diff --git a/assets/common/abilities/sword/defensive_cross_cut.ron b/assets/common/abilities/sword/defensive_cross_cut.ron index e45bb316a1..5a18563bf5 100644 --- a/assets/common/abilities/sword/defensive_cross_cut.ron +++ b/assets/common/abilities/sword/defensive_cross_cut.ron @@ -3,7 +3,7 @@ ComboMelee2( ( melee_constructor: ( kind: Slash( - damage: 6, + damage: 5, poise: 5, knockback: 0, energy_regen: 0, @@ -21,7 +21,7 @@ ComboMelee2( ( melee_constructor: ( kind: Slash( - damage: 9, + damage: 8, poise: 5, knockback: 0, energy_regen: 0, diff --git a/assets/common/abilities/sword/defensive_disengage.ron b/assets/common/abilities/sword/defensive_disengage.ron index f7b6b0679f..ffa3775702 100644 --- a/assets/common/abilities/sword/defensive_disengage.ron +++ b/assets/common/abilities/sword/defensive_disengage.ron @@ -3,12 +3,12 @@ ComboMelee2( ( melee_constructor: ( kind: Slash( - damage: 10, - poise: 5, + damage: 0, + poise: 0, knockback: 0, energy_regen: 0, ), - range: 6.0, + range: 4.0, angle: 45.0, ), buildup_duration: 0.05, @@ -26,6 +26,5 @@ ComboMelee2( energy_cost_per_strike: 0, meta: ( init_event: Some(EnterStance(Sword(Defensive))), - capabilities: ("BLOCKS"), ), ) diff --git a/assets/common/abilities/sword/defensive_fell_strike.ron b/assets/common/abilities/sword/defensive_fell_strike.ron index d9857d023a..a5ecbdc8c9 100644 --- a/assets/common/abilities/sword/defensive_fell_strike.ron +++ b/assets/common/abilities/sword/defensive_fell_strike.ron @@ -3,7 +3,7 @@ ComboMelee2( ( melee_constructor: ( kind: Slash( - damage: 20, + damage: 15, poise: 5, knockback: 0, energy_regen: 0, diff --git a/assets/common/abilities/sword/heavy_cascade.ron b/assets/common/abilities/sword/heavy_cascade.ron index 9537028bed..c2574a1919 100644 --- a/assets/common/abilities/sword/heavy_cascade.ron +++ b/assets/common/abilities/sword/heavy_cascade.ron @@ -3,7 +3,7 @@ ComboMelee2( ( melee_constructor: ( kind: Slash( - damage: 30, + damage: 23, poise: 15, knockback: 0, energy_regen: 0, diff --git a/assets/common/abilities/sword/heavy_crescent_slash.ron b/assets/common/abilities/sword/heavy_crescent_slash.ron index f239847c05..16e7033f7e 100644 --- a/assets/common/abilities/sword/heavy_crescent_slash.ron +++ b/assets/common/abilities/sword/heavy_crescent_slash.ron @@ -3,7 +3,7 @@ ComboMelee2( ( melee_constructor: ( kind: Slash( - damage: 20, + damage: 17, poise: 15, knockback: 0, energy_regen: 0, diff --git a/assets/common/abilities/sword/heavy_cross_cut.ron b/assets/common/abilities/sword/heavy_cross_cut.ron index eeb7bfddc0..1b8d66b4bc 100644 --- a/assets/common/abilities/sword/heavy_cross_cut.ron +++ b/assets/common/abilities/sword/heavy_cross_cut.ron @@ -3,7 +3,7 @@ ComboMelee2( ( melee_constructor: ( kind: Slash( - damage: 12, + damage: 9, poise: 5, knockback: 0, energy_regen: 0, @@ -21,7 +21,7 @@ ComboMelee2( ( melee_constructor: ( kind: Slash( - damage: 18, + damage: 14, poise: 5, knockback: 0, energy_regen: 0, diff --git a/assets/common/abilities/sword/heavy_dual_cross_cut.ron b/assets/common/abilities/sword/heavy_dual_cross_cut.ron index 886b31ad63..4254371c25 100644 --- a/assets/common/abilities/sword/heavy_dual_cross_cut.ron +++ b/assets/common/abilities/sword/heavy_dual_cross_cut.ron @@ -3,7 +3,7 @@ ComboMelee2( ( melee_constructor: ( kind: Slash( - damage: 12, + damage: 11, poise: 5, knockback: 0, energy_regen: 0, diff --git a/assets/common/abilities/sword/heavy_fell_strike.ron b/assets/common/abilities/sword/heavy_fell_strike.ron index 7d6518b418..40c400f567 100644 --- a/assets/common/abilities/sword/heavy_fell_strike.ron +++ b/assets/common/abilities/sword/heavy_fell_strike.ron @@ -3,7 +3,7 @@ ComboMelee2( ( melee_constructor: ( kind: Slash( - damage: 25, + damage: 19, poise: 15, knockback: 0, energy_regen: 0, diff --git a/assets/common/abilities/sword/heavy_pillar_thrust.ron b/assets/common/abilities/sword/heavy_pillar_thrust.ron index ab6a72c945..e4dbe07f30 100644 --- a/assets/common/abilities/sword/heavy_pillar_thrust.ron +++ b/assets/common/abilities/sword/heavy_pillar_thrust.ron @@ -7,7 +7,7 @@ DiveMelee( recover_duration: 0.3, melee_constructor: ( kind: Slash( - damage: 30, + damage: 25, poise: 40, knockback: 0, energy_regen: 0, diff --git a/assets/common/abilities/sword/heavy_pommel_strike.ron b/assets/common/abilities/sword/heavy_pommel_strike.ron index 39a8848e1e..63cee6aa3d 100644 --- a/assets/common/abilities/sword/heavy_pommel_strike.ron +++ b/assets/common/abilities/sword/heavy_pommel_strike.ron @@ -8,9 +8,8 @@ ComboMelee2( knockback: 0, energy_regen: 0, ), - range: 1.0, + range: 1.5, angle: 45.0, - damage_effect: Some(StunnedVulnerable(0.5)), ), buildup_duration: 0.15, swing_duration: 0.1, diff --git a/assets/common/abilities/sword/heavy_skewer.ron b/assets/common/abilities/sword/heavy_skewer.ron index 0480811325..14bff76e42 100644 --- a/assets/common/abilities/sword/heavy_skewer.ron +++ b/assets/common/abilities/sword/heavy_skewer.ron @@ -3,7 +3,7 @@ ComboMelee2( ( melee_constructor: ( kind: Stab( - damage: 23, + damage: 18, poise: 15, knockback: 0, energy_regen: 0, diff --git a/assets/common/abilities/sword/heavy_sweep.ron b/assets/common/abilities/sword/heavy_sweep.ron index 3614d26e4f..3ba2c818a1 100644 --- a/assets/common/abilities/sword/heavy_sweep.ron +++ b/assets/common/abilities/sword/heavy_sweep.ron @@ -3,23 +3,23 @@ ComboMelee2( ( melee_constructor: ( kind: Slash( - damage: 27, + damage: 21, poise: 30, knockback: 0, energy_regen: 0, ), range: 4.0, angle: 90.0, - damage_effect: Some(StunnedVulnerable(0.5)), + damage_effect: Some(StunnedVulnerable(0.8)), ), - buildup_duration: 0.2, + buildup_duration: 0.3, swing_duration: 0.2, hit_timing: 0.5, recover_duration: 0.3, ori_modifier: 0.6, ), ], - energy_cost_per_strike: 5, + energy_cost_per_strike: 13, meta: ( init_event: Some(EnterStance(Sword(Heavy))), ), diff --git a/common/src/combat.rs b/common/src/combat.rs index 1d7f881eb4..371ec66297 100644 --- a/common/src/combat.rs +++ b/common/src/combat.rs @@ -157,7 +157,7 @@ impl Attack { let damage_reduction = (1.0 - attacker_penetration) * raw_damage_reduction; let block_reduction = if let (Some(char_state), Some(ori)) = (target.char_state, target.ori) { - if ori.look_vec().angle_between(-*dir) < char_state.block_angle() { + if ori.look_vec().angle_between(-dir.with_z(0.0)) < char_state.block_angle() { if char_state.is_parry(source) { emit_outcome(Outcome::Block { parry: true, @@ -391,7 +391,6 @@ impl Attack { time, attacker.map(|a| a.uid), target.stats, - target.health, applied_damage, strength_modifier, )), @@ -611,7 +610,6 @@ impl Attack { time, attacker.map(|a| a.uid), target.stats, - target.health, accumulated_damage, strength_modifier, )), @@ -1179,7 +1177,6 @@ impl CombatBuff { time: Time, uid: Option, tgt_stats: Option<&Stats>, - tgt_health: Option<&Health>, damage: f32, strength_modifier: f32, ) -> Buff { @@ -1199,7 +1196,6 @@ impl CombatBuff { source, time, tgt_stats, - tgt_health, ) } } diff --git a/common/src/comp/buff.rs b/common/src/comp/buff.rs index e4c883188e..327281f7fc 100644 --- a/common/src/comp/buff.rs +++ b/common/src/comp/buff.rs @@ -4,7 +4,7 @@ use crate::{ AttackEffect, CombatBuff, CombatBuffStrength, CombatEffect, CombatRequirement, DamagedEffect, }, - comp::{aura::AuraKey, Health, Stats}, + comp::{aura::AuraKey, Stats}, resources::{Secs, Time}, uid::Uid, }; @@ -70,12 +70,12 @@ pub enum BuffKind { /// 50% increase, 1.0 is a 100% increase. Hastened, /// Increases resistance to incoming poise, and poise damage dealt as health - /// is lost from the time the buff activated. + /// is lost. /// Strength scales the resistance non-linearly. 0.5 provides 50%, 1.0 /// provides 67%. /// Strength scales the poise damage increase linearly, a strength of 1.0 - /// and n health less from activation will cause poise damage to increase by - /// n%. + /// and n health less from maximum health will cause poise damage to + /// increase by n%. Fortitude, /// Increases both attack damage and vulnerability to damage. /// Damage increases linearly with strength, 1.0 is a 100% increase. @@ -268,12 +268,7 @@ impl BuffKind { /// only the strongest. pub fn stacks(self) -> bool { matches!(self, BuffKind::PotionSickness) } - pub fn effects( - &self, - data: &BuffData, - stats: Option<&Stats>, - health: Option<&Health>, - ) -> Vec { + pub fn effects(&self, data: &BuffData, stats: Option<&Stats>) -> Vec { // Normalized nonlinear scaling let nn_scaling = |a| a / (a + 0.5); let instance = rand::random(); @@ -392,10 +387,7 @@ impl BuffKind { ], BuffKind::Fortitude => vec![ BuffEffect::PoiseReduction(nn_scaling(data.strength)), - BuffEffect::PoiseDamageFromLostHealth { - initial_health: health.map_or(0.0, |h| h.current()), - strength: data.strength, - }, + BuffEffect::PoiseDamageFromLostHealth(data.strength), ], BuffKind::Parried => vec![BuffEffect::AttackSpeed(0.5)], //TODO: Handle potion sickness in a more general way. @@ -601,10 +593,7 @@ pub enum BuffEffect { /// Reduces amount of speed increase by consumables MoveSpeedReduction(f32), /// Increases poise damage dealt when health is lost - PoiseDamageFromLostHealth { - initial_health: f32, - strength: f32, - }, + PoiseDamageFromLostHealth(f32), /// Modifier to the amount of damage dealt with attacks AttackDamage(f32), /// Overrides the precision multiplier applied to an attack @@ -679,9 +668,8 @@ impl Buff { source: BuffSource, time: Time, stats: Option<&Stats>, - health: Option<&Health>, ) -> Self { - let effects = kind.effects(&data, stats, health); + let effects = kind.effects(&data, stats); let cat_ids = kind.extend_cat_ids(cat_ids); let start_time = Time(time.0 + data.delay.map_or(0.0, |delay| delay.0)); let end_time = if cat_ids @@ -941,7 +929,6 @@ pub mod tests { BuffSource::Unknown, time, None, - None, ) } diff --git a/common/src/states/self_buff.rs b/common/src/states/self_buff.rs index 196d22cb26..9975866130 100644 --- a/common/src/states/self_buff.rs +++ b/common/src/states/self_buff.rs @@ -127,7 +127,6 @@ impl CharacterBehavior for Data { BuffSource::Character { by: *data.uid }, *data.time, Some(data.stats), - data.health, ); output_events.emit_server(ServerEvent::Buff { entity: data.entity, diff --git a/common/systems/src/aura.rs b/common/systems/src/aura.rs index 037b42d84c..0738d4926a 100644 --- a/common/systems/src/aura.rs +++ b/common/systems/src/aura.rs @@ -232,7 +232,6 @@ fn activate_aura( source, *read_data.time, stats, - Some(health), )), }); } diff --git a/common/systems/src/buff.rs b/common/systems/src/buff.rs index 7840a1a667..c1bb6e0080 100644 --- a/common/systems/src/buff.rs +++ b/common/systems/src/buff.rs @@ -153,7 +153,6 @@ impl<'a> System<'a> for Sys { BuffSource::World, *read_data.time, Some(&stat), - Some(health), )), }); } @@ -171,7 +170,6 @@ impl<'a> System<'a> for Sys { BuffSource::World, *read_data.time, Some(&stat), - Some(health), )), }); } @@ -202,7 +200,6 @@ impl<'a> System<'a> for Sys { BuffSource::World, *read_data.time, Some(&stat), - Some(health), )), }); } @@ -221,7 +218,6 @@ impl<'a> System<'a> for Sys { BuffSource::World, *read_data.time, Some(&stat), - Some(health), )), }); } @@ -239,7 +235,6 @@ impl<'a> System<'a> for Sys { BuffSource::World, *read_data.time, Some(&stat), - Some(health), )), }); } @@ -257,7 +252,6 @@ impl<'a> System<'a> for Sys { BuffSource::World, *read_data.time, Some(&stat), - Some(health), )), }); // When standing on IceSpike also apply Frozen @@ -270,7 +264,6 @@ impl<'a> System<'a> for Sys { BuffSource::World, *read_data.time, Some(&stat), - Some(health), )), }); } @@ -288,7 +281,6 @@ impl<'a> System<'a> for Sys { BuffSource::World, *read_data.time, Some(&stat), - Some(health), )), }); } @@ -310,7 +302,6 @@ impl<'a> System<'a> for Sys { BuffSource::World, *read_data.time, Some(&stat), - Some(health), )), }); } else if matches!( @@ -387,7 +378,6 @@ impl<'a> System<'a> for Sys { buff.source, *read_data.time, Some(&stat), - Some(health), )), }); } @@ -701,11 +691,8 @@ fn execute_effect( BuffEffect::MoveSpeedReduction(red) => { stat.move_speed_multiplier *= 1.0 - *red; }, - BuffEffect::PoiseDamageFromLostHealth { - initial_health, - strength, - } => { - let lost_health = (*initial_health - health.current()).max(0.0); + BuffEffect::PoiseDamageFromLostHealth(strength) => { + let lost_health = health.maximum() - health.current(); stat.poise_damage_modifier *= lost_health / 100.0 * *strength; }, BuffEffect::AttackDamage(dam) => { diff --git a/server/agent/src/action_nodes.rs b/server/agent/src/action_nodes.rs index 8100c20a3e..29c38d93bb 100644 --- a/server/agent/src/action_nodes.rs +++ b/server/agent/src/action_nodes.rs @@ -713,7 +713,7 @@ impl<'a> AgentData<'a> { }, Effect::Buff(BuffEffect { kind, data, .. }) => { if let Some(duration) = data.duration { - for effect in kind.effects(data, self.stats, self.health) { + for effect in kind.effects(data, self.stats) { match effect { comp::BuffEffect::HealthChangeOverTime { rate, kind, .. } => { let amount = match kind { diff --git a/server/src/cmd.rs b/server/src/cmd.rs index 747487942f..fbe69ac378 100644 --- a/server/src/cmd.rs +++ b/server/src/cmd.rs @@ -4287,7 +4287,6 @@ fn cast_buff(buffkind: BuffKind, data: BuffData, server: &mut Server, target: Ec let ecs = &server.state.ecs(); let mut buffs_all = ecs.write_storage::(); let stats = ecs.read_storage::(); - let healths = ecs.read_storage::(); let time = ecs.read_resource::