示例#1
0
 /// <summary>
 /// retrieves potency of poison.
 /// </summary>
 public double getPotency(Poison poison)
 {
     return(poison.Potency);
 }
        /// <summary>
        /// Uses the Specified Poison
        /// </summary>

        public void UsePoison(Poison poi)
        {
            ApplyBuffOrDebuff(poi.Potency);
            RemoveFromInventory(poi, 1);
        }