+ else if (eventnum < 12 && eventnum >= 10) // 2% for finding potions
+ {
+ notice(s_GameServ, u, "Fortune smiles upon thee!");
+
+ eventnum = 1 + rand() % 4;
+ switch(eventnum)
+ {
+ case 1:
+ notice(s_GameServ, u,
+ "You have found an HP Potion!");
+ p->inventory.incHP();
+ break;
+ case 2:
+ notice(s_GameServ, u,
+ "You have found a Strength Potion!");
+ p->inventory.incStrength();
+ break;
+ case 3:
+ notice(s_GameServ, u,
+ "You have found a Defense Potion!");
+ p->inventory.incDefense();
+ break;
+ case 4:
+ notice(s_GameServ, u,
+ "You have found a Healing Potion!");
+ p->inventory.incHealing();
+ break;
+ }
+ }
+ else if (eventnum < 10 && eventnum >= 5) // 5% for the fountain