Skip to content
Snippets Groups Projects
Commit 1eeddad8 authored by Zealar's avatar Zealar
Browse files

Fix support for DispelBySlotProbability to use levels

Fix #272
parent d16316c9
No related branches found
No related tags found
No related merge requests found
...@@ -55,7 +55,7 @@ public final class DispelBySlotProbability extends AbstractEffect ...@@ -55,7 +55,7 @@ public final class DispelBySlotProbability extends AbstractEffect
for (String ngtStack : _dispel.split(";")) for (String ngtStack : _dispel.split(";"))
{ {
String[] ngt = ngtStack.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 else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment