Skip to content

feat(events): e.weapon in player:hurt/hurt_post/trace_attack - #3

Merged
KotyaraKryt merged 1 commit into
KotyaraKryt:mainfrom
H0z0n:main
Sep 11, 2026
Merged

KotyaraKryt merged 1 commit into
KotyaraKryt:mainfrom
H0z0n:main

Conversation

@H0z0n

@H0z0n H0z0n commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Resolves the classname behind a hit - the inflictor's own entity for grenades/C4, otherwise the attacker's active weapon - so plugins can write a per-weapon damage multiplier without guessing from e.bits.

Resolves the classname behind a hit - the inflictor's own entity for
grenades/C4, otherwise the attacker's active weapon - so plugins can
write a per-weapon damage multiplier without guessing from e.bits.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@KotyaraKryt
KotyaraKryt merged commit 4d92071 into KotyaraKryt:main Sep 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants