Bug - Fixed Slime Tube Slimes not disambiguated

PeKaJe

Member
I'm getting no in-fight monster data for the slime tube slimes, and my CCS that handles the different levels in different ways uses the default section (which fortunately just aborts). Looks like they're being disambiguated in AdventureRequest.java with this line:

Code:
image.startsWith( "slime" ) ? image.substring( 0, 5 ) :

But since mafia's internal names are slime1 to slime5, the substring is one character too short.
 

heeheehee

Developer
Staff member
Slime Monster image names look like "slime2_1.gif". It looks like r15486 changed this from "Slime" + image.charAt( 5 ) to image.substring( 0, 5 ).
 
Top