diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/handlers/effecthandlers/SummonCubic.java b/L2J_DataPack_BETA/dist/game/data/scripts/handlers/effecthandlers/SummonCubic.java index 6543c4a48e895fbb89d97123067b76ed37a2f46f..4c5e84d9b0d39fcbcdc7fee87d3c90674be0c208 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/handlers/effecthandlers/SummonCubic.java +++ b/L2J_DataPack_BETA/dist/game/data/scripts/handlers/effecthandlers/SummonCubic.java @@ -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; } }