Fixed customization delta, changed bounty list to bounty map, added SurveyMissionObjective

This commit is contained in:
Waverunner
2014-05-06 19:08:00 -04:00
parent 98134130c0
commit f8c26e9658
9 changed files with 118 additions and 46 deletions
+2 -2
View File
@@ -1330,8 +1330,8 @@ public class PlayerService implements INetworkDispatch {
victim.setCashCredits(0);
} else { victim.setBankCredits(victim.getBankCredits() - bounty); }
if (!core.missionService.addToExistingBounty(attacker.getObjectId(), victim.getObjectId(), bounty))
core.missionService.createNewBounty(attacker, victim.getObjectId(), bounty);
if (!core.missionService.addToExistingBounty(attacker.getObjectID(), victim.getObjectID(), bounty))
core.missionService.createNewBounty(attacker, victim.getObjectID(), bounty);
victim.sendSystemMessage("You have placed a bounty for " + bounty + " credits on the head of " + attacker.getCustomName(), (byte) 0);
}