Установить Steam
войти
|
язык
简体中文 (упрощенный китайский)
繁體中文 (традиционный китайский)
日本語 (японский)
한국어 (корейский)
ไทย (тайский)
Български (болгарский)
Čeština (чешский)
Dansk (датский)
Deutsch (немецкий)
English (английский)
Español - España (испанский)
Español - Latinoamérica (латиноам. испанский)
Ελληνικά (греческий)
Français (французский)
Italiano (итальянский)
Bahasa Indonesia (индонезийский)
Magyar (венгерский)
Nederlands (нидерландский)
Norsk (норвежский)
Polski (польский)
Português (португальский)
Português-Brasil (бразильский португальский)
Română (румынский)
Suomi (финский)
Svenska (шведский)
Türkçe (турецкий)
Tiếng Việt (вьетнамский)
Українська (украинский)
Сообщить о проблеме с переводом
Yes, this issue was reported previously and has already been fixed in the developer version. Please wait for the next update patch to go live.
@Moonlight Glint
You're absolutely right. Currently, hooks like OnMeleePrefixHook are only used to modify how prefixes are assigned to items. I did some testing and confirmed that the prefix assignment for weapons and tools is indeed completed during the game's loading phase. The current implementation deviates from the intended behavior—using a static dictionary and assigning prefixes in methods like SetStaticDefaults would be the correct approach. Thanks for the reminder :)
Terraria.ModLoader.Exceptions.MultipleException: Multiple errors occurred.
---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
at CalamityOverhaul.CWRUtils.CWR(Item item) in CalamityOverhaul\CWRUtils.cs:line 869
at CalamityOverhaul.Content.RemakeItems.Core.ItemRebuildLoader.OnMeleePrefixHook(On_Item_Dalegate orig, Item item) in CalamityOverhaul\Content\RemakeItems\Core\ItemRebuildLoader.cs:line 269
at Hook<System.Boolean CalamityOverhaul.Content.RemakeItems.Core.ItemRebuildLoader::OnMeleePrefixHook(CalamityOverhaul.Content.RemakeItems.Core.ItemRebuildLoader+On_Item_Dalegate,Terraria.Item)>(Item )
at SyncProxy<System.Boolean Terraria.ModLoader.ItemLoader:MeleePrefix(Terraria.Item)>(Item )
at Terraria.Item.GetPrefixCategories() in tModLoader\Terraria\Item.TML.cs:line 320
at Origins.Items.Accessories.Royal_Gel_Global.SetStaticDefaults() in Origins\Items\Accessories\Royal_Gel_Minion.cs:line 22