Page 1 of 1

[help Divine Inspiration

Posted: Sun Mar 11, 2012 7:12 pm
by TouchAnddie
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number: 4495M
L2JDP Revision Number: 7777M

how can i edit the max buffs on divine inspiration ? i found SKILL_DIVINE_INSPIRATION in these:
l2character.java is

Code: Select all

public int getMaxBuffCount()    {        return Config.BUFFS_MAX_A-beep-T + Math.max(0, getSkillLevel(L2Skill.SKILL_DIVINE_INSPIRATION));    }
in skillspellbooktable is

Code: Select all

public int getBookForSkill(int skillId, int level)    {        if (skillId == L2Skill.SKILL_DIVINE_INSPIRATION && level != -1)        {            switch (level)            {                case 1:                    return 8618; // Ancient Book - Divine Inspiration (Modern Language Version)                case 2:                    return 8619; // Ancient Book - Divine Inspiration (Original Language Version)                case 3:                    return 8620; // Ancient Book - Divine Inspiration (Manuscript)                case 4:                    return 8621; // Ancient Book - Divine Inspiration (Original Version)                default:                    return -1;            }        }
in l2pcinstance is

Code: Select all

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

Code: Select all

if (Config.DIVINE_SP_BOOK_NEEDED && skill.getId() == L2Skill.SKILL_DIVINE_INSPIRATION)
and in requestacquireskillinfo is

Code: Select all

if (Config.DIVINE_SP_BOOK_NEEDED && skill.getId() == L2Skill.SKILL_DIVINE_INSPIRATION)
where i must edit ? i can't figured out