A Project for Chronicle 4 based on L2JServer.


    allow hero weapon enchant

    Share

    FLeandro93

    Posts : 48
    Join date : 2014-06-20

    allow hero weapon enchant

    Post  FLeandro93 on 28th June 2014, 11:33

    allow hero weapon enchant
    avatar
    DnR
    Admin
    Admin

    Posts : 1023
    Join date : 2012-12-03

    Re: allow hero weapon enchant

    Post  DnR on 28th June 2014, 17:28

    FLeandro93 wrote:allow hero weapon enchant

    This is not hard to be done.
    I might include a configurable option at next revision.
    Thanks for suggesting.


    FLeandro93

    Posts : 48
    Join date : 2014-06-20

    Re: allow hero weapon enchant

    Post  FLeandro93 on 28th June 2014, 21:27

    would have the java code for editing on my own ?

    manutuning2

    Posts : 33
    Join date : 2013-10-30

    Re: allow hero weapon enchant

    Post  manutuning2 on 29th June 2014, 01:48

    There is a way to give enchant condition of using the core

    looking inside

    net.sf.l2j.gameserver.clientpackets


    RequestEnchantItem.java


    Code:
    / / Can not enchant weapons rods and hero
    if ((item.getItem () GetItemType () == L2WeaponType.ROD) |. | ((item.getItemId ()> = 6611) && (item.getItemId () <= 6621)) | | ((item.getItemId ()> = 7816) && (item.getItemId () <= 7831))


    you must remove the ID that keep your equipment HERO

    Bye

    FLeandro93

    Posts : 48
    Join date : 2014-06-20

    Re: allow hero weapon enchant

    Post  FLeandro93 on 30th June 2014, 01:14

    thx !! work

    Sponsored content

    Re: allow hero weapon enchant

    Post  Sponsored content


      Current date/time is 22nd September 2017, 14:44