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
|
||||
// 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>
|
||||
{
|
||||
"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",
|
||||
"Wraith", "Leech", "Abomination",
|
||||
"Blob", "BlobElite", "BlobTar", // Blob, Oozer, Growth
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue