blocked power type structuring

This commit is contained in:
2024-06-27 20:19:11 -05:00
parent 8943121336
commit 6c622c377f
3 changed files with 22 additions and 26 deletions
+8 -2
View File
@@ -831,16 +831,22 @@ public class mbEnums {
SPIRES,
SNARE,
STUN,
BLIND,
BLINDNESS,
ROOT,
FEAR,
CHARM,
POWERBLOCK,
POWERINHIBITOR,
DEBUFF,
STEAL,
DRAIN;
public static DamageType getDamageType(String modName) {
if(modName.toLowerCase().equals("blind"))
modName = "BLINDNESS";
if(modName.toLowerCase().equals("powerblock"))
modName = "POWERINHIBITOR";
DamageType damageType;
if (modName.isEmpty())
return DamageType.NONE;