Misdirection Question

I am looking to making a misdirection spell/skill. One that, once it is activated, it makes any enemies currently attacking you go somewhere else for a short time. Does anyone know how this can be done with states? Would setting yourself to STATE_NONDETECTION for like 5 seconds effectively do this?
0
Comments