BloodMagicCompanion
Configurable stamina-powered Blood Magic, caster shield XP, skeleton T.W.I.G. training and optional summoned-skeleton lava immunity. Server optional; creature-owner and mixed-client limitations documented.Changelog
1.4.1
- Remove the Trollstav XP cooldown and MinimumInterval setting. Each qualifying damage event can award XP, including multiple enemies in one area attack and rapid successive hits.
- Keep duplicate network-report protection, caster attribution, eligibility checks and the configurable XP Factor. Existing MinimumInterval entries are ignored.
- Built and packaged against Valheim 1.0.17: 349 executable assertions, 144 static assertions and six installed-prefab comparisons pass. Unity and multiplayer verification remain pending.
1.4.0
- Add independent TrollXP/Enabled (default false), Factor (0.5) and MinimumInterval (1 second per troll).
- Track the caster at Trollstav summon time and reward actual health damage to enemies, including tracked arrival damage. Exclude players, tames, training dummies, scenery, misses and fully absorbed hits. Preserve troll combat behavior.
- Apply rewards only to the caster's local player, with capability-gated reports from the victim's current simulation owner, duplicate protection and a caster-side per-troll cooldown. Unmodded peers remain compatible but cannot report extra XP.
- Add policy regression tests and installed-game hook validation. Unity and multiplayer XP verification remain pending; resummon trolls after enabling/upgrading.
1.3.0
- Add independent
Summons/LavaDamageImmunity, disabled by default. Enable and restart to protect summoned melee and archer skeletons from lava heat damage and lava-applied burning on their simulation owner. - Preserve ordinary fire, boiling-ocean damage, summon lifetime, pathfinding and all other features. Mixed unmodded peers remain supported; protection requires the current simulation owner to enable it.
- Add 36 simulated lava eligibility and emitted-branch assertions plus installed-game contract validation. Live lava survival and multiplayer ownership-transfer testing remain pending.
1.2.1
- Fix T.W.I.G. training excluding vanilla summoned skeletons: Skeleton_Friendly uses faction Players (0), not PlayerSpawned (11).
- Keep the exact summon prefab, tame, ownership, life and dummy-only visibility restrictions.
- Extract a minimal test fixture from the installed game prefabs and add an asset-verification script. The new real-faction regression fails against 1.2.0 and passes with this correction.
- Preserve existing configuration; the fixed in-game behavior still requires live verification.
1.2.0
- Add opt-in
Summons/AttackTrainingDummyfor summoned melee and archer skeletons. - Prefer ordinary enemies; allow a nearby visible T.W.I.G. as a fallback target.
- Exclude only the selected dummy's own colliders from the skeleton's visibility ray. Preserve other obstacles and native attack gates.
- Apply only on the skeleton's simulation owner, without requiring installation on other peers or changing ownership.
- Default remains off. Built against Valheim 1.0.17; live gameplay remains untested.
1.1.0
- Replace converted eitr health payments with fixed stamina costs; original health cost and its native skill scaling remain unchanged.
- Default conversion: 1 stamina per base eitr, reduced once by Blood Magic skill (33% at level 100).
- Use native stamina checks and deductions, including per-burst checks; no free casting when exhausted.
- Add StaminaCosts settings for enabling conversion, conversion rate, skill discount, per-staff multipliers, and tooltips.
- Retain an explicit old HealthCosts/Enabled=false as the initial new enable setting. Old health balance settings are ignored.
- Preserve caster shield XP behavior and protocol, optional server installation, and mixed-client fallback.
1.0.0
First combined release, incorporating BloodMagicCasterXP 1.2.0 and BloodMagicHealthCost 1.1.0 into one plugin.
- Independent health-only casting and caster-shield-XP switches in one configuration file.
- Both health percentage portions scale with current health; the entire cost scales with skill. No added low-health casting threshold.
- Preserve XP protocol 3 for compatibility with peers using BloodMagicCasterXP 1.2.0.
- Optional server and other-client installation, with explicit mixed-client reward limitations.
- Prevent loading alongside either standalone predecessor on the same computer.
- Include source, standalone regression checks, static validators, and documented build steps.
Experimental: no in-game or multiplayer playtest has been completed for this combined release.
