diff --git a/dist/game/data/scripts/handlers/effecthandlers/DispelBySlotProbability.java b/dist/game/data/scripts/handlers/effecthandlers/DispelBySlotProbability.java index 882b36ac15daa05cc02bf910daa52b87c705f237..5b45090a4e395cc6c4fc7a6cce4bc4c78099f7b7 100644 --- a/dist/game/data/scripts/handlers/effecthandlers/DispelBySlotProbability.java +++ b/dist/game/data/scripts/handlers/effecthandlers/DispelBySlotProbability.java @@ -55,7 +55,7 @@ public final class DispelBySlotProbability extends AbstractEffect for (String ngtStack : _dispel.split(";")) { String[] ngt = ngtStack.split(","); - _dispelAbnormals.put(AbnormalType.getAbnormalType(ngt[0]), Short.MAX_VALUE); + _dispelAbnormals.put(AbnormalType.getAbnormalType(ngt[0]), (ngt.length > 1) ? Short.parseShort(ngt[1]) : Short.MAX_VALUE); } } else