How is damage for activated abilities calculated?