Não tem como ela healar 600 se o script ta healando de 230-290 de mana.
- Se você acha isso mesmo, de uma olhada mais em seus scripts para ver se existe outro script de great mana potion que está healando 600 de mana.
- Se você não percebeu você pode está contando com a recuperação de pontos de mana nos vocations.xml.
DE UMA FUNFADA



info
Grupo: Campones
Registrado: 11/01/11
Posts: 12
Reputação: 0
Char no Tibia: Don't Have
Gente Minha Great mana Potion Ta Configurada pra heala 230 e ta healando 600 me ajudem
local MIN = 230
local MAX = 290
local EMPTY_POTION = 7635
local exhaust = createConditionObject(CONDITION_EXHAUST)
setConditionParam(exhaust, CONDITION_PARAM_TICKS, (getConfigInfo('timeBetweenExActions') - 100))
function onUse(cid, item, fromPosition, itemEx, toPosition)
if isPlayer(itemEx.uid) == FALSE then
return FALSE
end
if hasCondition(cid, CONDITION_EXHAUST_HEAL) == TRUE then
doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED)
return TRUE
end
if((not(isSorcerer(itemEx.uid) or isDruid(itemEx.uid)) or getPlayerLevel(itemEx.uid) < 80) and getPlayerCustomFlagValue(itemEx.uid, PlayerCustomFlag_GamemasterPrivileges) == FALSE) then
doCreatureSay(itemEx.uid, "Only sorcerers and druids of level 80 or above may drink this fluid.", TALKTYPE_ORANGE_1)
return TRUE
end
if doPlayerAddMana(itemEx.uid, math.random(MIN, MAX)) == LUA_ERROR then
return FALSE
end
doAddCondition(cid, exhaust)
doSendMagicEffect(getThingPos(itemEx.uid), CONST_ME_MAGIC_BLUE)
doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1)
doRemoveItem(item.uid, 0)
doPlayerAddItem(cid, EMPTY_POTION, 0)
return TRUE
end
Tnc Porquê ninguem responde meus topico ?
karaaio !;/