public int reduceFp(int value){
  fpLock.lock();
  try {
    int newFp=this.currentFp - value;
    if (newFp < 0) {
      newFp=0;
    }
    this.currentFp=newFp;
  }
  finally {
    fpLock.unlock();
  }
  onReduceFp();
  return currentFp;
}

public int reduceFp ( int value ) { fpLock . lock ( ) ; try { int newFp = this . currentFp - value ; if ( newFp < 0 ) { newFp = 0 ; } this . currentFp = newFp ; } finally { fpLock . unlock ( ) ; } onReduceFp ( ) ; return currentFp ; }
this method is called whenever caller wants to reduce creatures ' s mp
