View Single Post
Old 07-19-2021, 04:52 PM   #4
Armin
GCA Prime
 
Armin's Avatar
 
Join Date: Aug 2004
Location: Portland, OR
Default Re: Kick with Boots and Brawling/Karate, newmode directly on equipment?

Quote:
Originally Posted by ericbsmith View Post
That's how it's set up for the Punch and Kick attributes... and that coded doesn't seem to be working for those attributes, which is utterly mitigated by the fact that Brawling, Boxing, and Karate hide the combat table entries for those attributes when the skills are added and high enough to surpass them. I just hadn't noticed that code wasn't working because they get hidden.

I think what needs to be done is to remove the @if() which looks for the charskillused. Simply using @max() will catch the highest damage bonus without having to look at which skill is actually giving it.
I think perhaps a $textindexedvalue() instead of the @if() might do the trick, if checking what skill is being used is desirable. But, yes, I believe you are correct.
__________________
Armin D. Sykes | Visit my GCA5 blog for updates and previews. | Get GURPS Character Assistant 5 now at Warehouse 23.
Armin is offline   Reply With Quote