[Patch] [Done] Don't allow attack clan member

    Share
    avatar
    Pret

    Posts : 63
    Join date : 2013-11-04
    Age : 31

    [Patch] [Done] Don't allow attack clan member

    Post  Pret on 16th June 2014, 16:22

    Code:

    Index: java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java
    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
    ===================================================================
    --- java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 484)
    +++ java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision )
    @@ -8048,6 +8048,9 @@
     
                             return true; // in clan war player can attack whites even with sleep etc.
     
    +                    if (getClan().getClanId() == targetPlayer.getClan().getClanId()){
    +                        return false;
    +                    }
                     }
     
     
    \ No newline at end of file


    Last edited by Pret on 2nd July 2014, 13:50; edited 1 time in total

    DnR
    Admin
    Admin

    Posts : 985
    Join date : 2012-12-03

    Re: [Patch] [Done] Don't allow attack clan member

    Post  DnR on 18th June 2014, 20:22

    This was left on purpose, because it was considered as an advantage.
    C4 has no duel system like other chronicles, so clan members would be restricted from using curses.
    Anyway, let's change this.
    Thanks a lot.
    avatar
    Pret

    Posts : 63
    Join date : 2013-11-04
    Age : 31

    Re: [Patch] [Done] Don't allow attack clan member

    Post  Pret on 18th June 2014, 20:50

    When use mass skill we have fail.

    Sponsored content

    Re: [Patch] [Done] Don't allow attack clan member

    Post  Sponsored content


      Current date/time is 16th August 2017, 18:23