Enter cheats in the Python Console.
To open the console, press Shift + O and then enter the following commands:
player.strong_+=X [increases the amount by X can be anything between 0 and 100]
mp = X [X is your maximum MP]
hp = X [X is your maximum HP]
player.merits = Y [Y can be anything between -50 and 50]
player.money = XXXXXX [as much as you like]
Then press enter again at an empty line to execute the codes.
To get the spells, take 1 class of each magic and they are available to you.