@ -1323,6 +1324,25 @@ public class Mob extends AbstractIntelligenceAgent {
@@ -1323,6 +1324,25 @@ public class Mob extends AbstractIntelligenceAgent {
}catch(Exceptione){
Logger.error(e);
}
//send announcement if disc or godly rune
for(Itemit:this.getInventory()){
ItemBaseib=it.getItemBase();
if(ib.isRune()){
//if disc rune send system message
ChatSystemMsgchatMsg=newChatSystemMsg(null,this.getName()+" in "+this.getParentZone().getName()+" has found the "+ib.getName()+". Are you tough enough to take it?");
if(ib.isStatRune()&&ib.getName().toLowerCase().contains("of the gods")){
//godly rune send system message
ChatSystemMsgchatMsg=newChatSystemMsg(null,this.getName()+" in "+this.getParentZone().getName()+" has found the "+ib.getName()+". Are you tough enough to take it?");