Skip to content
Snippets Groups Projects
Commit 6fdccf27 authored by Zoey76's avatar Zoey76
Browse files

BETA: Fix for extra cubic.

Reported by: facheme
Patch by: Sdw
Tested by: facheme
Reviewed by: Zoey76
parent 8c7764eb
No related branches found
No related tags found
No related merge requests found
......@@ -114,7 +114,7 @@ public final class SummonCubic extends AbstractEffect
final BuffInfo cubicMastery = player.getEffectList().getBuffInfoBySkillId(L2Skill.SKILL_CUBIC_MASTERY);
for (AbstractEffect effect : cubicMastery.getEffects())
{
allowedCubicCount += effect != null ? effect.getValue() : 0;
allowedCubicCount = effect != null ? (int) effect.getValue() : 1;
}
}
......
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