Ir para conteúdo
  • Cadastre-se
  • 0

Divine Ispiration


TeacherOfJava

Pergunta

Citar

Bom dia pessoal!

preciso de ajuda. Já adicionei varios mods da frozen para acis... Só que to tendo problema com Alt learn divine ispiration.. ATIVAR OU DESATIVAR POR CONFIG.

public static boolean AUTO_LEARN_DIVINE_INSPIRATION;

AUTO_LEARN_DIVINE_INSPIRATION = Boolean.parseBoolean(altSettings.getProperty("AutoLearnDivineInspiration", "false"));  Até aqui tudo ok....

Parte que ta dando erro é abaixo...

if ((sk == null) || ((sk.getId() == L2Skill.SKILL_DIVINE_INSPIRATION) && !Config.AUTO_LEARN_DIVINE_INSPIRATION && !player.isGM()))

        ^                   ^                                                                                                                                                                 ^

Erro mostra onde ta ^  Mas não sei se é só isso porque na frozen ta tudo isso olha.

{
                final L2Skill sk = SkillTable.getInstance().getInfo(s.getId(), s.getLevel());
                if ((sk == null) || ((sk.getId() == L2Skill.SKILL_DIVINE_INSPIRATION) && !Config.AUTO_LEARN_DIVINE_INSPIRATION && !player.isGM()))
                {
                    unLearnable++;
                    continue;
                }
                
                holder.addSkill(sk);
            }

Já na acis ta assim

for (L2SkillLearn sl : _skillTrees.get(classId).values())
        {
            skillId = sl.getId();
            // Exception for Lucky skill, it can't be learned back once lost.
            if (skillId == L2Skill.SKILL_LUCKY)
                if ((sk == null) || ((sk.getId() == L2Skill.SKILL_DIVINE_INSPIRATION) && !Config.AUTO_LEARN_DIVINE_INSPIRATION && !player.isGM()))
                continue;

 

Editado por powergames
Link para o comentário
Compartilhar em outros sites

0 respostass a esta questão

Posts recomendados

Até agora não há respostas para essa pergunta

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Visitante
Responder esta pergunta...

×   Você colou conteúdo com formatação.   Remover formatação

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Processando...




×
×
  • Criar Novo...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.