ModernUO/Projects/UOContent/Engines/ML Quests
Kamron Batman 3332fabc39
fix: Reverts to RunUO speeds, fixes direction glitching, adds movement speed interpolation (#1695)
> [!IMPORTANT]  
> Please read through these changes, as they changed certain expectations for how the internal AI thinking/movement work.
> Note that some mobs still don't have smooth movement on ClassicUO due to how the client handles animations/movement.

### Summary
- **Important Change**: Mobs will now move at a more regular pace. If the OnThink results in a move, but the cooldown would otherwise prevent the move, then the movement is scheduled on another timer.
- Added a 400ms delay to mobs turning to face a player to attack in order to avoid glitching between moving and turning.
- Reverted AI thinking speeds back to RunUO specific speeds.
- Reverted the AI thinking to moving conversion delays back to RunUO.
- For thinking speeds that are not exactly the predefined speeds from RunUO, there is a new calculation to determine the correct conversion to movement speed. This stops speeds like `0.35` from being faster than `0.3`

> [!NOTE]  
> **Developer Note**
> BaseAI.CheckMove() no longer contains the check for whether or not a mob is on movement cooldown. This function can now be overwritten without causing issues to figuring out that cooldown.
2024-03-18 14:13:41 -07:00
..
Definitions fix: Codegens Heartwood quest givers (#1687) 2024-02-18 20:22:28 -08:00
Gumps fix: Optimizes gump relay info (Prep for Static Gumps) (#1698) 2024-03-07 20:54:53 -08:00
Items fix: Codegens ML Quest items (#1522) 2023-09-30 00:46:07 -07:00
Mobiles fix: Fixes crafter deserialize, cleans up bandages, and codegens misc items (#1350) 2023-02-25 00:54:12 -08:00
Objectives fix: Reverts to RunUO speeds, fixes direction glitching, adds movement speed interpolation (#1695) 2024-03-18 14:13:41 -07:00
Rewards fix: Optimizes TextDefinition to eliminate allocations. Removes TextDefinition ctor. (#1221) 2022-10-30 16:53:23 -07:00
IQuestGiver.cs fix(core): Converts more packets and switches to Moq (#415) 2021-01-16 22:09:05 -08:00
MLQuest.cs fix: Fixes map iterators for Items (#1564) 2023-10-26 17:49:15 -07:00
MLQuestContext.cs fix(core): Converts more packets and switches to Moq (#415) 2021-01-16 22:09:05 -08:00
MLQuestEntry.cs feat: Adds TextDefinition serialization support. (#1217) 2022-10-30 01:42:48 -07:00
MLQuestPackets.cs chore: Updates copyright (#1448) 2023-08-09 09:09:26 -07:00
MLQuestPersistence.cs fix: Fixes NPE in champ titles (#1434) 2023-07-28 00:39:10 -07:00
MLQuestSystem.cs fix: Adds command help, webpage, and fixes issues with other commands (#1669) 2024-02-10 00:19:19 -08:00
QuestArea.cs fix(core): Converts more packets and switches to Moq (#415) 2021-01-16 22:09:05 -08:00
QuesterNameAttribute.cs fix(core): Converts more packets and switches to Moq (#415) 2021-01-16 22:09:05 -08:00