A Project for Chronicle 4 based on L2JServer.


    Queent Ant minions fix

    Share
    avatar
    Karakan

    Posts : 463
    Join date : 2013-10-04

    Queent Ant minions fix

    Post  Karakan on 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);
    + }

      Current date/time is 23rd June 2018, 05:53