New Content - Implemented October 2015 IotM: haunted doghouse

Magus_Prime

Well-known member
As of r16386 the stat buff effect is still unrecognized:

Code:
--------------------
1994 Adventurer's Best Friendship hotdog_spooky.gif e8e5580eafade2ad9bb6452c96e3d912
Effect Adventurer's Best Friendship Muscle Percent: +50, Mysticality Percent: +50, Moxie Percent: +50
--------------------
 

lostcalpolydude

Developer
Staff member
As of r16386 the stat buff effect is still unrecognized:

Code:
--------------------
1994 Adventurer's Best Friendship hotdog_spooky.gif e8e5580eafade2ad9bb6452c96e3d912
Effect Adventurer's Best Friendship Muscle Percent: +50, Mysticality Percent: +50, Moxie Percent: +50
--------------------

16387
 

Darzil

Developer
r16439 recognises Doghouse in Campground, and tracks whether it is boarded up.

Anything else needed to complete support ?
 

Ezandora

Member
r16526

Mafia will track banishes done by the tennis ball, but not against group monsters.

To reproduce:
1. Throw a tennis ball at pygmy orderlies.
2. ash $monster[pygmy orderlies].is_banished() => false

In src/net/sourceforge/kolmafia/request/FightRequest.java:
Code:
case ItemPool.TENNIS_BALL:
	if ( responseText.contains( "excitedly chases it down" ) )
	{
		BanishManager.banishCurrentMonster( "tennis ball" );
	}
	break;

The message for the tennis ball depends on if it's a group monster:
Code:
You throw the tennis ball as far away as you can, and your foe excitedly chases it down.  You won't be seeing it again for a while!
You throw the tennis ball as far away as you can, and your foes excitedly chase it down.  You won't be seeing they again for a while!

Changing to this should work: (chase versus chases)
Code:
if ( responseText.contains( "excitedly chases it down" ) || responseText.contains( "excitedly chase it down" ) )

Or alternatively:
Code:
if ( responseText.contains( "throw the tennis ball as far away as you can" ) )

Possibly with "|| itemRunawaySuccess" added as well?
 
Top