@ -26,6 +26,7 @@ import engine.net.Dispatch;
@@ -26,6 +26,7 @@ import engine.net.Dispatch;
import engine.net.DispatchMessage ;
import engine.net.client.msg.PetMsg ;
import engine.net.client.msg.PlaceAssetMsg ;
import engine.net.client.msg.chat.ChatSystemMsg ;
import engine.powers.MobPowerEntry ;
import engine.server.MBServerStatics ;
import org.joda.time.DateTime ;
@ -1184,6 +1185,17 @@ public class Mob extends AbstractIntelligenceAgent {
@@ -1184,6 +1185,17 @@ public class Mob extends AbstractIntelligenceAgent {
return ;
LootManager . GenerateMobLoot ( this ) ;
if ( this . dropper ) {
for ( Item item : this . charItemManager . getInventory ( ) ) {
ItemBase ib = item . getItemBase ( ) ;
if ( ib . isDiscRune ( ) ) {
ChatSystemMsg chatMsg = new ChatSystemMsg ( null , this . getName ( ) + " in " + this . getParentZone ( ) . getName ( ) + " has found the " + ib . getName ( ) + ". Are you tough enough to take it?" ) ;
chatMsg . setMessageType ( 10 ) ;
chatMsg . setChannel ( Enum . ChatChannelType . SYSTEM . getChannelID ( ) ) ;
DispatchMessage . dispatchMsgToAll ( chatMsg ) ;
}
}
}
}
@Override