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> |
||
|---|---|---|
| .. | ||
| AswidExtraFoodUI.cs | ||
| AswidFoodManager.cs | ||
| AswidPatches.cs | ||
| AswidProgression.cs | ||
| AswidRace.cs | ||
| AswidSpectralClaw.cs | ||
| AswidStatusEffects.cs | ||
| AswidThrall.cs | ||
| BatFormBehavior.cs | ||