draughfirstdraft
This commit is contained in:
parent
272adddd75
commit
be2f7a73cd
8 changed files with 555 additions and 163 deletions
|
|
@ -49,6 +49,17 @@ namespace RacesOfValheim
|
|||
if (state >= 7 && (prefabName.Contains("hare") || prefabName.Contains("gjall"))) __result = false;
|
||||
if (state >= 8 && (prefabName.Contains("asksvin") || prefabName.Contains("volture") || prefabName.Contains("vulture") || prefabName.Contains("valkyrie"))) __result = false;
|
||||
}
|
||||
|
||||
// Draugh Race Logic
|
||||
if (p.m_customData.ContainsKey("Race") && p.m_customData["Race"] == "Draugh")
|
||||
{
|
||||
string prefabName = monster.gameObject.name.ToLower();
|
||||
if (prefabName.Contains("skeleton") || prefabName.Contains("draugr") ||
|
||||
prefabName.Contains("ghost") || prefabName.Contains("wraith"))
|
||||
{
|
||||
__result = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue