hmm, I suggest the algorithm should come from an ACS script. Hence, the code to be added to MAPINFO would be:
- Code: Select all • Expand view
DamageAlgorithm = *insert script name or id here*
obviously this script should have one integer parameter (indicating the specified damage to be modified) and should return an integer (will be the effective damage).