#W# Tweaks: Just making a few tweaks to spawns and stuff.

This commit is contained in:
WarrentyExpired 2026-11-05 13:45:33 -05:00
parent 9944c00870
commit 12a36c6896
2 changed files with 3 additions and 3 deletions

View file

@ -47,7 +47,7 @@ public static class TaskManager
if (nodes.Count > 0)
{
Utility.Shuffle(nodes);
int countToRefresh = Math.Max(1, nodes.Count / 3);
int countToRefresh = Math.Max(1, nodes.Count / 2);
for (int i = 0; i < countToRefresh; i++)
{
@ -67,7 +67,7 @@ public static class TaskManager
if (wanderers.Count > 0)
{
Utility.Shuffle(wanderers);
int countToRemove = Math.Max(1, wanderers.Count / 3);
int countToRemove = Math.Max(1, wanderers.Count / 2);
for (int i = 0; i < countToRemove; i++)
{

View file

@ -141,7 +141,7 @@ namespace Server.Custom.CitizenSpawns
{
if (types.Length > 0)
{
Type typeToSpawn = types[Utility.Random(types.Length)];
Type typeToSpawn = Utility.RandomDouble() < 0.70 ? typeof(Citizen) : typeof(MonsterCitizen);
try
{
return Activator.CreateInstance(typeToSpawn) as Mobile;