exhaustion="3000", exhaust all spells, if he want only spell exahust need to replace
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
for
function onCastSpell(cid, var)
if exhaustion.check(cid, 23000) == false then
exhaustion.set(cid, 23000, 3)...