Rio Posted June 2, 2010 Posted June 2, 2010 guys a have a problem...everytime a player kills other Unflaged player he takes pk :/ how can i fix this? Quote
0 Zappu Posted June 2, 2010 Posted June 2, 2010 guys a have a problem...everytime a player kills other Unflaged player he takes pk :/ how can i fix this? Depends, What pack you use? we examine and i can help you. Quote
0 xAddytzu Posted June 2, 2010 Posted June 2, 2010 increasePkKillsAndKarma method from L2PcInstance if (isinTvT()) return; Quote
0 Rio Posted June 2, 2010 Author Posted June 2, 2010 if (isinTvT()) return; do i have to import this code to L2pcinstance? sorry im newbie on java :/ Quote
0 xAddytzu Posted June 2, 2010 Posted June 2, 2010 if (isinTvT()) return; do i have to import this code to L2pcinstance? sorry im newbie on java :/ Just find increasePkKillsAndKarma method in L2PcInstance... forwards you will find way Quote
0 Rio Posted June 2, 2010 Author Posted June 2, 2010 found this // 'No war' or 'One way war' -> 'Normal PK' if (targetPlayer.getKarma() > 0) // Target player has karma { if (Config.KARMA_AWARD_PK_KILL) increasePvpKills(target); } else if (targetPlayer.getPvpFlag() == 0) // Target player doesn't have karma { increasePkKillsAndKarma(target); //Unequip adventurer items checkItemRestriction(); no idea what now :S Quote
0 HammerV2 Posted November 9, 2010 Posted November 9, 2010 // 'No war' or 'One way war' -> 'Normal PK' if (targetPlayer.getKarma() > 0) // Target player has karma else if (targetPlayer.isintvt()) //may be will work, am not sure, just trying to help return; { if (Config.KARMA_AWARD_PK_KILL) increasePvpKills(target); } else if (targetPlayer.getPvpFlag() == 0) // Target player doesn't have karma { increasePkKillsAndKarma(target); //Unequip adventurer items checkItemRestriction(); Quote
0 Bleadd Posted November 9, 2010 Posted November 9, 2010 Or if you don't want to make modifications in java, move the TVT in a zone that nobody can go without Teleport with TVT Event ^^' (like the round rooms under the underground coliseum :D ) Quote
Question
Rio
guys a have a problem...everytime a player kills other Unflaged player he takes pk :/ how can i fix this?
8 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.