Skip to content

Commit

Permalink
refactor: bump version to 0.9.2 and document changes
Browse files Browse the repository at this point in the history
Improve code in a few places
  • Loading branch information
Darxo committed Oct 1, 2024
1 parent 57d7294 commit 42e3e91
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 14 deletions.
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,12 @@ Hardened reflects my personal vision of Battle Brothers — a balanced, varied,
- Disable **Veteran Perks**. Your brothers no longer gain perk points after Level 11
- When you pay compensation on dismissing a brother, he will share 50% of his experience with all remaining brothers. No more than 5% of his maximum exp each.
- Add new **Parry** perk in Tier 3 of **Swift Group**. It requires a one handed melee weapon. It grants Melee Defense equal to your base Ranged Defense against weapon attacks. While engage with someone wielding a melee weapon, you have 70% less Ranged Defense. Does not work with shields, while stunned, fleeing or disarmed.
- Add new **Battle Song** skill while holding a **Lute** for applying a temporary Resolve buff to nearby allies

## Balance & Polishing

### Skills

- Add new **Battle Song** skill while holding a **Lute** for applying a temporary Resolve buff to nearby allies
- **Bandage Ally** now also treats any injury which was received at most 1 round ago
- **Distracted** (caused by **Throw Dirt**) now reduces the damage by 20% (down from 35%) and disables the targets Zone of Control during the effect
- **Hand-to-Hand Attack** is now enabled if you carry an empty throwing weapon in your main hand.
Expand Down Expand Up @@ -221,16 +221,22 @@ Just the images side-by-side: https://github.com/Darxo/Hardened/wiki/Perk-change
- **Barbarian Drummer** now have +1 Action Point and grant +150 Experience
- **Nachzehrer** can no longer swallow player characters while in a net.
- **Necromancer** no longer have 20 natural body armor or **Inspiring Presence**
- **Ancient Auxiliary** no longer have **Battleforged**
- **Donkeys** now grant 0 XP (down from 50 XP)
- Add face warpaint to all **Fast Bandits**
- Peasant Parties now drop 0 Crowns (down from 0-50). Peasants killed in battle now randomly drop crowns, food or tools or a valueable ring.
- Remove **Steelbrow** from Ifrit, Sapling and Kraken Tentacle
- Enemies which spawn with **Spear Flurry** now automatically gain **Double Strike** (to balance out how bad that perk is by itself)

### Enemy AI
- Enemy archers are 66% less likely to target someone because of how many potential scatter targets are adjacent
- Improve AI targeting for throwing nets: They value the targets melee defense twice as much. They now also value the targets initiative and prefer isolated targets.
- AI is now twice as likely to throw a net or use a throwing pot/bomb while adjacent to an enemy

### Other

- **Wait** now debuffs the actual Initiative until the start of that brothers next turn
- **Swamp** tiles no longer reduce Melee Skill by 25%. Instead they now reduce Initiative by 25%
- Encumbrance no longer lowers the fatigue recovery. It now only adds 1 fatigue per tile travelled per encumbrance level.
- Armor Penetration is capped at 100%. Any Armor Penetration above 100% has no effect. Reaching 100% Armor Pen still has damage reduction from remaining armor applied.
- Burning Damage (Fire Pot, Burning Arrow, Burning Ground) now remove all root-like effects from the targets.
Expand Down Expand Up @@ -316,7 +322,6 @@ Just the images side-by-side: https://github.com/Darxo/Hardened/wiki/Perk-change
- `ReachAdvantageBonus` is a flat bonus for melee skill during reach advantage
- `CanExertZoneOfControl` (`true` by default) can be set to `false` to force an entity to no longer exert zone of control


# Requirements

- Reforged
Expand All @@ -325,12 +330,13 @@ Just the images side-by-side: https://github.com/Darxo/Hardened/wiki/Perk-change

- Using **Line Breaker** as a **Shield Sergeant** can sometimes push multiple enemies into the same tile
- Using Recover will prevent you from using **Wait Round** for the rest of this round
- **Student** will double-dip for the Manhunter Origin for Slaves.
- **Student** will double-dip in the Manhunter Origin for Slaves

# Compatibility

- Is safe to remove from- and add to any savegame
- Removing or adding this mod will not update existing perk trees. Only after some days you will encounter brothers with the changed perk trees.
- Removing or adding this mod will not update existing perk trees. Only after some days you will encounter brothers with the changed perk trees
- Removing this mod will replace **Parry** with the vanilla perk **Reach Advantage**

# License

Expand Down
14 changes: 12 additions & 2 deletions mod_hardened/documentation.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ This submod is a collection of changes to Reforged that I suggested internally t
- Give bros +1 AP while retreating
- gambeson coloring
- nerf cover ally initiative bonus and give it additional defense
- New parry mechanic? Could be a perk that only works if you are not wearing a shield but a melee weapon. Core feature would be a *cling* sound when you parry. It should work seemlessly with Riposte and Rebuke.
- Maybe getting a melee defense bonus if you didn't attack during your turn? For example three times your reach as melee defense
- perk for civilians (e.g. caravan guys), called "First Aid", making: Injuries you treat during battle are removed instead
- perks list old perk groups in their information. THat needs to be updated
- nerf encourage and bolster confident ability
Expand All @@ -49,9 +47,21 @@ This submod is a collection of changes to Reforged that I suggested internally t
- Add flags for caravans/peasants
- Improve Inspiring Presence Description. Maybe rework it once more
- fix bottom left nimble perk icon. Fix mini rach advantage icon
- Fix weapons that lost hitchance bonus for some of their skills. Goedendag Cudgel is now almost alwasy the best choice

# Changes:

0.9.2
- Swamp no longer reduces Melee Skill by 25%. Instead it now reduces Initiative by 25%
- Remove **Battleforged** from Ancient Auxiliary
- Improve visibility of Miasma and Fire ground effects
- Improve AI targeting for throwing nets: They value the targets melee defense twice as much. They now also value the targets initiative and prefer isolated targets.
- AI is now twice as likely to throw a net or use a throwing pot/bomb while adjacent to an enemy
- Fix perks displaying old/wrong perk groups in their tooltips
- Fix bandage not being consumed when used
- Fix broken hyperlink in bandage ally skill description
- Fix old misleading tooltip lines in swordmaster and nomad background

0.9.1
- Add sound when parrying an attack
- Fix shields having full condition after loading
Expand Down
2 changes: 1 addition & 1 deletion scripts/!mods_preload/main_hardened.nut
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
::Hardened <- {
ID = "mod_hardened",
Name = "Hardened",
Version = "0.9.1",
Version = "0.9.2",
GitHubURL = "https://github.com/Darxo/Hardened",
Temp = {}, // Used to globally store variables between function calls to implement more advanced, albeit hacky behavior
Const = {},
Expand Down
2 changes: 1 addition & 1 deletion scripts/skills/actives/hd_whirling_death_skill.nut
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ this.hd_whirling_death_skill <- this.inherit("scripts/skills/skill", {
this.m.SoundOnUse = [
"sounds/combat/flail_01.wav",
"sounds/combat/flail_02.wav",
"sounds/combat/flail_03.wav"
"sounds/combat/flail_03.wav",
];
this.m.Type = ::Const.SkillType.Active;
this.m.Order = ::Const.SkillOrder.Offensive;
Expand Down
3 changes: 0 additions & 3 deletions scripts/skills/effects/hd_inspiring_presence_buff_effect.nut
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ this.hd_inspiring_presence_buff_effect <- ::inherit("scripts/skills/skill", {
"sounds/combat/rf_inspiring_presence_02.wav",
"sounds/combat/rf_inspiring_presence_03.wav"
];
this.m.IsActive = false;
this.m.IsStacking = false;
this.m.IsHidden = false;
this.m.IsSerialized = false;
this.m.IsRemovedAfterBattle = true;
}
Expand Down
1 change: 0 additions & 1 deletion scripts/skills/effects/hd_reload_disorientation_effect.nut
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ this.hd_reload_disorientation_effect <- ::inherit("scripts/skills/skill", {
this.m.IconMini = "hd_reload_disorientation_effect_mini";
this.m.Type = ::Const.SkillType.StatusEffect;
this.m.IsRemovedAfterBattle = true;
this.m.IsStacking = false; // This debuff does not stack
}

function getTooltip()
Expand Down
2 changes: 0 additions & 2 deletions scripts/skills/effects/hd_wait_effect.nut
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ this.hd_wait_effect <- this.inherit("scripts/skills/skill", {
this.m.Name = "Waiting";
this.m.Icon = "ui/traits/trait_icon_25.png";
this.m.Type = ::Const.SkillType.StatusEffect;
this.m.IsActive = false;
this.m.IsStacking = false;
this.m.IsRemovedAfterBattle = true;
}

Expand Down

0 comments on commit 42e3e91

Please sign in to comment.