From RuntomeLibrary.java:
I think returning without doing anything when FightRequest.canStillSteal() is false is a better behavior.
PHP:
public static Value steal()
{
if ( !FightRequest.canStillSteal() )
{
return RuntimeLibrary.attack();
}
return RuntimeLibrary.visit_url( "fight.php?action=steal" );
}