No, you need to make a spell or smth what can "blind" a player. Then in creaturescripts check if someone have blind, if yes, you need to change his dmg to 0 (return false)
example spell:
function onTargetTile(cid, pos)
local timer = 5 -- how long miss will exist, in seconds
local player...