Minion ModifyWeaponDamage Patch
⚪ Last updated 2024Preview
🔍 Analysis
- 👍 0.0% endorsement rate
- 🏆 #2 of 5 quality of life, Utilities, Both, 1.4.4 mods in this game by downloads
📋 About This Mod
Minion ModifyWeaponDamage Patch NOTICE: This mod is discontinued, but will remain available on the workshop (for tML v1. 4. 4.x) for those that have a use for it. This is a simple mod that fixes a tML bug*, in which minions, sentries, and other projectiles which continuously update their damage don't scale with their parent weapon/player's damage modifications from mods' usage of the ModifyWeaponDamage hook. Players: Just download (Via. subscribing to the Steam Workshop item) and enable this mod and it'll do its thing. You probably only need this mod if you're a summoner playing with a mod(s) that has an issue similar to what is described above. Modders: If you utilize the ModifyWeaponDamage hook in your mod, you may want to investigate the damage of minions/sentries and make sure they work fine. If they don't, this mod may fix your problems. This mod is open-source, so feel free to just copy the code instead of depending on this mod. There isn't a public repository (Ex: GitHub), so use tMod's extract function to access the source. Outline of how the patch works (For Modders): This mod affects minions, sentries, and any projectile with ContinuouslyUpdateDamageStats set to true. It attempts to find the parent player and item, uses that info to call CombinedHooks. ModifyWeaponDamage and saves the result to a StatModifier. The mod then uses the PreAI hook to re-create vanilla code that updates projectile.damage, and builds in the saved StatModifier from CombinedHooks. ModifyWeaponDamage. To clarify, all of this is done within a GlobalProjectile class. Compatibility/Multiplayer Should be compatible with multiplayer and just about every other mod. The only potential for mod incompatibility is if another mod already has its own patch for this bug, or otherwise messes with projectiles that continuously update their damage. My mods already have this mod's effects integrated into them, so there's no need to use it with them! Disclaimers Be warned that this is NOT a perfect solut
📊 Mod Details
- Game
- Tmodloader Mods
- Author
- 76561198190289103
- Version
- N/A
- Downloads
- 65,021
- Endorsements
- 0
- Category
- quality of life, Utilities, Both, 1.4.4
- Created
- 8/11/2023
- Updated
- 1/8/2024
🔧 How to Install tModLoader Mods
Subscribe on Steam Workshop. Mods auto-download and install. Launch the game to activate.
📖 Full step-by-step install guide for tModLoader →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for tModLoader commands, item IDs, and more.
Keep browsing — more tModLoader mods await