Valheim 1.0's hit filters (Attack melee/area, Projectile OnHit/DoAOE/ IsValidTarget, Aoe.ShouldHit) skip a target when BaseAI.IsEnemy says false and the attacker is a player without PvP. The truce said false for every allied creature, so the blow passed through: no damage, no grudge, nothing for kin to join. RaceGrudge.StrikeScope opens a scope around those six methods in which both truce patches stand down for the player's own hit; everything else keeps the truce. |
||
|---|---|---|
| .. | ||
| FactionHostilityPatch.cs | ||
| FactionMerchant.cs | ||
| FactionMerchantCatalog.cs | ||
| FactionMerchantJokes.cs | ||
| FactionMerchantPatches.cs | ||
| FactionMerchantRuntime.cs | ||
| FactionMerchantSellPanel.cs | ||
| FactionMerchantSetup.cs | ||
| FactionPieceTruce.cs | ||
| FactionRaids.cs | ||
| FactionsConfig.cs | ||