fix(factions): Valheim 1.0's regional skeletons join the swamp faction
Valheim 1.0 places Skeleton_Meadows, _Swamps, _Mountains and _DeepNorth (and the _noarcher twins) instead of the plain Skeleton, and none of them were in the faction lists, so they attacked the races the old skeletons left alone. Added to the swamp faction set, the Skeleton's own enemy check and the faction shop map, with Skeleton_NoArcher in the shop map too. Reported by Joacwoo.
This commit is contained in:
parent
ceb0d0e35a
commit
bb1769b876
4 changed files with 22 additions and 0 deletions
|
|
@ -54,9 +54,17 @@ namespace RacesOfValheim
|
||||||
//
|
//
|
||||||
// Skeleton_Hildir stays out deliberately, on the same rule that keeps GoblinKing and the
|
// Skeleton_Hildir stays out deliberately, on the same rule that keeps GoblinKing and the
|
||||||
// Hildir brothers out of the Black Forest set: a quest boss is not somebody's kin.
|
// Hildir brothers out of the Black Forest set: a quest boss is not somebody's kin.
|
||||||
|
//
|
||||||
|
// Valheim 1.0 added a skeleton per region (the green swamp ones and the blue mountain ones
|
||||||
|
// players noticed first), each with a melee-only twin, and spawners place those instead
|
||||||
|
// of the plain Skeleton. Left out, they fought a Skeleton player the plain ones ignored.
|
||||||
private static readonly HashSet<string> PaludeMobs = new HashSet<string>
|
private static readonly HashSet<string> PaludeMobs = new HashSet<string>
|
||||||
{
|
{
|
||||||
"Ghost", "Skeleton", "Skeleton_NoArcher", "Skeleton_Poison", // Skeleton, Rancid remains
|
"Ghost", "Skeleton", "Skeleton_NoArcher", "Skeleton_Poison", // Skeleton, Rancid remains
|
||||||
|
"Skeleton_Meadows", "Skeleton_Meadows_noarcher",
|
||||||
|
"Skeleton_Swamps", "Skeleton_Swamps_noarcher",
|
||||||
|
"Skeleton_Mountains", "Skeleton_Mountains_noarcher",
|
||||||
|
"Skeleton_DeepNorth",
|
||||||
"Draugr", "Draugr_Elite", "Draugr_Ranged",
|
"Draugr", "Draugr_Elite", "Draugr_Ranged",
|
||||||
"Wraith", "Leech", "Abomination",
|
"Wraith", "Leech", "Abomination",
|
||||||
"Blob", "BlobElite", "BlobTar", // Blob, Oozer, Growth
|
"Blob", "BlobElite", "BlobTar", // Blob, Oozer, Growth
|
||||||
|
|
|
||||||
|
|
@ -337,7 +337,16 @@ namespace RacesOfValheim
|
||||||
{ "Draugr_Elite", DraugrShop },
|
{ "Draugr_Elite", DraugrShop },
|
||||||
|
|
||||||
{ "Skeleton", SkeletonShop },
|
{ "Skeleton", SkeletonShop },
|
||||||
|
{ "Skeleton_NoArcher", SkeletonShop },
|
||||||
{ "Skeleton_Poison", SkeletonShop },
|
{ "Skeleton_Poison", SkeletonShop },
|
||||||
|
// Valheim 1.0's regional skeletons, the ones its spawners actually place.
|
||||||
|
{ "Skeleton_Meadows", SkeletonShop },
|
||||||
|
{ "Skeleton_Meadows_noarcher", SkeletonShop },
|
||||||
|
{ "Skeleton_Swamps", SkeletonShop },
|
||||||
|
{ "Skeleton_Swamps_noarcher", SkeletonShop },
|
||||||
|
{ "Skeleton_Mountains", SkeletonShop },
|
||||||
|
{ "Skeleton_Mountains_noarcher", SkeletonShop },
|
||||||
|
{ "Skeleton_DeepNorth", SkeletonShop },
|
||||||
|
|
||||||
{ "Ghost", GhostShop },
|
{ "Ghost", GhostShop },
|
||||||
{ "Wraith", WraithShop },
|
{ "Wraith", WraithShop },
|
||||||
|
|
|
||||||
|
|
@ -872,6 +872,10 @@ namespace RacesOfValheim
|
||||||
if (name == "skeleton" ||
|
if (name == "skeleton" ||
|
||||||
name == "skeleton_noarcher" ||
|
name == "skeleton_noarcher" ||
|
||||||
name == "skeleton_poison" ||
|
name == "skeleton_poison" ||
|
||||||
|
name == "skeleton_meadows" || name == "skeleton_meadows_noarcher" ||
|
||||||
|
name == "skeleton_swamps" || name == "skeleton_swamps_noarcher" ||
|
||||||
|
name == "skeleton_mountains" || name == "skeleton_mountains_noarcher" ||
|
||||||
|
name == "skeleton_deepnorth" ||
|
||||||
name == "skeleton_friendly" ||
|
name == "skeleton_friendly" ||
|
||||||
name.StartsWith("draugr") ||
|
name.StartsWith("draugr") ||
|
||||||
name == "ghost" ||
|
name == "ghost" ||
|
||||||
|
|
|
||||||
|
|
@ -496,6 +496,7 @@ Both halves have an off switch under `Factions` in Configuration Manager: **Fact
|
||||||
- **New - Skeleton Mortal Habits:** two options under `Skeleton - Mortal Habits`, both off by default, each player picking their own. *Eats Mortal Food*: the Skeleton eats like the living, and its health and stamina come from its meals. The boss-tier health bonus goes away, since it stood in for food. *Feels Fatigue*: the Skeleton spends stamina; if it doesn't eat, its stamina grows with its standing. Every other Skeleton power stays. Thanks to Celepito for the request. Not tested in game yet.
|
- **New - Skeleton Mortal Habits:** two options under `Skeleton - Mortal Habits`, both off by default, each player picking their own. *Eats Mortal Food*: the Skeleton eats like the living, and its health and stamina come from its meals. The boss-tier health bonus goes away, since it stood in for food. *Feels Fatigue*: the Skeleton spends stamina; if it doesn't eat, its stamina grows with its standing. Every other Skeleton power stays. Thanks to Celepito for the request. Not tested in game yet.
|
||||||
- **New - Aswid bat form waits out a fight:** you can't take bat form until 2.5 seconds after you last lost health, from a hit or a tick of fire, poison or bleeding. Turning back is never blocked, and a hit still doesn't knock you out of bat form. `Aswid - Bat Form` → `Combat Lock` sets the time; 0 turns it off. Not tested in game yet.
|
- **New - Aswid bat form waits out a fight:** you can't take bat form until 2.5 seconds after you last lost health, from a hit or a tick of fire, poison or bleeding. Turning back is never blocked, and a hit still doesn't knock you out of bat form. `Aswid - Bat Form` → `Combat Lock` sets the time; 0 turns it off. Not tested in game yet.
|
||||||
- **New - Dvergar build cheap marble and Yggdrasil pieces:** a Dvergar pays 3 stone for each black marble and 2 fine wood for each Yggdrasil wood on walls, floors, beams, roofs, arches, stairs, doors and stakes. Stations, furniture, containers and fires keep their cost. The marble pieces still need a Stonecutter and the Yggdrasil ones a Black Forge, and they show in the build menu with the Dvergar icon once you know stone or fine wood. Taking a piece down gives back what was paid for it, whoever does it, so a cheap wall never turns into black marble. `Dvergar - Cheap Building` holds the off switch and both ratios. Thanks to Wargles for the suggestion. Refunds not tested in game yet.
|
- **New - Dvergar build cheap marble and Yggdrasil pieces:** a Dvergar pays 3 stone for each black marble and 2 fine wood for each Yggdrasil wood on walls, floors, beams, roofs, arches, stairs, doors and stakes. Stations, furniture, containers and fires keep their cost. The marble pieces still need a Stonecutter and the Yggdrasil ones a Black Forge, and they show in the build menu with the Dvergar icon once you know stone or fine wood. Taking a piece down gives back what was paid for it, whoever does it, so a cheap wall never turns into black marble. `Dvergar - Cheap Building` holds the off switch and both ratios. Thanks to Wargles for the suggestion. Refunds not tested in game yet.
|
||||||
|
- **Fix - Valheim 1.0's new skeletons ignored the faction:** the regional skeletons Valheim 1.0 added (the green ones in the swamp, the blue ones in the mountains, and those of the Meadows and the Deep North, each with its melee-only twin) were missing from the swamp faction, so they attacked Skeleton, Aswid and Draugh players the old skeletons left alone. They keep the truce now and run the Skeleton's faction shop. Thanks to Joacwoo for the report. Not tested in game yet.
|
||||||
|
|
||||||
### v1.6.7
|
### v1.6.7
|
||||||
- **Heads-up - config reset:** some settings were renamed, so any value you changed in them is back to its default. Skadi: everything in `Skadi - Directed Flight` now lives in `Skadi - Dragon Forms`, split into Drake and Moder keys. Fenrir: `Full Form Speed Bonus` is now `Fenring And Cultist Speed Bonus`, and `Wolf Form Speed Bonus` is split into `Wolf Speed Bonus` and `Ulv Speed Bonus`. If you had tuned any of these, set them again in Configuration Manager. The old entries stay in your .cfg but do nothing. Delete them by hand, or, if you never changed any setting, delete the whole .cfg and the game writes a fresh one on the next start. Don't delete the whole file if you customised anything else: everything goes back to default, keybinds included.
|
- **Heads-up - config reset:** some settings were renamed, so any value you changed in them is back to its default. Skadi: everything in `Skadi - Directed Flight` now lives in `Skadi - Dragon Forms`, split into Drake and Moder keys. Fenrir: `Full Form Speed Bonus` is now `Fenring And Cultist Speed Bonus`, and `Wolf Form Speed Bonus` is split into `Wolf Speed Bonus` and `Ulv Speed Bonus`. If you had tuned any of these, set them again in Configuration Manager. The old entries stay in your .cfg but do nothing. Delete them by hand, or, if you never changed any setting, delete the whole .cfg and the game writes a fresh one on the next start. Don't delete the whole file if you customised anything else: everything goes back to default, keybinds included.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue