T
tModLoader7mo ago
like-gold

All weapons say melee damage

Every single weapon says that it does melee damage. It seems to only be a visual bug, but i messes with for example magic storage. Weapons from other mods stayed the same. It all happened out of nowhere randomly when i logged on today. Would be really thankfull if someone had a solution for it.
No description
7 Replies
tModLoader
tModLoader7mo ago
Welcome to #support-forum. Before someone helps you, please first consult the information in #TML Troubleshooting Guide and try all the suggestions that might fit your particular issue, especially in the linked FAQ page. If the information in the pinned thread does not solve your issue, please post all log files by dragging and dropping them into this chat. In Steam right click on tModLoader in the library, then hover over Manage and click on Browse local files. In the folder that appears find tModLoader-Logs and open that folder. Inside that folder are the logs files. Select them all except the Old folder and drag them into this chat. If you need a visual guide to this process watch this: https://github.com/tModLoader/tModLoader/assets/4522492/3f4efa43-753f-4733-b630-ba85e711340c
tModLoader
tModLoader7mo ago
Tag: flowchart (Owner: jopojelly#0000) Something weird happening in your game? Need to skip loading mods? Can't load a world or player? Do the following before asking for more help: https://cdn.discordapp.com/attachments/466247288331829249/481464717043564554/Untitled_Diagram1.png
fair-rose
fair-rose7mo ago
Remove all your mods, does it still do it? Also, does drinking a Magic Power potion increase the damage? @carti
like-gold
like-goldOP7mo ago
I removed every mod and nothing changed. And the damage does go up with for example a magic potions or accesories, so as i said it seems to only be a visual bug. Still really annoying tho.
fair-rose
fair-rose7mo ago
Alright so I have the same isuue as you then, but I found the source why, more-or-less, while I was modding using a recent fork of tModloader. Tl;dr, it’s not a visual bug. Everything is being “converted to the same damage type.” From what I couls find, tMod added this function when preparing item properties that turns some melee weapons into certain melee sub class (melee no speed). The problem isn’t with this function, but the fact that for some reason during mod loading every damage class’s type is set to 0, so when that function checks to see if the damage class is melee, well they’re all 0, so it’s always true. The magic potion and other accessories also increases every damage type because of this. I think you have the same issue as me, but I couldn’t find why every damage type is set to 0.
like-gold
like-goldOP7mo ago
do you have any ideas on how to fix this? no idea what happened but it's all good now, thank you tho
fair-rose
fair-rose6mo ago
https://github.com/tModLoader/tModLoader/issues/4634 The issue was resolved some time ago. I helped with what I knew. Np. have anice day
GitHub
Most of the damage becomes melee · Issue #4634 · tModLoader/tModL...
Version Latest 1.4.4-preview OS Windows Platform Steam This bug affects... Gameplay as a Player Description With the preview version, its summon damage has changed to melee damage. When the version...

Did you find this page helpful?