How to print different items depending on a random print in Python?
I'm sorry if the title didn't make sense but this is what I mean. Here is
part of my script.
Mage = "Mage"
Warrior = "Warrior"
Thief = "Thief"
skilltree = (Mage, Warrior, Thief)
print random.choice (skilltree)
Now say it randomly chose Warrior. In my next script it would print 7
skills. But if it were to randomly choose Thief or Mage they would of been
7 completely different skills. So I want the 7 skills you get to depend on
the randomly chosen skill tree.
Thanks.
No comments:
Post a Comment