Jump to content
  • 0

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


Question

5 answers to this question

Recommended Posts

  • 0
Posted

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?

  • 0
Posted

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);

  • 0
Posted

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.

Guest
This topic is now closed to further replies.


×
×
  • Create New...