diff --git a/src/engine/objects/PlayerCharacter.java b/src/engine/objects/PlayerCharacter.java index 8be570b4..e8f19335 100644 --- a/src/engine/objects/PlayerCharacter.java +++ b/src/engine/objects/PlayerCharacter.java @@ -1889,6 +1889,19 @@ public class PlayerCharacter extends AbstractCharacter { // Mark kill time in killmap att.updateKillMap(this.getObjectUUID()); + + if(attacker.getObjectType().equals(GameObjectType.Mob) && ((Mob)attacker).isPet() && ((Mob)attacker).guardCaptain != null){ + message = this.getFirstName(); + if (this.guild != null && (!(this.guild.getName().equals("Errant")))) + message += " of " + this.guild.getName(); + message += " was killed by " + ((Mob)attacker).guardCaptain.getFirstName(); + if (((Mob)attacker).guardCaptain.guild != null && (!(((Mob)attacker).guardCaptain.guild.getName().equals("Errant")))) + message += " of " + ((Mob)attacker).guardCaptain.guild.getName(); + message += "!"; + ChatManager.chatPVP(message); + ChatManager.chatNationInfo(((Mob)attacker).guardCaptain.getGuild().getNation(),message); + ChatManager.chatNationInfo(this.getGuild().getNation(),message); + } } @Override