v0.2.3: buff immunity collection fixes

This commit is contained in:
Evan Debenham 2014-12-14 14:49:51 -05:00
parent 1e3bc31c6b
commit cfb74c0a2d
5 changed files with 6 additions and 6 deletions

View File

@ -27,9 +27,9 @@ public class Buff extends Actor {
public Char target;
public static HashSet<Class<?>> resistances = new HashSet<Class<?>>();
public HashSet<Class<?>> resistances = new HashSet<Class<?>>();
public static HashSet<Class<?>> immunities = new HashSet<Class<?>>();
public HashSet<Class<?>> immunities = new HashSet<Class<?>>();
public boolean attachTo( Char target ) {

View File

@ -30,7 +30,7 @@ public class EarthImbue extends FlavourBuff {
return "Imbued with Earth";
}
static {
{
immunities.add( Paralysis.class );
immunities.add( Roots.class );
immunities.add( Slow.class );

View File

@ -71,7 +71,7 @@ public class FireImbue extends Buff {
return "Imbued with Fire";
}
static {
{
immunities.add( Burning.class );
}
}

View File

@ -39,7 +39,7 @@ public class GasesImmunity extends FlavourBuff {
return "Immune to gases";
}
static {
{
immunities.add( ParalyticGas.class );
immunities.add( ToxicGas.class );
immunities.add( ConfusionGas.class );

View File

@ -59,7 +59,7 @@ public class ToxicImbue extends Buff {
return "Imbued with Toxicity";
}
static {
{
immunities.add( ToxicGas.class );
immunities.add( Poison.class );
}