RacesOfValheim/JotunnModStub/Aswid
kanym bc9bb302db fix(aswid): let Blood Magic Mastery actually free the cast
Mastery forced Player.HaveEitr true and skipped Player.UseEitr, and neither is
what refuses the attack. Attack.Start gates on Character.TryUseEitr, whose first
test is GetMaxEitr() == 0 - an Aswid carrying no eitr food has a maximum of
zero, so the cast was rejected there and HaveEitr was never consulted at all.

That is also why it looked intermittent: it appeared to work for anyone who
happened to be eating eitr food and failed for exactly the player it was written
for, one leaning on blood magic without eitr.

TryUseEitr only gates - the spend is a separate UseEitr call - so returning true
there costs nothing, and the existing UseEitr prefix still blocks the drain. The
health price is untouched; it is meant to be the whole price.

The local-Aswid-holding-blood-magic test was written out three times and now
lives in one helper, so the weapon lookup cannot drift between them.
2026-08-04 00:22:30 +02:00
..
AswidExtraFoodUI.cs Initial commit 2026-07-30 19:00:13 +02:00
AswidFoodManager.cs Initial commit 2026-07-30 19:00:13 +02:00
AswidPatches.cs fix(aswid): let Blood Magic Mastery actually free the cast 2026-08-04 00:22:30 +02:00
AswidProgression.cs Add Aswid passive lifesteal scaling with progression state 2026-07-30 22:34:26 +02:00
AswidRace.cs fix(aswid): center Vampiric Aura on the caster and stop transforms from casting the real Guardian Power 2026-08-03 21:37:58 +02:00
AswidSpectralClaw.cs fix(aswid): center Vampiric Aura on the caster and stop transforms from casting the real Guardian Power 2026-08-03 21:37:58 +02:00
AswidStatusEffects.cs Initial commit 2026-07-30 19:00:13 +02:00
AswidThrall.cs Initial commit 2026-07-30 19:00:13 +02:00
BatFormBehavior.cs Initial commit 2026-07-30 19:00:13 +02:00