MR-8: Nemere Dungeon

This commit is contained in:
Mind Rapist
2026-01-18 09:01:56 +02:00
parent 94a2e35129
commit 681a8cae1b
24 changed files with 1317 additions and 90 deletions

View File

@@ -7601,6 +7601,19 @@ bool CHARACTER::CanEquipNow(const LPITEM item, const TItemPos& srcCell, const TI
return false;
}
// MR-8: Prevent mounting in Nemere's Watchtower
if (item->GetSpecialGroup() == UNIQUE_GROUP_SPECIAL_RIDE)
{
long lMapIndex = GetMapIndex();
bool isInNemereDungeon = lMapIndex >= 352 * 10000 && lMapIndex < 353 * 10000;
if (isInNemereDungeon && !IsRiding())
{
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot ride your horse in Nemere's Watchtower."));
return false;
}
}
// MR-8: -- END OF -- Prevent mounting in Nemere's Watchtower
}
return true;