question: public int addMana ( int mana , boolean tell ) { int old_mana = getMana ( ) ; int new_mana = old_mana + mana ; int given = 0 ; new_mana = Math . max ( new_mana , 0 ) ; new_mana = Math . min ( new_mana , getBaseMana ( ) ) ; given = new_mana - old_mana ; if ( tell ) { } setMana ( new_mana ) ; return given ; }
target:  Give mana to the entity.