|
|
@ -136,7 +136,7 @@ public class Resists { |
|
|
|
//Test if Damagetype is valid for foritude
|
|
|
|
//Test if Damagetype is valid for foritude
|
|
|
|
private static boolean isValidDamageCapType(HashSet<SourceType> forts, SourceType damageType, boolean exclusive) { |
|
|
|
private static boolean isValidDamageCapType(HashSet<SourceType> forts, SourceType damageType, boolean exclusive) { |
|
|
|
for (SourceType fort : forts) { |
|
|
|
for (SourceType fort : forts) { |
|
|
|
SourceType dt = SourceType.valueOf(fort.name()); |
|
|
|
SourceType dt = SourceType.valueOf(fort.name().toUpperCase()); |
|
|
|
|
|
|
|
|
|
|
|
if (dt == SourceType.NONE) |
|
|
|
if (dt == SourceType.NONE) |
|
|
|
continue; |
|
|
|
continue; |
|
|
|