Commit 1fde9a21 authored by Kameron Kinsey's avatar Kameron Kinsey

Initialize repository

parent cba6a64b
...@@ -96,3 +96,20 @@ void Boss::bossResponse(int floorNum, int playerWon) { ...@@ -96,3 +96,20 @@ void Boss::bossResponse(int floorNum, int playerWon) {
} }
} }
void giveBossItems(int floorNum, Inventory inventory) {
switch(floorNum) {
case 1:
// Minotaur
inventory.gainNewItem("Cow Hammer", 10, -5);
case 2:
// Death
inventory.gainNewItem("Death Svythe", 7, 7);
case 3:
// Dragon
inventory.gainNewItem("Dragon Heart", 0, 10);
case 4:
// Dungen Master
inventory.gainNewItem("Maguffin of Vague Desireability", 15, 15);
}
}
\ No newline at end of file
...@@ -23,5 +23,7 @@ class Boss { ...@@ -23,5 +23,7 @@ class Boss {
// Other Functions // Other Functions
void summonBoss(int floorNum); void summonBoss(int floorNum);
void bossResponse(int floorNum, int playerWon);
void giveBossItems(int floorNum, Inventory inventory);
}; };
\ No newline at end of file
...@@ -19,7 +19,9 @@ class Player { ...@@ -19,7 +19,9 @@ class Player {
talk = 10, talk = 10,
string playerName; string playerName;
public: public:
int health = 100; //
int health = 100;
// Get Functions // Get Functions
int getFight() { return fight; } int getFight() { return fight; }
int getTalk() { return talk; } int getTalk() { return talk; }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment