Sorry about that! Fixed now. Turns out it was an order-of-operations issue!
if( stoneNumber % DRAIN_FACTOR * DRAIN_FACTOR == 0 ) { drainMultiplier = 2 }