Bug - Fixed Strange Mafia behavior when Teleportitis needed in 3 Gates

Well, it's first time for me when I need Teleportitis for 3rd door. And while Mafia correctly suggested Ring of Teleportation, it failed to handle it properly.

- Initially it shows link "Teleportitis - ring of teleportation (use)". I have this ring. But trying to press link leads to message "Item is not implemented". What?!

- Ok, I worn ring manually. After that message changed: "(Teleportitis - ring of teleportation NONE IN INVENTORY)". Instead expected "ACTIVE".

Nothing too bad, but can you fix it, please?
 

Fluxxdog

Active member
I think the "not implemented" is KoL. Line 2357 of SorceressLairManager.java:
Code:
		else if ( KoLConstants.inventory.contains( item ) )
		{
			UseLink link = new UseLink( item.getItemId(), "use", "inv_use.php?which=3&whichitem=" );
			spoiler = "<br>(" + effect + " - " + item + " " + link.getItemHTML() + " )";
		}
Mafia is asking KoL to "use" the ring, but KoL needs "&action=equip" appended or it won't do it. If no accessory slots are open, it also needs "&slot=#". (Testing shows that "which=#" is actually irrelevant. KoL will simply default to the current inventory screen without it.)
 
Top