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

AAEmu / AAEmu / 26331082944

23 May 2026 11:07AM UTC coverage: 4.804% (-1.7%) from 6.49%
26331082944

push

github

web-flow
feat(game): Add PvP Honor System, Auto-Attack overhaul, and ZoneConflict cycle fix

* Add PvP Honor System (kills, assists, escalating respawn, death debuffs)

Implements a complete PvP-honor system on top of Vanilla:

Honor distribution (zone-aware)
  - Conflict zone:  10 solo / 6 killer + 4 per assist
  - War     zone:  20 solo / 16 killer + 4 per assist
  - Other zones:    no honor (HostileFactionKills still ticks)
  - All values scaled by new WorldConfig.PvpHonorRate (default 1.0)
  - War-zone death: victim loses up to 10 honor (clamped >= 0)

Assist tracking (30s rolling window)
  - Damage-assists  - recorded in Character.ReduceCurrentHp hook
  - Heal-assists    - recorded in HealEffect.Apply hook
  - CC-assists      - read live from Stun/Root/Sleep/Silence/Cripled buffs

Escalating respawn timer
  - 15, 30, 60, 90, 120, 150, 180, 210, 240s on consecutive deaths
  - Counter resets after 5 minutes without dying
  - Stored in RezWaitDuration before SCUnitDeathPacket fires

Death-debuff routing in CSResurrectCharacterPacket
  - inPlace (player-res)  -> no debuffs at all
  - DiedInPvpWarZone      -> Leech (4424) + 5min Respawn-CD (2385)
  - DiedInPvp             -> 5min Respawn-CD only (no Weakened Body)
  - PvE death             -> Weakened Body (1128) + 5min Respawn-CD

Live broadcast
  - SCUnitPvPPointsChangedPacket x2 on every PvP kill (honor + kills)
  - SCConflictZoneHonorPointSumPacket on killer's UI

Files touched
  - Models/Game/Configurations.cs           (+PvpHonorRate)
  - Configurations/World.json               (+default 1.0)
  - Models/Game/Char/CharacterCombat.cs     (AwardPvpHonor, CollectAssists,
                                             ComputeDeathWaitTime, DoDie, ...)
  - Models/Game/Char/Character.cs           (damage-hook in ReduceCurrentHp)
  - Models/Game/Skills/Effects/HealEffect.cs (heal-hook on post-heal)
  - Core/Packets/C2G/CSResurrectCharacterPacket.cs (4-way debuff routing)

Co-Authored-By: Evenstone <evenstone@norep... (continued)

3 of 317 new or added lines in 15 files covered. (0.95%)

11 existing lines in 7 files now uncovered.

3211 of 66846 relevant lines covered (4.8%)

0.05 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/AAEmu.Game/Models/Tasks/Skills/UseAutoAttackSkillTask.cs


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc