0 of 0

File information

Last updated

Original upload

Created by

Darkmushu1

Uploaded by

Darkmushu1

Virus scan

Safe to use

About this mod

Hammer special attack will always crit and applies weapon's crit multiplier

Permissions and credits
Changelogs
Donations
What this mod does:
Hammer special attack will always crit, and apply the weapon's critical multiplier damage.  Normally Hammer special attack can't apply crits ever.
To reduce overpower ness the crit chance has been added to the config file and can be reduced to 0 if you prefer to rely on the weapon's normal crit chance.
Mod was requested by: Universkiller


Requires
SMAPI


Config File
ApplyAdditionalCritMultiplierDamage - Adds on top of weapon's base crit multiplier
ApplyAdditionalCritChance -Adds on top of weapon's based crit chance.

Formula
Weapon base crit chance + ApplyAdditionalCritChance  will be added before
the calculation for additional crit chance from rings, luck, buffs, and professions.

This is also true for the muliplier.


Compatibility

Mod will not be compatible with other mods that have patched "TriggerClubFunction" event.
I had prefix harmony patched: MeleeWeapon.triggerClubFunction  with return = false so  original function will never run.

Caveat

A caveat to using this mod is that although it should work in multiplayer, but the animation effect that other players see when main player uses the special attack will not show show for other players. There's a protected class code that'll need a work around and I do not plan to work on at this time.

Source code
Here