I have exactly the same problem.
My bot doesn't use MP potions anymore.
I think its since the last game update.
If I use that code in OnSkillCast
if( 35 > player.MP/player.MaxMP*100 ) then
inventory:useItem(201060)
end
The Bot use a MP Potion after each Fight, no matter how many MP it have ...