L2JLisvus

Would you like to react to this message? Create an account in a few clicks or log in to continue.

    AIO Buffer, need help!

    HolySaint
    HolySaint


    Posts : 2
    Join date : 2020-06-11
    Age : 33
    Location : Russia

    AIO Buffer, need help! Empty AIO Buffer, need help!

    Post  HolySaint 13th June 2020, 23:02

    Hi guys!

    1. As do that would under using some skill required a certain item (either their initially not issue if item there is no, or require for use).

    2. Prohibit the use of issued skills or select them (now just does not allow you to register).

    L2PcInstance.java
    Code:
    public void setIsAIOBuffer(boolean val)
     {
     if (val && !_isAIOBuffer)
     {
     // Set name color
     if (Config.AIO_BUFFER_SET_NAME_COLOR && !isGM())
     {
     getAppearance().setNameColor(Config.AIO_BUFFER_NAME_COLOR);
     }
     
     // Give AIO Buffer skills to character
     Map<Integer, BuffInfo> buffs = BufferTable.getInstance().getAIOBuffs();
     for (BuffInfo buff : buffs.values())
     {
     L2Skill skill = SkillTable.getInstance().getInfo(buff.getSkillId(), buff.getSkillLevel());
     if (skill != null)
     {
     addSkill(skill, false);
     }
     }
     }
     _isAIOBuffer = val;
     }
    I so understand that it is necessary to follow the analogy with the usual buffer, but I can not figure out. I'm just starting to figure it all out.
    P.S I write through a translator Laughing

      Current date/time is 19th May 2024, 15:32