L2JLisvus

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

2 posters

    Queent Ant minions fix [FIXED]

    Karakan
    Karakan


    Posts : 756
    Join date : 2013-10-04

    Queent Ant minions fix [FIXED] Empty Queent Ant minions fix [FIXED]

    Post  Karakan 13th February 2018, 21:36

    They shouldn't be champions. Cool


    To do : Gonna check other "raid" minions too. (Core,Zaken,Orfen....)



    Code:
    Index: L2Spawn.java
    ===================================================================
    --- L2Spawn.java (revision 598)
    +++ L2Spawn.java (working copy)

     if (Rnd.get(100) < Config.CHAMPION_FREQUENCY)
    @@ -597,28 +596,32 @@
     ((L2Attackable) mob).setChampion(true);
     }
     }
    + if ((mob.getNpcId() >= 12002) && (mob.getNpcId() <= 12005))
    + {
    + ((L2Attackable) mob).setChampion(false);
    + }


    Last edited by Karakan on 12th July 2019, 15:27; edited 1 time in total
    DnR
    DnR
    Admin
    Admin


    Posts : 1475
    Join date : 2012-12-03
    Age : 34

    Queent Ant minions fix [FIXED] Empty Re: Queent Ant minions fix [FIXED]

    Post  DnR 7th February 2019, 18:34

    This gave me the idea of creating a class for epic boss minions and take care of this issue.
    Thanks for pointing out. Smile

      Current date/time is 19th May 2024, 07:56