public void giveBuff(PotionEntry entry) { entry.HasBuff.put(Name, true); if (entry.BuffTicks.get(Name) != null) { entry.BuffTicks.put(Name, entry.BuffTicks.get(Name) + ticksPerDrink); } else { entry.BuffTicks.put(Name, ticksPerDrink); } }
public void takeBuff(PotionEntry entry) { entry.HasBuff.put(Name, false); entry.BuffTicks.put(Name, 0); }