@ -101,18 +101,6 @@ public enum LootManager {
chatMsg . setChannel ( Enum . ChatChannelType . SYSTEM . getChannelID ( ) ) ;
chatMsg . setChannel ( Enum . ChatChannelType . SYSTEM . getChannelID ( ) ) ;
DispatchMessage . dispatchMsgToAll ( chatMsg ) ;
DispatchMessage . dispatchMsgToAll ( chatMsg ) ;
}
}
if ( ib . isDiscRune ( ) & & mob . level < 80 ) {
if ( Mob . disciplineDroppers . contains ( mob ) = = false ) {
Mob . disciplineDroppers . add ( mob ) ;
}
mob . level = 60 ;
mob . healthMax = 7500 ;
mob . setHealth ( 7500 ) ;
ChatSystemMsg chatMsg = new ChatSystemMsg ( null , mob . getName ( ) + " in " + mob . getParentZone ( ) . getName ( ) + " may have found the " + ib . getName ( ) + ". Are you tough enough to take it?" ) ;
chatMsg . setMessageType ( 10 ) ;
chatMsg . setChannel ( Enum . ChatChannelType . SYSTEM . getChannelID ( ) ) ;
DispatchMessage . dispatchMsgToAll ( chatMsg ) ;
}
}
}
}
}
@ -458,14 +446,22 @@ public enum LootManager {
if ( bse . itemBase = = 3049 ) //disable clanwarden
if ( bse . itemBase = = 3049 ) //disable clanwarden
return ;
return ;
int chance = 25 ;
int chance ;
if ( ItemBase . getItemBase ( bse . itemBase ) . isDiscRune ( ) = = false ) {
if ( ! ItemBase . getItemBase ( bse . itemBase ) . isDiscRune ( ) ) {
chance = ( int ) bse . dropChance ;
chance = ( int ) bse . dropChance ;
} else {
} else {
chance = 25 ;
chance = 25 ;
if ( Mob . disciplineDroppers . contains ( mob ) = = false )
if ( ! Mob . disciplineDroppers . contains ( mob ) )
Mob . disciplineDroppers . add ( mob ) ;
Mob . disciplineDroppers . add ( mob ) ;
mob . level = 60 ;
mob . healthMax = 7500 ;
mob . setHealth ( 7500 ) ;
ChatSystemMsg chatMsg = new ChatSystemMsg ( null , mob . getName ( ) + " in " + mob . getParentZone ( ) . getName ( ) + " may have found the " + ItemBase . getItemBase ( bse . itemBase ) . getName ( ) + ". Are you tough enough to take it?" ) ;
chatMsg . setMessageType ( 10 ) ;
chatMsg . setChannel ( Enum . ChatChannelType . SYSTEM . getChannelID ( ) ) ;
DispatchMessage . dispatchMsgToAll ( chatMsg ) ;
}
}
//if((bse.itemBase == 3040 || bse.itemBase == 3021) && mob.level < 80){
//if((bse.itemBase == 3040 || bse.itemBase == 3021) && mob.level < 80){