Made attacks resolve consistently even at varying speeds. Added in a
third colour for attacks ('mainboom'), red.