#pragma once struct randart_gen_type { int chance; /* Chance to have that number of powers */ int dd; int ds; int plus; /* xdy+plus power */ };