question: @ Override public boolean fire ( final Player player , final Sentence sentence , final Entity npc ) { final String temp = player . getQuest ( questSlot , questIndex ) ; if ( temp == null ) { return false ; } final List < String > tokens = Arrays . asList ( temp . split ( "," ) ) ; if ( ( tokens . size ( ) % 5 ) != 0 ) { logger . error ( "Wrong record in player's " + player . getName ( ) + " quest slot (" + questSlot + "), position " + questIndex + " : [" + player . getQuest ( questSlot ) + "]" ) ; return false ; } int sum = 0 ; for ( int i = 0 ; i < tokens . size ( ) / 5 ; i ++ ) { final String creatureName = tokens . get ( i * 5 ) ; int killedSolo ; int killedShared ; try { killedSolo = Integer . parseInt ( tokens . get ( i * 5 + 3 ) ) ; killedShared = Integer . parseInt ( tokens . get ( i * 5 + 4 ) ) ; } catch ( NumberFormatException npe ) { logger . error ( "NumberFormatException while parsing numbers in quest slot " + questSlot + " of player " + player . getName ( ) + " , creature " + i * 5 ) ; return false ; } final int diffSolo = player . getSoloKill ( creatureName ) - killedSolo ; final int diffShared = player . getSharedKill ( creatureName ) - killedShared ; sum = sum + diffSolo + diffShared ; } if ( sum < killsSum ) { return false ; } return true ; }
target:  return true if player have killed proper sum of creatures.