added full inventory check, fixed cast delay