Anonymous

Module:Constants: Difference between revisions

From Melvor Idle
_getModifierText: Fix issue with interpretation of 'V+100' modifier values
(getCombatStyleName: Validate string representation of combat styles also)
(_getModifierText: Fix issue with interpretation of 'V+100' modifier values)
Line 525: Line 525:
['VX'] = function(val) return val * 10 end,
['VX'] = function(val) return val * 10 end,
['VX100'] = function(val) return val * 100 end,
['VX100'] = function(val) return val * 100 end,
['V%+100'] = function(val) return val + 100 end,
['V+100'] = function(val) return val + 100 end,
['VMUL'] = function(val) return 2^val end,
['VMUL'] = function(val) return 2^val end,
['VITEM'] = function(val)
['VITEM'] = function(val)