All that nMinManaLeft will do is stop you from using the last skill you could have. Say you will use q,w,e,e in that order, basically, you will use q, w and e, but then r's manacost IS minManaLeft, and so r won't be casted until another spell is up, which will take presedence again so r won't be casted again. Remove this.