// Weapons · RimWorld Mod
Degrading Weapons
About Ever feel strange about your weapons not loosing hp in a battle?
About
Ever feel strange about your weapons not loosing hp in a battle? No?Spoiler
Whatever...
Spoiler
(Reuploaded due to technical reasons, sorry)
Description
Long story short, this mod makes all weapons in the game loose it's hp while being used to attack in melee/in range Rates of this and chances to avoid hp loss can be changed in settingsDetails
Below are the formulas with explanations on which the mod actually works: (All variables can be changed in settings) Melee atack hp loss - calculates by formula: HP Loss = 0.25 × x Where: x = 1 by default Ranged atack hp loss - calculates by formula: HP Loss = ((warmup + cooldown + (burstAmt - 1) × ticksBtwnShots / 60) / burstAmt) × 0.1 × x Where: x = 1 by default; ticksBtwnShots - number of ticks between shots in burst; burstAmt - number of shots in burst This function allows to find average number of shots per second and equalise this way amount of damage that receive minigun and sniper rifle for example TechLevel Scaling - If enabled, the result of the HP Loss function is multiplied by TechLevelMult TechLevelMult = TechLevel + TechLevelAdjuster * TechlevelDifference Where: TechLevel = 0.4 by default (Base Modifier); TechLevelAdjuster = 0.2 by default (Multiplier for TechlevelDifference); TechlevelDifference - Difference between Techlevel of the weapon and Archotech ▲All this values calculates for all weapons on game startup and require restart▲ ▼All this values can be changed without the game restart▼ Chance to avoid hp loss both melee and ranged calculates by this formula: Chance = x + (Skill × y) Where: x(base chance to avoid hp loss) = 0 by default; Skill(melee or ranged) - skill level of the pawn; y(skill multiplier) = 4 by default So (by default) chance to avoid hp loss will look like this:
Additionaly in settings you can find options:
To show hp loss rate in info tab of all weapons
To stop hp loss for researched weapons