I'm making a text-based adventure game in which you can buy things, travel to cities, being attacked by bandits with random skill/lvl depending on your lvl. But how can I combine the skills strength, intelligence, agility and the total exp/lvl to make a kind of "damage" variable which can be used in battle? Do you guys have any ideas?