Added compatibility for PatPat mod (Thanks: Unknown)
Fixed offset issue with snowball throwing animation
Fixed error issue with default model animation variables
Completed compatibility with Superb Warfare
Optimized ranged attack AI mechanism
Ranged attacks (including gun attacks) now consider distance to avoid maid back-and-forth issues
In ranged mode, maids will prioritize attacking creatures that are currently damaging them
The doMobLoot rule now affects Maid Fairy's power point drops
Removed actuallyHurt method, fixed bug where maids would die instantly when hurt on arclight servers
Added compatibility for minimap mods
Added maid backup mechanism, can automatically backup maids and quickly restore previously backed up maids in abnormal situations
First need to enable maid auto-backup feature in touhou_little_maid-server.toml file (disabled by default)
# Whether to enable the maid backup mechanism, this mechanism will regularly backup all player's maid data on the server
MaidBackupEnable = false
# The interval time for backing up maid data in the maid backup mechanism (in seconds)
# Range: > 5
MaidBackupIntervalSeconds = 180
# Maximum number of backups per player when maid backup mechanism is enabled
# Range: 1 ~ 64
MaidBackupMaxCount = 3
The game will then regularly backup maids in loaded chunks according to the settings
Use the /tlm backup get <player> command to view all backup data for that player, click on displayed entries for further queries
Finally gives the command initiator a maid photo containing backup data
Modified melee damage logic, added events
net.minecraft.world.item.Item#hurtEnemy to trigger things after melee combat (such as durability consumption)MaidHurtTarget.Pre and MaidHurtTarget.Post events to trigger during melee combatUpdated some models