Added the Tainted Blood Pendant.

This commit is contained in:
Lizbeth Rika committed 2014-11-06 18:17:20 +00:00
1 parent 403b90b849
commit 7281be661f
10 files changed
+212 -14

No files matched your search

@@ -28,6 +28,7 @@ public class Brew {
int color;
int cost;
List<PotionEffect> effects;
boolean canInfuseBloodPendant = true;
/**
* @param name The unlocalized name of this potion.
@@ -44,6 +45,18 @@ public class Brew {
this.effects = new ArrayList(Arrays.asList(effects));
}
/**
* Sets this brew to not be able to be infused onto the Tainted Blood Pendant.
*/
public Brew setNotBloodPendantInfusable() {
canInfuseBloodPendant = false;
return this;
}
public boolean canInfuseBloodPendant() {
return canInfuseBloodPendant;
}
/**
* Returns the key for this brew, for it to be found in the map in the API.
* This should ALWAYS return the same result.