Defence Status

Forgewright
04 Feb 2016, 15:39
When I check status then equip a helmet, typed as armor in the combat tab from combat.lib and given a 1 from(Protection (1-5) option then check status after wearing it, the defense stat is lowered by 1. Shouldn't it raise 1?

The Pixie
04 Feb 2016, 18:18
Assuming this is my combat library, then it can only handle complete armour outfits as written. It will assume your helmet is a full set of armour, and moving around in armour will reduce your agility, which will reduce your defence.

If you want to change that, copy the GetDefence function into your game.

Forgewright
05 Feb 2016, 02:13
I noticed I could not wear the leather armor I created and thought what you just confirmed. I was thinking I could create a script from the wearables.lib and just add to the defense in the "When wearing" script. I'll go with your advice. Thanks Pixie!