HEadgear equip issue

HI,


I am having an issue I hope someone can tell me about fixing. Running through a test of the game i was making I found I was taking more damage than I should. I looked at my equipment, everything looked ok. Currently only a Bandana and Leather Top was equipped. Starting equipment. So I went and removed the bandana first. I discovered at this point it was messing up the defense rating.


The Bandana is set to have a Def 1. However, when it is equipped it actually subtracts 4 from the Def. I have Yanfly's scripts installed. Does anyone know why this would be happening?
If you disable Yanfly's plugins, does the issue still happen?



If it doesn't happen with the plugins disabled, then it's the plugins causing the problem (or maybe rather the way you've set up the notes), and we will move it to the correct area.  You will also have to specify what "Yanfly's plugins" mean - ALL of Yanfly's plugins?  Specific ones only?  You will need to state which plugin you're using that requires those settings on the equipment.
One of Yanfly's scripts gives you the option to have variable values on your items. If that option is enabled, the values for equipment get a random modification, but the value should be visible ingame. That "1" of the Bandana - have you checked it in the database or ingame? If you checked it only in the database, it might be that you have activated the option of randomizing the equipment values.


ALWAYS check all options of any plugin/script you're adding, you cannot expect your game to work if you just enter plugins but never configure them...
actually, this is the wrong place to ask for help and you haven't stated what you're using, so any suggestions are going to be assuming an engine and could be completely wrong.  Please state what engine you're using - you didn't say it in your post, it's not on your profile, and you haven't added any tags.  Are you using MV or Ace (or something else)?

Original thread: https://forums.rpgmakerweb.com/threads/headgear-equip-issue.56142/