הינה התמונה

תראו שאני רמה 32 מנסה לעלות סקילים של רמה 30 ואני לא יכול
למה?
Symphony
אני חושב שזה ב DistributeSPHandler
אבל אני לא מוצא שם איך פותרים את זה
אתה יכול לעזור לי
הקוד בקובץ הוא
קוד PHP:
/* This file is part of the OdinMS Maple Story Server Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc> Matthias Butz <matze@odinms.de> Jan Christian Meyer <vimes@odinms.de>
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation version 3 as published by the Free Software Foundation. You may not use, modify or distribute this program under any other version of the GNU Affero General Public License.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.*/package net.channel.handler;
import client.ISkill;import client.MapleCharacter;import client.MapleClient;import client.MapleStat;import client.SkillFactory;import net.AbstractMaplePacketHandler;import tools.data.input.SeekableLittleEndianAccessor;
public final class DistributeSPHandler extends AbstractMaplePacketHandler { public final void handlePacket(SeekableLittleEndianAccessor slea, MapleClient c) { slea.readInt(); int skillid = slea.readInt(); MapleCharacter player = c.getPlayer(); int remainingSp = player.getRemainingSp(); boolean isBeginnerSkill = false; if (skillid % 10000000 > 999 && skillid % 10000000 < 1003) { int total = 0; for (int i = 0; i < 3; i++) { total += player.getSkillLevel(SkillFactory.getSkill(player.getJobType() * 10000000 + 1000 + i)); } remainingSp = Math.min((player.getLevel() - 1), 6) - total; isBeginnerSkill = true; } ISkill skill = SkillFactory.getSkill(skillid); int curLevel = player.getSkillLevel(skill); if ((remainingSp > 0 && curLevel + 1 <= (skill.isFourthJob() ? player.getMasterLevel(skill) : skill.getMaxLevel()))) { if (!isBeginnerSkill) { player.setRemainingSp(player.getRemainingSp() - 1); } player.updateSingleStat(MapleStat.AVAILABLESP, player.getRemainingSp()); player.changeSkillLevel(skill, curLevel + 1, player.getMasterLevel(skill), player.getSkillExpiration(skill)); } }}