public void takePotion(Potion potion) { usedPotion = PotionBag.IndexOf(potion); //recherche le bon type de potion PotionBag.Remove(usedPotion); //la retire du sac }
public static Potion StrengthPotion() //augmente les stats temporairement (prochain donjon/donjon en cours) { Potion StrengthPotion = new Potion(0, 15, 0, 15); return(StrengthPotion); }
public static Potion AgilityPotion() { Potion AgilityPotion = new Potion(0, 0, 15, 15); return(AgilityPotion); }
public static Potion LifePotion() //rend de la vie { Potion lifePotion = new Potion(30, 0, 0, 10); return(lifePotion); }