local ultimateSpiritRune = --your manauh itemid
if itemId == ultimateSpiritRune then
min = 550
max = 750
if (not isInArray({XX, XX, XX}, target:getVocation():getId()) or target:getLevel() < 250) and not getPlayerFlagValue(player, PlayerFlag_IgnoreSpellCheck) then
player:say("This rune can only be used by XXXX of level 250 or higher.", TALKTYPE_MONSTER_SAY)
return true
end
if not doTargetCombatHealth(0, target, COMBAT_HEALING, min, max, CONST_ME_MAGIC_BLUE) or not doTargetCombatMana(0, target, min, max, CONST_ME_MAGIC_BLUE) then
return false
end
player:addCondition(exhaust)
target:say("Aaaah...", TALKTYPE_MONSTER_SAY)
end