v0.2.3: refactored buffs which provide immunities, added (unused) resistances as well.
This commit is contained in:
@@ -21,9 +21,15 @@ import com.shatteredpixel.shatteredpixeldungeon.actors.Actor;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.Char;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.ui.BuffIndicator;
|
||||
|
||||
import java.util.HashSet;
|
||||
|
||||
public class Buff extends Actor {
|
||||
|
||||
public Char target;
|
||||
|
||||
public static HashSet<Class<?>> resistances = new HashSet<Class<?>>();
|
||||
|
||||
public static HashSet<Class<?>> immunities = new HashSet<Class<?>>();
|
||||
|
||||
public boolean attachTo( Char target ) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user