• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

AAEmu / AAEmu / 29421784852
5%

Build:
DEFAULT BRANCH: develop
Ran 15 Jul 2026 02:04PM UTC
Jobs 1
Files 2094
Run time 7min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

15 Jul 2026 02:02PM UTC coverage: 4.753% (-0.005%) from 4.758%
29421784852

push

github

web-flow
feat(game): Implements item durability loss (#1456)

* feat(game): Implement dynamic and combat-based item durability loss

This commit introduces a durability loss system for equipped armor, applying wear and tear during combat encounters.

- Armor now has a chance to lose durability during both PvE and PvP combat, configurable via `PvEDurabilityLossRate` and `PvPDurabilityLossRate` in `World.json`.
- Refactors death-based durability loss, now referencing `DeathDurabilityLossRatio` from item configurations.
- Ensures destroyed items (those with zero durability) no longer contribute to character stats or apply any active buffs, correctly removing their benefits until repaired.

* feat(game): Added general durability loss function

Moved common durability loss code into one new function.

* feat(game): Implement combat-based durability loss for weapons and shields

- Weapons now lose durability when dealing damage, based on configured PvE/PvP rates.
- Shields lose durability when blocking attacks.
- Weapons lose durability when parrying attacks.
- Corrects the logic for applying durability loss to all main weapons.

* feat(game): Remove obsolete global death durability loss setting

The `DurabilityLossAtDeath` json setting is no longer needed as death-based durability loss is now configured using the `item_config` table.

* Update AAEmu.Game/Models/Game/Skills/Skill.cs

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

---------

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

0 of 115 new or added lines in 8 files covered. (0.0%)

5 existing lines in 4 files now uncovered.

3292 of 69262 relevant lines covered (4.75%)

0.05 hits per line

Uncovered Changes

Lines Coverage ∆ File
38
2.18
-0.28% AAEmu.Game/Models/Game/Char/CharacterCombat.cs
31
9.58
-0.1% AAEmu.Game/Models/Game/Units/Unit.cs
15
1.67
-0.01% AAEmu.Game/Models/Game/Char/Character.cs
14
0.38
-0.02% AAEmu.Game/Models/Game/Skills/Effects/DamageEffect.cs
11
2.68
-0.04% AAEmu.Game/Models/Game/Skills/Skill.cs
3
3.39
-0.01% AAEmu.Game/Core/Managers/ItemManager.cs
2
21.62
-0.6% AAEmu.Game/Models/Game/Configurations.cs
1
0.0
0.0% AAEmu.Game/Models/Game/Items/EquipItem.cs

Coverage Regressions

Lines Coverage ∆ File
2
1.67
-0.01% AAEmu.Game/Models/Game/Char/Character.cs
1
0.0
0.0% AAEmu.Game/Models/Game/Items/EquipItem.cs
1
0.38
-0.02% AAEmu.Game/Models/Game/Skills/Effects/DamageEffect.cs
1
9.58
-0.1% AAEmu.Game/Models/Game/Units/Unit.cs
Jobs
ID Job ID Ran Files Coverage
1 29421784852.1 15 Jul 2026 02:04PM UTC 2094
4.75
GitHub Action Run
Source Files on build 29421784852
  • Tree
  • List 2094
  • Changed 8
  • Source Changed 8
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29421784852
  • cec4d9db on github
  • Prev Build on develop (#29352809280)
  • Next Build on develop (#29474453756)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc