Enchantments

Note: It's my first time doing something with C++
Because as I have I said: I have to optimize the code. I only commited these changes to comment about the calculations.