fix(aswid): make the Vampiric Aura land, and run it passively in every form #9

Merged
kanym merged 1 commit from fix-aswid-aura into main 2026-08-04 11:20:52 +02:00
Collaborator

The aura dealt its damage through Character.ApplyDamage, which only edits
the local copy of a character. On anything we do not own - in multiplayer
that is most mobs - the owner overwrote the health change on the next sync,
so the aura neither hurt anything nor showed anything. It also bypassed our
own Character.Damage patches, which is why it never healed and never
triggered devour-on-kill despite being the vampiric aura. It now calls
Character.Damage, which routes RPC_Damage to whoever owns the target, and
sets m_dir so the target reacts to the hit.

The aura no longer has to be channelled by holding block in bat or mist
form. It ticks on its own in every form, with no key to hold and no icon or
message of its own; the form only decides how hard it bites - half damage
as a human, full as a bat, double as mist.

Also guarded the sunrise mist auto-revert with isTransformingSequence.
Without it the revert re-triggered on every frame of its own one-second
animation, stacking coroutines that fought over the same visuals and status
effect.

The aura dealt its damage through Character.ApplyDamage, which only edits the local copy of a character. On anything we do not own - in multiplayer that is most mobs - the owner overwrote the health change on the next sync, so the aura neither hurt anything nor showed anything. It also bypassed our own Character.Damage patches, which is why it never healed and never triggered devour-on-kill despite being the *vampiric* aura. It now calls Character.Damage, which routes RPC_Damage to whoever owns the target, and sets m_dir so the target reacts to the hit. The aura no longer has to be channelled by holding block in bat or mist form. It ticks on its own in every form, with no key to hold and no icon or message of its own; the form only decides how hard it bites - half damage as a human, full as a bat, double as mist. Also guarded the sunrise mist auto-revert with isTransformingSequence. Without it the revert re-triggered on every frame of its own one-second animation, stacking coroutines that fought over the same visuals and status effect.
The aura dealt its damage through Character.ApplyDamage, which only edits
the local copy of a character. On anything we do not own - in multiplayer
that is most mobs - the owner overwrote the health change on the next sync,
so the aura neither hurt anything nor showed anything. It also bypassed our
own Character.Damage patches, which is why it never healed and never
triggered devour-on-kill despite being the *vampiric* aura. It now calls
Character.Damage, which routes RPC_Damage to whoever owns the target, and
sets m_dir so the target reacts to the hit.

The aura no longer has to be channelled by holding block in bat or mist
form. It ticks on its own in every form, with no key to hold and no icon or
message of its own; the form only decides how hard it bites - half damage
as a human, full as a bat, double as mist.

Also guarded the sunrise mist auto-revert with isTransformingSequence.
Without it the revert re-triggered on every frame of its own one-second
animation, stacking coroutines that fought over the same visuals and status
effect.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
kanym merged commit d164579e00 into main 2026-08-04 11:20:52 +02:00
kanym deleted branch fix-aswid-aura 2026-08-04 11:20:57 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nandor/RacesOfValheim!9
No description provided.