View Single Post
Old 07-19-2021, 03:14 PM   #3
ericbsmith
 
ericbsmith's Avatar
 
Join Date: Aug 2004
Location: Binghamton, NY, USA. Near the river Styx in the 5th Circle.
Default Re: Kick with Boots and Brawling/Karate, newmode directly on equipment?

Quote:
Originally Posted by Armin View Post
No thoughts jump right out at me. I thought you might be missing skillused(), but then I saw it there.

I am pretty sure the @if statements in the @max, such as "@if(me::charskillused = "SK:Brawling" " are not working as expected, because @if can't do a string comparison like that. But if that works elsewhere, it may be failing in a way that still works for the rest of the code.
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.
__________________
Eric B. Smith GURPS Data File Coordinator
GURPSLand
I shall pull the pin from this healing grenade and...
Kaboom-baya.
ericbsmith is offline   Reply With Quote