Defence Status

Forgewright
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
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
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!

This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums