Jump to content
  • 0

[QUESTION]How Increase Reputation Points when kill enemy clan member?


GsL

Question

5 answers to this question

Recommended Posts

  • 0

if (!(isInsideZone(ZONE_PVP) && !isInsideZone(ZONE_SIEGE)))
				{
					if ((pk != null) && pk.getClan() != null && getClan() != null && !isAcademyMember() && !pk.isAcademyMember() && _clan.isAtWarWith(pk.getClanId()) && pk.getClan().isAtWarWith(_clan.getClanId()))
					{
						if (getClan().getReputationScore() > 0)
						{
							pk.getClan().setReputationScore(((L2PcInstance) killer).getClan().getReputationScore() + 2, true);
						}
						if (pk.getClan().getReputationScore() > 0)
						{
							_clan.setReputationScore(_clan.getReputationScore() - 2, true);
						}
					}

 

i find this? i change this?? or is other code?

Link to comment
Share on other sites

  • 0

if (!(isInsideZone(ZONE_PVP) && !isInsideZone(ZONE_SIEGE)))
				{
					if ((pk != null) && pk.getClan() != null && getClan() != null && !isAcademyMember() && !pk.isAcademyMember() && _clan.isAtWarWith(pk.getClanId()) && pk.getClan().isAtWarWith(_clan.getClanId()))
					{
						if (getClan().getReputationScore() > 0)
						{
							pk.getClan().setReputationScore(((L2PcInstance) killer).getClan().getReputationScore() + 2, true);
						}
						if (pk.getClan().getReputationScore() > 0)
						{
							_clan.setReputationScore(_clan.getReputationScore() - 2, true);
						}
					}

 

i find this? i change this?? or is other code?

 

Exactly.

 

pk.getClan().setReputationScore(((L2PcInstance) killer).getClan().getReputationScore() + 2, true);

Link to comment
Share on other sites

  • 0

Exactly.

 

pk.getClan().setReputationScore(((L2PcInstance) killer).getClan().getReputationScore() + 2, true);

 

ok man i change it !! thanks a lot!!

 

Exist a guide and it say how u change it some1 add this to answered questions maybe other ppl need it.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...