From 1576e57d94b65b280afebed0948ff2834a6aaf2f Mon Sep 17 00:00:00 2001 From: WarrentyExpired Date: Sun, 12 Jul 2026 17:41:11 -0400 Subject: [PATCH] #W# Made DungeonRegions and the Underworld No Clan zones. --- ChangeLog.txt | 4 ++++ Scripts/Mobiles/Base/BaseCreature.cs | 7 ++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index 07cf2aa..4422e4d 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,7 @@ # Change Log for Avatars Conquest: Started July 3rd, 2026 Things to add - Crafting Queue + +Added: + - Easy way to spawn the over world. Check Scripts/Engines/Spawner/WorldSpawns/SpawnList.cs + - GenTeleporters Command pulls from Data/Config/teleporters.cfg to spawn teleporters. diff --git a/Scripts/Mobiles/Base/BaseCreature.cs b/Scripts/Mobiles/Base/BaseCreature.cs index 2b82576..7d4744d 100644 --- a/Scripts/Mobiles/Base/BaseCreature.cs +++ b/Scripts/Mobiles/Base/BaseCreature.cs @@ -646,6 +646,11 @@ namespace Server.Mobiles if ( !m_bSummoned && !m_bControlled && !c.m_bSummoned && !c.m_bControlled ) { + if ( this.Region.Name == "DungeonRegion" || this.Map.Name == "Underworld" ) + { + return false; + } + if ( Clan == Clan.Citizen && c.Clan == Clan.Citizen ) return false; @@ -4124,4 +4129,4 @@ namespace Server.Mobiles [CommandProperty( AccessLevel.GameMaster )] public int RemoveStep { get { return m_RemoveStep; } set { m_RemoveStep = value; } } } -} \ No newline at end of file +}