v0.2.3: buff immunity collection fixes
This commit is contained in:
parent
1e3bc31c6b
commit
cfb74c0a2d
|
@ -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 ) {
|
||||
|
||||
|
|
|
@ -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 );
|
||||
|
|
|
@ -71,7 +71,7 @@ public class FireImbue extends Buff {
|
|||
return "Imbued with Fire";
|
||||
}
|
||||
|
||||
static {
|
||||
{
|
||||
immunities.add( Burning.class );
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 );
|
||||
|
|
|
@ -59,7 +59,7 @@ public class ToxicImbue extends Buff {
|
|||
return "Imbued with Toxicity";
|
||||
}
|
||||
|
||||
static {
|
||||
{
|
||||
immunities.add( ToxicGas.class );
|
||||
immunities.add( Poison.class );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user