fix(fenrir): hidden human no longer attacks or blocks under a form

The attack block patched Character.StartAttack, which Humanoid overrides
without calling the base, so it never ran; and it covered the Fenring only.
Every form swing also fired the hidden human's attack: stamina spent,
regen held at zero while it played, and forward_speed dropped to 0. Patch
Humanoid.StartAttack for all four forms, and clear m_blocking after
SetControls so the pad's heavy attack stops raising the guard.

Forms treat the player as airborne only after 0.25 s off the ground, so
bumps no longer flicker run to idle. Melee reach ignores the target's own
colliders and accepts a clear line from the eyes or the attack point, with
an opt-in hit log. Sunrise names the key that still works by day.
This commit is contained in:
kanym 2026-09-28 22:19:37 +02:00
commit b4b6fe3758
8 changed files with 323 additions and 153 deletions

View file

@ -94,10 +94,14 @@
"rov_msg_fenrir_form_cooldown": "$1 form is on cooldown ($2:$3).",
"rov_msg_fenrir_formname_cultist": "Cultist",
"rov_msg_fenrir_formname_fenrir": "Fenrir",
"rov_msg_fenrir_formname_ulv": "Ulv",
"rov_msg_fenrir_formname_wolf": "Wolf",
"rov_msg_fenrir_has_already_had_one": "It has already had one.",
"rov_msg_fenrir_only_breath_comes_out_fire": "Only breath comes out. The fire wants eitr.",
"rov_msg_fenrir_ready": "$1 is Ready!",
"rov_msg_fenrir_returned_human_form": "You returned to human form.",
"rov_msg_fenrir_sun_takes_form": "The sun takes the beast back. This form only answers at night.",
"rov_msg_fenrir_sun_takes_form_day_key": "The sun takes the beast back. This form only answers at night; by day, press $2 for the $1 form.",
"rov_msg_fenrir_trough_broken_will_not_outlast": "The trough is broken. $1 will not outlast it by long.",
"rov_msg_fenrir_trough_takes_line_runs_deeper": "The trough takes it. The line runs deeper now.",
"rov_msg_fenrir_wants_meat_any_meat": "It wants meat. Any meat.",