L2PcInstance @doDie
// if clans got mutual war, then use the reputation calcul
if (_clan.isAtWarWith(pk.getClanId()) && pk.getClan().isAtWarWith(_clan.getClanId()))
{
// when your reputation score is 0 or below, the other clan cannot acquire any reputation points
if (getClan().getReputationScore() > 0)
pk.getClan().addReputationScore(1);
// when the opposing sides reputation score is 0 or below, your clans reputation score doesn't decrease
if (pk.getClan().getReputationScore() > 0)
_clan.takeReputationScore(1);
}
Just add your line after reputation reward, like
pk.addItem("reward", 57, 100, pk, true);
Do not forget to open the brackets.
if (getClan().getReputationScore() > 0)
{
pk.getClan().addReputationScore(1);
pk.addItem("reward", 57, 100, pk, true);
}