NOCLOAKING
if (cloaking && ent->energy >= 250 && !damflag[NOCLOAKING]) {
damflag[NOCLOAKING] = rand_mod(smarts+1)+2;