Still get damage regardless of 999 defense points.

takisama

Tiller
I read about defense on stardew valley wiki and understood that for every 1 point of defense, it will reduce the damage that I take 1 point, and minimum is I could take 1 damage. I unpacked weapons.xnb, fixed the defense point of my boot to 999. But nothing changed at all, I still got damage from mobs. Can somebody explain to me why and how can I got zero damage without using any mods (I could edit .xnb files). Thank you!
 
How much damage are you seeing. Most game damage calculators do not allow damage to go below one unless block is enacted. Do are you getting flea bit or is it like 5 or more.

There is also the potential for overflow. When a game detects a value of -950 it can sometimes interpret the damage as a -defense stat by making the end value a invalid integer. Lots of games have bugs like this like mass effect will read a positive balance as a negative if the total exceeds 99999 for resource on a game import.

Then again I haven't looked at the code since I am on Xbox and not pc
 
Last edited:

takisama

Tiller
Try taking the boot off and putting it on again.

Sometimes stats are only applied on equip.

Actually if this is the case, taking the boots off may give you negative defense. I'm not in a position to check the code right now.
Later on I dropped my current equipped boot and buy a new one in shop. It works perfectly. Thank you all!
 
Top