From 322602184cf7468533d5fc7c22afab50ecd2d610 Mon Sep 17 00:00:00 2001 From: Kameron Kinsey Date: Mon, 19 Mar 2018 03:46:44 +0000 Subject: [PATCH] initialize repository --- Monster.cpp | 60 +++++++++++++++++++++++++++++++++++------------------ Monster.h | 3 +-- 2 files changed, 41 insertions(+), 22 deletions(-) diff --git a/Monster.cpp b/Monster.cpp index ee6faa3..426887b 100644 --- a/Monster.cpp +++ b/Monster.cpp @@ -25,83 +25,103 @@ Monster::Monster(int seed) { switch(rand() % 20) { case 1: cout << "A Toilet stands before you, its porcelin shining in the dull light, containing questionable water" << endl; - monster.setMonsterStats(seed); + setFight(15); + setTalk(5); cout << getWaygd() << endl; case 2: cout << "A Green Bar is before you, you're not sure why, but you feel like you've just solved a math problem" << endl; - monster.setMonsterStats(seed); + setFight(15); + setTalk(5); cout << getWaygd() << endl; case 3: cout << "A Potato stands before you on a table, its eyes stare into your soul, or just behind you, it has a lazy eye" << endl; - monster.setMonsterStats(seed); + setFight(5); + setTalk(15); cout << getWaygd() << endl; case 4: cout << "A German soldier of the Third Reich stands before you, arm straight in the air" << endl; - monster.setMonsterStats(seed); + setFight(10); + setTalk(10); cout << getWaygd() << endl; case 5: cout << "A plate of Waffles sit on a table, nothing wrong here, just some Waffles, hangin' out, bein' Waffles" << endl; - monster.setMonsterStats(seed); + setFight(5); + setTalk(15); cout << getWaygd() << endl; case 6: cout << "A Beautiful Girl is standing before you, wait what's that poking out of her skirt? Probably just a dagger." << endl; - monster.setMonsterStats(seed); + setFight(5); + setTalk(15); cout << getWaygd() << endl; case 7: cout << "The Game Devs stand before you, they hope you're liking this game, they put some hard work into it. Heck, I had to create 150 Unique encounters" << endl; - monster.setMonsterStats(seed); + setFight(10); + setTalk(10); cout << getWaygd() << endl; case 8: cout << "A Human stands before you, what? Not everything in this list is Shakespeare" << endl; - monster.setMonsterStats(seed); + setFight(12); + setTalk(12); cout << getWaygd() << endl; case 9: cout << "The Ugliest thing you've ever seen stan--oh wait that's just a mirror. Fight me, I dare you" << endl; - monster.setMonsterStats(seed); + setFight(12); + setTalk(12); cout << getWaygd() << endl; case 10: cout << "A Door hangs before you, the pressure to conform to society's unrealistic standard for doors was too much. It will be missed" << endl; - monster.setMonsterStats(seed); + setFight(5); + setTalk(15); cout << getWaygd() << endl; case 11: cout << "A Princess stands before you, but she's not why you're here, don't get distracted by needless side-quests, you've got a job to do!" << endl; - monster.setMonsterStats(seed); + setFight(10); + setTalk(15); cout << getWaygd() << endl; case 12: cout << "EA stands before you, you must pay $69.99 to access the rest of this game" << endl; - monster.setMonsterStats(seed); + setFight(10); + setTalk(15); cout << getWaygd() << endl; case 13: cout << "A Ghost stands before you, wait, that's just Carl in a bedsheet" << endl; - monster.setMonsterStats(seed); + setFight(10); + setFight(10); cout << getWaygd() << endl; case 14: cout << "A Textbook lies before you, haunting you about what you should be studying instead of playing this game" << endl; - monster.setMonsterStats(seed); + setFight(10); + setTalk(10); cout << getWaygd() << endl; case 15: cout << "A Hobo stands before you, asking for some change, loose change, clothes change, societal change, anything. The Hobo is pretty bored with current events" << endl; - monster.setMonsterStats(seed); + setFight(10); + setTalk(15); cout << getWaygd() << endl; case 16: cout << "1 Direction stands before you, they deserve this, we won't tell anyone" << endl; - monster.setMonsterStats(seed); + setFight(5); + setTalk(15); cout << getWaygd() << endl; case 17: cout << "A Doll stands before you, porcelain eyes staring into your soul" << endl; - monster.setMonsterStats(seed); + setFight(5); + setTalk(10); cout << getWaygd() << endl; case 18: cout << "A Real Slim Shady Gentleman sits before you, he stands up at your approach" << endl; - monster.setMonsterStats(seed); + setFight(10); + setTalk(15); cout << getWaygd() << endl; case 19: cout << "Depression hits you as soon as you enter the room, this will be an uphill battle" << endl; - monster.setMonsterStats(seed); + setFight(15); + setTalk(5); cout << getWaygd() << endl; case 20: cout << "The Color Blue stands before you. . . I don’t know ok? I lost my sanity 10 encounters back so here. Fight against, Flee from, or Talk to the Color Blue" << endl; - monster.setMonsterStats(seed); + setFight(10); + setTalk(10); cout << getWaygd() << endl; } diff --git a/Monster.h b/Monster.h index fefbbc3..47ace83 100644 --- a/Monster.h +++ b/Monster.h @@ -17,8 +17,7 @@ using namespace std; class Monster { private: string waygd = "What are you going to do?" - int fight = 10, - talk = 10; + int fight, talk; public: // Constructor Monster(int); -- GitLab