if((not(isPaladin(itemEx.uid)) or getPlayerLevel(itemEx.uid) < 80) and getPlayerCustomFlagValue(itemEx.uid, PlayerCustomFlag_GamemasterPrivileges) == FALSE) then
doCreatureSay(itemEx.uid, "Only paladins of level 80 or above may drink this fluid.", TALKTYPE_ORANGE_1)
return TRUE
end
if doCreatureAddHealth(itemEx.uid, math.random(MIN_HEALTH, MAX_HEALTH)) == LUA_ERROR or doPlayerAddMana(itemEx.uid, math.random(MIN_MANA, MAX_MANA)) == LUA_ERROR then
if((not(isKnight(itemEx.uid)) or getPlayerLevel(itemEx.uid) < 130) and getPlayerCustomFlagValue(itemEx.uid, PlayerCustomFlag_GamemasterPrivileges) == FALSE) then
doCreatureSay(itemEx.uid, "Only knights of level 130 or above may drink this fluid.", TALKTYPE_ORANGE_1)
return TRUE
end
if doCreatureAddHealth(itemEx.uid, math.random(MIN, MAX)) == LUA_ERROR then
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
info
Grupo: Campones
Registrado: 23/03/08
Posts: 11
Reputação: 0
Char no Tibia: Nyedson
Olá, em um otserver que eu tenho tem um pequeno bug ( ou não ) só sei que quero tirar isso =D
Quando os paladins estão usando o Spirit Potion eles não podem atacar ( Heala ou Ataca ) e isso é injusto não axan?
os scripts do spirit é esse:
Poderiam me dizer se preciso tirar algo, editar algo ou colocar algo para que eles possam atacar e usar potions como os Knights e Mages?
Obrigado
EDIT: Sim @Crazydk, as do knight e mage funcionam normal. Vou colocar aqui pra você ver.
Ultimate Healing Potion
Great Mana Potion
Editado Agosto 2 por Nyel