better buff value calculation