Merge branch 'war-vulture' into main
Brings in v1.4.3-v1.4.5 work: Trol's Hammer, Bone Servants, War Vulture craftability, and the Aswid/Fenrir timed-claws rework, on top of the bugfixes merged into main since v1.4.2. Resolved conflicts in 7 files where main's post-v1.4.2 fixes overlapped war-vulture's claws rework: - README.md, manifest.json: took war-vulture's v1.4.5 content (main hadn't touched either since the v1.4.2 release). - RacesOfValheim.cs: plugin version -> 1.4.5. - RaceClaws.cs: kept war-vulture's lazy EnsureRoster() fix for the Fenrir claw-registration bug over main's belt-and-suspenders Register(this), and dropped the now-stale comment referencing the removed static constructor. Main's SetupDragItem race-ownership fix carried through untouched. - AswidConfig.cs/AswidRace.cs/AswidPatches.cs: adopted war-vulture's single-key design (I toggles both Vampiric Aura and Devour together) to match the documented v1.4.5 trader-safety fix, removing a duplicate AuraEnabled field the two branches had each declared independently. Kept main's IsDownIgnoringHeldKeys() input fix on top. - RaceCompendium.cs: kept main's fact-checked Aswid/Fenrir entries (war-vulture's copies were pre-fix stubs, one referencing a nonexistent variable) and layered in war-vulture's timed-claws wording. Build verified clean (0 errors) after resolution.
This commit is contained in:
commit
c2212df322
38 changed files with 3831 additions and 192 deletions
|
|
@ -529,17 +529,11 @@ namespace RacesOfValheim
|
|||
ZNetView nview = __instance.GetComponent<ZNetView>();
|
||||
if (nview != null && nview.IsValid() && nview.GetZDO().GetString("RacesOfValheim_Race", "Human") == "Aswid")
|
||||
{
|
||||
if (__instance == Player.m_localPlayer && RaceInput.Allowed && AswidConfig.ToggleAuraKey.Value.IsDownIgnoringHeldKeys())
|
||||
{
|
||||
AswidRace.AuraEnabled = !AswidRace.AuraEnabled;
|
||||
string msg = AswidRace.AuraEnabled ? "Vampiric Aura: ENABLED" : "Vampiric Aura: DISABLED";
|
||||
__instance.Message(MessageHud.MessageType.Center, msg);
|
||||
}
|
||||
|
||||
if (__instance == Player.m_localPlayer && RaceInput.Allowed && AswidConfig.ToggleDevourKey.Value.IsDownIgnoringHeldKeys())
|
||||
{
|
||||
AswidRace.DevourEnabled = !AswidRace.DevourEnabled;
|
||||
string msg = AswidRace.DevourEnabled ? "Devour Ability: ENABLED" : "Devour Ability: DISABLED";
|
||||
AswidRace.AuraEnabled = AswidRace.DevourEnabled;
|
||||
string msg = AswidRace.DevourEnabled ? "Vampiric Aura: ENABLED" : "Vampiric Aura: DISABLED";
|
||||
__instance.Message(MessageHud.MessageType.Center, msg);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue