power = skill.power + user.int + user.atk / 2 power -= self.mdef power -= self.pdef / 2 power = [power, 0].max self.damage = power