Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
WackyDBSecondaryAttacks
Optional WackyDB companion that gives secondary attacks independent damage through item YAML.
| Date uploaded | 2 weeks ago |
| Version | 1.0.1 |
| Download link | WackyMole-WackyDBSecondaryAttacks-1.0.1.zip |
| Downloads | 42 |
| Dependency string | WackyMole-WackyDBSecondaryAttacks-1.0.1 |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.
Preferred version: 5.4.2360WackyMole-WackysDatabase
WackysDatabase allows you to control all items/recipes/pieces/creatures/materials/textures via YML files with ServerSync and so much more.
Preferred version: 2.6.14README
WackyDB SecondaryAttacks
Optional BepInEx companion for WackysDatabase 2.6.14+. It gives secondary attacks independent damage using WackyDB item YAML. WackyDB alone does not install these combat patches.
Install and configure
Install on Clients and Server.
name: SwordIron
Secondary_Attack:
Damage:
Slash: 90
Pierce: 20
Damage_Per_Level:
Slash: 6
- Supported only inside
Secondary_Attack; primary damage stays in the item's top-level blocks. - Each provided block replaces that entire base/per-level block. Omitted damage types in a provided block become zero, including per-level damage if you supply an empty block.
- Each omitted block independently falls back to the weapon's normal shared damage. Omit both for existing behavior.
- Quality and world-level scaling remain native, as do
DmgMultiplier, chain bonuses, skill scaling, status effects, and other downstream attack modifiers. - Handles melee, area hits, and projectile bursts. Ammunition damage is not replaced.
- The tooltip appends secondary base damage using the native damage tooltip formatting, followed by the secondary damage multiplier (for example,
3x). That multiplier applies to the listed base damage: Slash 90 withDmgMultiplier: 3becomes Slash 270 before other combat modifiers. Chain bonuses, ammunition and other modifiers are not included in this example; it is not a prediction of final damage dealt. - The secondary multiplier is shown in blue. When it is greater than
1x, multiplied damage appears in blue immediately after the original yellow range on each damage line, followed by its skill-based range in yellow. This preview includes the secondary multiplier, but not other combat modifiers. Multipliers of1xor less do not add multiplied values. - Secondary tooltips also show
ChopandPickaxe, which Valheim's normal weapon tooltip omits. These damage types retain normal target resistance and tool-tier rules; a missing native tooltip row does not mean the damage was not loaded. - WackyDB synchronizes and exports the optional fields normally. Removing the blocks, or deleting an item's YAML, clears its override on the next full reload. YAML changes need a WackyDB reload and a fresh hover over the item;
Implementation and compatibility
The main mod only stores YAML metadata. This companion tracks cloned attack definitions, redirects weapon damage reads, and scopes overrides around the original ItemData.GetDamage pipeline. Normal GetDamage patches from other mods can still run.
CHANGELOG
Changelog
1.0.1
Icon Update
1.0.0
- Add independent secondary-attack damage and damage per upgrade level through WackyDB YAML.
- Support melee, area attacks and projectile bursts while preserving ammunition damage.
- Add secondary base damage to item tooltips, including instantiated inventory items resolved through their prefab identity.
- Require WackysDatabase 2.6.14 or newer. Restart the game after updating both DLLs; an already running game keeps its previously loaded code.
- With Slash 90 and Pierce 20 configured, quality 1 shows those secondary base values. A secondary DmgMultiplier of 3 still applies afterward; the main damage section continues to show primary damage.