Can you use the Pirate Insult Book on Dinsey pirates? I noticed that when I fought some today it decorated them with the number of insults I'd learned. Unfortunately, I did not try using my insult book to see if they'd come back with a rejoinder. I'll try tomorrow, but I would guess not, based on the following method from FightRequest.java:
I think I'd rewrite that to have less processing - why fetch the combat data for all the areas, when the || is capable of short-circuiting the processing? - but this seems to indicate that only pirates at the Cove banter with you. Presumably, RequestEditorKit should adjust to use this method (or something based on it), rather than the following:
Code:
public static final boolean isPirate()
{
AreaCombatData barr = AdventureDatabase.getAreaCombatData( "Barrrney's Barrr" );
AreaCombatData belowdecks = AdventureDatabase.getAreaCombatData( "Belowdecks" );
AreaCombatData cove = AdventureDatabase.getAreaCombatData( "The Obligatory Pirate's Cove" );
AreaCombatData fcle = AdventureDatabase.getAreaCombatData( "The F'c'le" );
AreaCombatData poopDeck = AdventureDatabase.getAreaCombatData( "The Poop Deck" );
MonsterData monster = MonsterStatusTracker.getLastMonster();
return ( barr.hasMonster( monster ) ||
belowdecks.hasMonster( monster ) ||
cove.hasMonster( monster ) ||
fcle.hasMonster( monster ) ||
poopDeck.hasMonster( monster ) );
}
Code:
if ( monsterName.contains( "pirate" ) && !monsterName.equals( "stone temple pirate" ) )
{
int count = BeerPongRequest.countPirateInsults();
monsterData.append( ", Insults: ");
monsterData.append( count );
monsterData.append( " (");
float odds = BeerPongRequest.pirateInsultOdds( count ) * 100.0f;
monsterData.append( KoLConstants.FLOAT_FORMAT.format( odds ) );
monsterData.append( "%)");
}