DarkstarProject/darkstar — pull request #522 by Cloudef (2014-10-05 09:40:24+00:00)
Title: Do not downcast from 16 bit precision to 8 bit precision.

This for example makes Vrtra take damage instead of regen health every
tick due to overflow of regen mod.

Not sure why this downcasting is done, it just most likely makes overflowing/underflowing very easy (unless that is wanted).

getMod actually returns uint16.