View Single Post
Old 01-14-2022, 08:42 AM   #8
Armin
GCA Prime
 
Armin's Avatar
 
Join Date: Aug 2004
Location: Portland, OR
Default Re: How to code equipment that boosts Attributes

You are correct! When inactive, the bonus won't be applied, so the weight reduction won't be granted and the inactive item will weigh its normal amount.

I think I wrote it with the explicit check for inactive out of habit.

1) That would make the self-gives this:

Code:
-me::baseweight to me::weight
2) and the modifier gives this:

Code:
-owner::baseweight to owner::weight
Well spotted.
__________________
Armin D. Sykes | Visit my GCA5 blog for updates and previews. | Get GCA5 now at Warehouse 23.
Armin is offline   Reply With Quote