In common event ask for the player to input a number, store that number in a variable. Force action the battler with the actual spell. Assuming v[1] stores the number, the dmg formula could be something like (base formula)*((v[1] + 1)/10 + 1) and with a hp cost like (v[1...