// Minor Potions Table
object Table818a();
// Medium Potions Table
object Table818b();
// Major Potions Table
object Table818c();

object Table818a() // Minor Potions
    {
    int iRoll = d100();
    string sString;
    //if (iRoll <= 5) sString =       "potion001";    //Jump Potion Deactivated for not working right
    if (iRoll <= 20) sString = "potion002";    //Cure Light Wounds
    else if (iRoll <= 24) sString = "potion003";    //Vision
    else if (iRoll <= 28) sString = "potion004";    //Eyes  (replaces swimming)
    else if (iRoll <= 32) sString = "potion005";    //Hiding
    else if (iRoll <= 36) sString = "potion006";    //Sneaking
    else if (iRoll <= 53) sString = "potion007";    //ClairAudience/Vision
    else if (iRoll <= 56) sString = "potion008";    // Eagle Splender
    else if (iRoll <= 59) sString = "potion009";    // Fox Cunning
    else if (iRoll <= 62) sString = "potion010";    // Owl Wisdom
    else if (iRoll <= 68) sString = "potion011";    // Barkskin
    else if (iRoll <= 71) sString = "potion012";    // Darkvision
    else if (iRoll <= 80) sString = "potion013";    //Endurance
    else if (iRoll <= 83) sString = "potion014";    //Cure Moderate Wounds
    else if (iRoll <= 91) sString = "potion015";    //Aid
    else if (iRoll <= 93) sString = "potion016";    //Invisibility
    else if (iRoll <= 94) sString = "potion017";    //Lesser Restoration
    else if (iRoll <= 95) sString = "potion018";    // Cat's Grace
    else if (iRoll <= 96) sString = "potion019";    //Bull Strength
    else sString = "potion019";                     //More Bull Strength
    return CreateItemOnObject(sString);
    }

object Table818b() // Medium Potions
    {
    int iRoll = d100();
    string sString;
    if (iRoll <= 2) sString = "potion003";          //Vision
    else if (iRoll <= 3) sString = "potion004";     //Eyes  (replaces swimming)
    else if (iRoll <= 4) sString = "potion005";     //Hiding
    else if (iRoll <= 5) sString = "potion006";     //Sneaking
    else if (iRoll <= 10) sString = "potion007";    //ClairAudience/Vision
    else if (iRoll <= 12) sString = "potion008";    // Eagle Splender
    else if (iRoll <= 14) sString = "potion009";    // Fox Cunning
    else if (iRoll <= 16) sString = "potion010";    // Owl Wisdom
    else if (iRoll <= 21) sString = "potion011";    // Barkskin
    else if (iRoll <= 24) sString = "potion012";    // Darkvision
    else if (iRoll <= 32) sString = "potion013";    //Endurance
    else if (iRoll <= 40) sString = "potion014";    //Cure Moderate Wounds
    else if (iRoll <= 55) sString = "potion015";    //Aid
    else if (iRoll <= 60) sString = "potion016";    //Invisibility
    else if (iRoll <= 65) sString = "potion017";    //Lesser Restoration
    else if (iRoll <= 70) sString = "potion018";    // Cat's Grace
    else if (iRoll <= 75) sString = "potion019";    //Bull Strength
    else if (iRoll <= 88) sString = "potion020";    //Glibness *
    else if (iRoll <= 91) sString = "potion035";    //WaterBreathing *
    else if (iRoll <= 92) sString = "potion021";    //Remove Paralysis*
    else if (iRoll <= 93) sString = "potion022";    //Remove Blindness/deafness *
    else if (iRoll <= 94) sString = "potion023";    //Remove Disease *
    else if (iRoll <= 96) sString = "potion024";    //Neutralize Poison  *
    else if (iRoll <= 98) sString = "potion025";    //Cure Serious Wounds *
    else sString = "potion033";                     //Heroism             *
    return CreateItemOnObject(sString);
    }

object Table818c() // Major Potions
    {
    int iRoll = d100();
    string sString;
    if (iRoll <= 1) sString = "potion007";    //ClairAudience/Vision
    else if (iRoll <= 2) sString = "potion008";    // Eagle Splender
    else if (iRoll <= 3) sString = "potion009";    // Fox Cunning
    else if (iRoll <= 4) sString = "potion010";    // Owl Wisdom
    else if (iRoll <= 7) sString = "potion011";    // Barkskin
    else if (iRoll <= 8) sString = "potion012";    // Darkvision
    else if (iRoll <= 13) sString = "potion013";    //Endurance
    else if (iRoll <= 16) sString = "potion014";    //Cure Moderate Wounds
    else if (iRoll <= 25) sString = "potion015";    //Aid
    else if (iRoll <= 30) sString = "potion016";    //Invisibility
    else if (iRoll <= 35) sString = "potion017";    //Lesser Restoration
    else if (iRoll <= 40) sString = "potion018";    // Cat's Grace
    else if (iRoll <= 45) sString = "potion019";    //Bull Strength
    else if (iRoll <= 47) sString = "potion020";    //Glibness *
    else if (iRoll <= 53) sString = "potion035";    //WaterBreathing *
    else if (iRoll <= 55) sString = "potion021";    //Remove Paralysis*
    else if (iRoll <= 57) sString = "potion022";    //Remove Blindness/deafness *
    else if (iRoll <= 59) sString = "potion023";    //Remove Disease *
    else if (iRoll <= 69) sString = "potion024";    //Neutralize Poison  *
    else if (iRoll <= 75) sString = "potion025";    //Cure Serious Wounds *
    else if (iRoll <= 77) sString = "potion026";    //Protection Cold *
    else if (iRoll <= 79) sString = "potion027";    //Protection Electricity *
    else if (iRoll <= 83) sString = "potion028";    //Protection Fire *
    else if (iRoll <= 85) sString = "potion029";    //Protection Acid *
    else if (iRoll <= 87) sString = "potion030";    //Protection Sonic *
    else if (iRoll <= 90) sString = "potion031";    //Haste *
    //else if (iRoll <= 95) sString = "potion032";    //Oil of Slipperiness * Could not make this work
    else sString = "potion033";    //Heroism *
    //else sString = "potion034";                     //Firebreathing *  Could not make this work
    return CreateItemOnObject(sString);
    }
