#include #include #include "WizardT.h" using namespace std; string WizardT::Name(void) const { return "Zapper " + PlayerT::Name(); } string WizardT::Fight(void) const { int damage = rand() % 4+ 3; return "Zap for " + to_string(damage); } string WizardT::Speak(void) const { string rv; int i; for(i = 0; i < 30; i++) { rv += static_cast('a'+rand()%26); if (rand()%5 == 0) { rv += ' '; } } return rv; } string WizardT::Study(void) const { return "Oh Boy, to the books!"; }