View Single Post
Old 04-22-2017, 10:25 AM   #4
ericbsmith
 
ericbsmith's Avatar
 
Join Date: Aug 2004
Location: Binghamton, NY, USA. Near the river Styx in the 5th Circle.
Default Re: getting the integer of a value.

The biggest problem here is that it will work with simple DR values, such as DR6, but not complex ones like 12/4*. GCA can read dr(6) as a numeric value and calculate from it; it cannot read dr(12/4*) as being numeric, so does nothing instead. GCA can do math to complex DR values like 12/4*, but it isn't very smart about it. Applying a gives(*2/3 to owner::dr) results in floating point errors creaping in as well as no integer rounding of DR values.

Unfortunately, I don't think that GCA is capable of applying that modifier correctly, at least not automatically.
__________________
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