Skip to content

True Damage calculations #311

@darkshade9

Description

@darkshade9

Alpha (M4+Vest) — attacks: Event 1 (M4 on Charlie, bleeding) → credited in Do_Bleeding ticks

  • Charlie bleeds 34 HP, then 66 HP → Alpha gets 34 from early ticks. But then Bravo shoots
    Charlie too, becoming client->attacker. Bravo gets the remaining 66 bleed credit.
  • Alpha's true_damage_dealt = 34

Bravo (Sniper+Slippers) — attacks:

  • Event 5: Sniper AP on Charlie → bleeding. Bravo becomes Charlie's attacker. Charlie bleeds
    remaining 66 HP to death → Bravo gets 66 from bleed ticks.
  • Event 8: Sniper headshot on Delta → bleeding. Delta bleeds 100 HP to death → Bravo gets 100.
  • Bravo's true_damage_dealt = 166

Charlie (MP5+Helmet) — attacks:

  • Event 3: MP5 vest hit on Alpha → instant_dam=1, damage=5 → 5
  • Charlie's true_damage_dealt = 5

Delta (M3+Bandolier) — attacks:

  • Event 2: M3 on Alpha → bleeding. Delta becomes Alpha's attacker. Alpha bleeds 42 HP → 42
    from bleed ticks.
  • Event 6: Kick on Alpha → instant_dam=1, damage=20 → 20
  • Event 7: M3 on Alpha → bleeding. Alpha bleeds remaining 18 HP to death → 18 from bleed
    ticks.
  • Delta's true_damage_dealt = 80

Grand total: 34 + 166 + 5 + 80 = 285

All 3 players who died (Charlie, Alpha, Delta) lost 100 HP each = 300. Bravo survived at 100
HP = 0 HP lost. But the total is 285, not 300. The missing 15 is Alpha's fall damage —
environmental, no attacker to credit.


Events Recap

┌─────┬──────────┬────────┬─────────┬───────────┬──────┬───────────┬─────────┬─────────┐    
  │  #  │ Attacker │ Weapon │ Target  │   Hit     │ Base │  After    │  Mode   │   HP    │    
  │     │          │        │         │ Location  │  Dmg │ Modifiers │         │ Effect  │    
  ├─────┼──────────┼────────┼─────────┼───────────┼──────┼───────────┼─────────┼─────────┤
  │     │          │        │         │ Chest (no │      │ 58        │         │ 100→66  │
  │ 1   │ Alpha    │ M4     │ Charlie │  vest)    │ 90   │ (×0.65)   │ Bleed   │ over    │
  │     │          │        │         │           │      │           │         │ time    │    
  ├─────┼──────────┼────────┼─────────┼───────────┼──────┼───────────┼─────────┼─────────┤
  │     │          │        │         │ Body (8   │      │           │         │ 100→58  │    
  │ 2   │ Delta    │ M3     │ Alpha   │ pellets)  │ 17×8 │ 136       │ Bleed   │ over    │    
  │     │          │        │         │           │      │           │         │ time    │
  ├─────┼──────────┼────────┼─────────┼───────────┼──────┼───────────┼─────────┼─────────┤    
  │ 3   │ Charlie  │ MP5    │ Alpha   │ Chest     │ 55   │ 5 (÷10)   │ Instant │ 58→53   │
  │     │          │        │         │ (vest!)   │      │           │         │         │    
  ├─────┼──────────┼────────┼─────────┼───────────┼──────┼───────────┼─────────┼─────────┤
  │ 4   │ —        │ Fall   │ Alpha   │ —         │ 15   │ 15        │ Instant │ 53→38   │    
  ├─────┼──────────┼────────┼─────────┼───────────┼──────┼───────────┼─────────┼─────────┤    
  │     │          │        │         │ Head      │      │ 81        │         │ 66→0    │
  │ 5   │ Bravo    │ Sniper │ Charlie │ (helmet,  │ 250  │ (×0.325)  │ Bleed   │ over    │    
  │     │          │        │         │ AP)       │      │           │         │ time    │
  ├─────┼──────────┼────────┼─────────┼───────────┼──────┼───────────┼─────────┼─────────┤    
  │ 6   │ Delta    │ Kick   │ Alpha   │ —         │ 20   │ 20        │ Instant │ 38→18   │
  ├─────┼──────────┼────────┼─────────┼───────────┼──────┼───────────┼─────────┼─────────┤
  │     │          │        │         │ Body (6   │      │           │         │ 18→0    │
  │ 7   │ Delta    │ M3     │ Alpha   │ pellets)  │ 17×6 │ 102       │ Bleed   │ over    │    
  │     │          │        │         │           │      │           │         │ time    │
  ├─────┼──────────┼────────┼─────────┼───────────┼──────┼───────────┼─────────┼─────────┤    
  │     │          │        │         │ Head (no  │      │ 451       │         │ 100→0   │
  │ 8   │ Bravo    │ Sniper │ Delta   │ helmet)   │ 250  │ (×1.8+1)  │ Bleed   │ over    │    
  │     │          │        │         │           │      │           │         │ time    │
  └─────┴──────────┴────────┴─────────┴───────────┴──────┴───────────┴─────────┴─────────┘    

Attacker Table — True Damage Dealt by Weapon

┌─────────┬───────┬─────┬────────┬─────┬─────┬──────┬────────────┬───────────┐              
  │ Player  │ Kills │ M4  │ Sniper │ MP5 │ M3  │ Kick │ True Total │ Raw Total │
  ├─────────┼───────┼─────┼────────┼─────┼─────┼──────┼────────────┼───────────┤              
  │ Alpha   │ 0     │ 34  │ —      │ —   │ —   │ —    │ 34         │ 58        │
  ├─────────┼───────┼─────┼────────┼─────┼─────┼──────┼────────────┼───────────┤      
  │ Bravo   │ 2     │ —   │ 166    │ —   │ —   │ —    │ 166        │ 532       │              
  ├─────────┼───────┼─────┼────────┼─────┼─────┼──────┼────────────┼───────────┤
  │ Charlie │ 0     │ —   │ —      │ 5   │ —   │ —    │ 5          │ 5         │              
  ├─────────┼───────┼─────┼────────┼─────┼─────┼──────┼────────────┼───────────┤              
  │ Delta   │ 1     │ —   │ —      │ —   │ 60  │ 20   │ 80         │ 258       │      
  ├─────────┼───────┼─────┼────────┼─────┼─────┼──────┼────────────┼───────────┤              
  │ Total   │ 3     │ 34  │ 166    │ 5   │ 60  │ 20   │ 285        │ 853       │
  └─────────┴───────┴─────┴────────┴─────┴─────┴──────┴────────────┴───────────┘              

Notes:

  • Alpha's M4 did 58 raw but only 34 true — Bravo stole the remaining 66 HP via sniper before
    Alpha's bleeding finished
  • Bravo's sniper: 532 raw (81+451) but 166 true (66+100) — massive overkill on Delta's
    headshot
  • Delta's M3: 238 raw (136+102) but only 60 true — most of the shotgun pellet damage was
    overkill since Alpha was already low

Victim Table — Where Each Player's 100 HP Went

┌─────────┬──────────────────┬──────────┬─────────────┬───────┬───────┐                     
  │ Player  │ Player (instant) │ Bleeding │ Environment │ Total │ Died? │             
  ├─────────┼──────────────────┼──────────┼─────────────┼───────┼───────┤                     
  │ Alpha   │ 25               │ 60       │ 15          │ 100   │ Yes   │
  ├─────────┼──────────────────┼──────────┼─────────────┼───────┼───────┤                     
  │ Bravo   │ 0                │ 0        │ 0           │ 0     │ No    │    
  ├─────────┼──────────────────┼──────────┼─────────────┼───────┼───────┤                     
  │ Charlie │ 0                │ 100      │ 0           │ 100   │ Yes   │    
  ├─────────┼──────────────────┼──────────┼─────────────┼───────┼───────┤                     
  │ Delta   │ 0                │ 100      │ 0           │ 100   │ Yes   │
  ├─────────┼──────────────────┼──────────┼─────────────┼───────┼───────┤                     
  │ Total   │ 25               │ 260      │ 15          │ 300   │       │    
  └─────────┴──────────────────┴──────────┴─────────────┴───────┴───────┘                     

Alpha's 100 HP detail:

  • 25 player: 5 from MP5 kevlar bruise (Charlie) + 20 from kick (Delta)
  • 60 bleeding: 42 from M3 pellets (event 2) + 18 from M3 pellets (event 7)
  • 15 environment: fall damage

Charlie's and Delta's HP was 100% bleeding because every hit they took was a non-vest bullet
hit (instant_dam=0).

Sanity Check

  • 3 deaths × 100 HP = 300 HP lost in the round
  • 285 credited to attackers + 15 environmental (no attacker) = 300 ✓

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions