l2topzone.com
l2topzone.com

Author Topic: [Guide]Item reward for pvp/pk kill :P  (Read 5311 times)

0 Members and 1 Guest are viewing this topic.

OfflineSaNyO

  • Newbie
  • *
  • Posts: 16
  • L2topzone Votes: 0
  • Servers reviews: 0
  • Country: Greece.
  • Reputation: +138/-0
    [Guide]Item reward for pvp/pk kill :P
    « on: April 19, 2010, 11:32:13 AM »
    l2topzone.com
    Ok first of to make it clear...If you dont know what eclipse means, how to complie then leave this topic and go here...http://l2topzone.com/forum/index.php/topic,418.0.html

    I will use L2j interlude pack for this but you can use any, of any revision with no changes...

    Okay go to gameserver.model.actor.instance.L2PcInstance.java

    Here comes to reward for PVP kill

    Go to line 4538...You should see something like this

    Code:
            // Add karma to attacker and increase its PK counter
            setPvpKills(getPvpKills() + 1);

    Okay now add this after it...

    Code:
            // Give x y for a pvp kill
          addItem("Loot", x, y, this, true);
          sendMessage("You won y x for a pvp kill!");

    NOTE! x IS THE ITEM ID AND y IS THE AMMOUNT!


    ============================================================

    Okay now reward for PK kill


    Go to line 4605...You should see this

    Code:
            // Add karma to attacker and increase its PK counter
            setPkKills(getPkKills() + 1);
            setKarma(getKarma() + newKarma);


    Add the same code as above and players are gonna get reward for PK kill!

    Note! PvP kill means when a player kills a flagged player and gets a pvp point and PK kill means when a player kills a while player and gets a PK point and karma! There is a huge difference

    Funny for high rate servers... ;D

    Linkback: https://l2topzone.com/forum/l2-guides/6/guideitem-reward-pvppk-kill/938/

    OfflineDragoN.

    • L2 Glorious
    • Sr. Member
    • ****
    • Posts: 428
    • L2topzone Votes: 0
    • Servers reviews: 0
    • Country: Greece.
    • Reputation: +1385/-0
    • Gender: Male
      Re: [Guide]Item reward for pvp/pk kill :P
      « Reply #1 on: April 19, 2010, 11:55:05 AM »
      And This Good Guide man ;)

      OfflineBoOmBoOm

      • Full Member
      • ***
      • Posts: 145
      • L2topzone Votes: 0
      • Servers reviews: 0
      • Country: Greece.
      • Reputation: +446/-1
      • ★MaxCheaters★
        Re: [Guide]Item reward for pvp/pk kill :P
        « Reply #2 on: February 20, 2011, 10:47:54 AM »
        This Guide Is Very GOod

        Offlineevilhoe

        • Newbie
        • *
        • Posts: 1
        • L2topzone Votes: 0
        • Servers reviews: 0
        • Country: United States.
        • Reputation: +54/-0
          Re: [Guide]Item reward for pvp/pk kill :P
          « Reply #3 on: February 20, 2011, 10:50:32 PM »
          will check this out on my high rate
          www.L2Junkie.com Core

          OfflineDownUnder

          • Hero Member
          • *****
          • Posts: 1487
          • L2topzone Votes: 5
          • Servers reviews: 0
          • Country: Greece.
          • Reputation: +3236/-0
          • Gender: Male
          • http://www.l2cyber.eu
            • Just Press Here ;-)
          Re: [Guide]Item reward for pvp/pk kill :P
          « Reply #4 on: February 20, 2011, 11:50:19 PM »
          Very Goog Guide Mate!!!
          Easy and Trust!!! thank you !!



          Lineage II Cyber Reborn
          We are coming! The Reborn is near!

          OfflineLordofDarkLight

          • Jr. Member
          • **
          • Posts: 58
          • L2topzone Votes: 0
          • Servers reviews: 2
          • Country: Egypt.
          • Reputation: +1/-0
          • Gender: Male
          • Mess with the best die like the rest !
            Re: [Guide]Item reward for pvp/pk kill :P
            « Reply #5 on: July 11, 2011, 06:14:06 AM »
            very Good Guide Good Job , Thanks

            Offlineemo4ee

            • Newbie
            • *
            • Posts: 34
            • L2topzone Votes: 0
            • Servers reviews: 0
            • Country: Bulgaria.
            • Reputation: +125/-0
              Re: [Guide]Item reward for pvp/pk kill :P
              « Reply #6 on: July 11, 2011, 03:00:09 PM »
              Good job.. : )


              Share via diggShare via facebookShare via linkedinShare via myspaceShare via redditShare via twitter
               


              Sitemap