added isPreventable method
parent
662aed1b43
commit
84dae26068
|
@ -72,6 +72,10 @@ public class MagicDamage {
|
|||
public void setUnpreventable() {
|
||||
unpreventable=true;
|
||||
}
|
||||
|
||||
public boolean isPreventable() {
|
||||
return !unpreventable;
|
||||
}
|
||||
|
||||
public boolean isUnpreventable() {
|
||||
return unpreventable;
|
||||
|
|
Loading…
Reference in New Issue