mirror of
https://github.com/opentibiabr/canary
synced 2026-08-16 06:26:09 -04:00
This update introduces several enhancements to the loot system, allowing for more flexible loot management across different monsters without the need to modify each monster's individual script. A global loot option has been added, which is disabled by default, to assign items that any monster can drop. This feature simplifies the addition of common loot across multiple monsters, enhancing the modularity of loot management. The "registerLoot" function has been improved to eliminate code duplication and enhance efficiency. The "closeContainer" function has been updated to remove problematic code that could cause crashes when "container" used before "erase". Additionally, a new Lua function, "getMonsterTypeByName", has been introduced to facilitate getting monster types. |
||
|---|---|---|
| .. | ||
| bestiary_charms.lua | ||
| concoctions.lua | ||
| custom_monster_loot.lua | ||
| discord_webhook.lua | ||
| item_tiers.lua | ||
| reward_chest.lua | ||