function onCombat(cid, target)
local storage = 1337
local monster = "Orc"
if getPlayerStorageValue(cid, storage) == true then
if getCreatureName(cid, monster) and getDistanceBetween(cid, monster) <= 9 then
doMonsterChangeTarget(cid, monster)
end
end
return true
end