cadê o exhausted?
:hi:
By MeisterRox, 06 de fev. de 2008 in Actions e Talkactions
info
Group: Campones
Joined: 19/08/07
Posts: 59
Reputation: +1
Tibia Character: Diabeda

cadê o exhausted?
:hi:
info
Group: Artesão
Joined: 21/12/07
Posts: 121
Reputation: +2
Tibia Character: Jhonye Runner

Eh msm... kd o exaust?
como q bota exausted?
info
Group: Herói
Joined: 25/02/07
Posts: 859
Reputation: +331
Gender: Masculino

Sem exhausted e sem splash :S
ps: se vc usa a pocao no chao ou em outra coisa q num seja player num acontece nada?
abraços
//skulls
info
Group: Campones
Joined: 10/02/07
Posts: 10
Reputation: 0
Tibia Character: Knight Zodic

brigadao !!!!!!!!!!!!!!!!!!!!!
tava mesmo precisando disso
flws
info
Group: Campones
Joined: 11/07/11
Posts: 15
Reputation: 0

cade exasuted ? '-' ![]()
kde o exausted fdp
info
Group: Visconde
Joined: 24/07/09
Posts: 356
Reputation: +28
Gender: Masculino

Coloca exausted ae pow..
info
Group: Campones
Joined: 09/08/06
Posts: 12
Reputation: 0
Potions 8.1 By ME
Bom galera sei que muita gente esta precisando dos Potions 8.1 com lvl, vocação e exhausted...
Vai em data\actions\scripts faça uma pasta chamada Potions dentro dela copie qualquer arquivo .lua e vamos começar:
Great Health Potion
Renomeie esse arquivo .lua para Great Health Potion.lua, abra ele e delete tudo que tem dentro e copie isso \/ e depois salve.
--|Script by MeisterRox|-- function onUse(cid, item, frompos, item2, topos) if getPlayerLevel(cid) >= [b][color="#FF0000"]80[/color][/b] and getPlayerVocation(cid) == [b][color="#2E8B57"]4[/color][/b] or getPlayerLevel(cid) >= [b][color="#FF0000"]80[/color][/b] and getPlayerVocation(cid) == [b][color="#2E8B57"]8[/color][/b] then doSendAnimatedText(getPlayerPosition(cid), "Aaaah...", 16) doPlayerAddHealth(cid, math.random(750, 800)) doTransformItem(item.uid, 7635) doSendMagicEffect(topos, 12) else doPlayerSendTextMessage(cid,22,"[b][color="#FF8C00"]This potion can only be consumed by knights of level 80 or higher.[/color][/b]") return 0 end return 1 endGreat Mana Potion
Faça outra copia de qualquer arquivo .lua, renomeie esse arquivo para Great Mana Potion.lua, abra ele e delete tudo que tem dentro e copie isso \/ e depois salve.
--|Script by MeisterRox|-- function onUse(cid, item, frompos, item2, topos) if getPlayerLevel(cid) >= [b][color="#FF0000"]80[/color][/b] and getPlayerVocation(cid) == [b][color="#2E8B57"]1[/color][/b] or getPlayerLevel(cid) >= [b][color="#FF0000"]80[/color][/b] and getPlayerVocation(cid) == [b][color="#2E8B57"]2[/color][/b] or getPlayerLevel(cid) >= [b][color="#FF0000"]80[/color][/b] and getPlayerVocation(cid) == [b][color="#2E8B57"]5[/color][/b] or getPlayerLevel(cid) >= [b][color="#FF0000"]80[/color][/b] and getPlayerVocation(cid) == [b][color="#2E8B57"]6[/color][/b] then doPlayerSay(cid, "Aaaah...", 16) doPlayerAddMana(cid, math.random(150, 210)) doTransformItem(item.uid, 7635) doSendMagicEffect(topos, 12) else doPlayerSendTextMessage(cid,22,"[b][color="#FF8C00"]This potion can only be consumed by sorcerers and druids of level 80 or higher.[/color][/b]") return 0 end return 1 endStrong Health Potion
Faça outra copia de qualquer arquivo .lua, renomeie esse arquivo para Strong Health Potion.lua, abra ele e delete tudo que tem dentro e copie isso \/ e depois salve.
--|Script by MeisterRox|-- function onUse(cid, item, frompos, item2, topos) if getPlayerLevel(cid) >= [b][color="#FF0000"]50[/color][/b] and getPlayerVocation(cid) == [b][color="#2E8B57"]4[/color][/b] or getPlayerLevel(cid) >= [b][color="#FF0000"]50[/color][/b] and getPlayerVocation(cid) == [b][color="#2E8B57"]8[/color][/b] or getPlayerLevel(cid) >= [b][color="#FF0000"]50[/color][/b] and getPlayerVocation(cid) == [b][color="#2E8B57"]3[/color][/b] or getPlayerLevel(cid) >= [b][color="#FF0000"]50[/color][/b] and getPlayerVocation(cid) == [b][color="#2E8B57"]7[/color][/b] then doPlayerSay(cid, "Aaaah...", 16) doPlayerAddHealth(cid, math.random(350, 410)) doTransformItem(item.uid, 7634) doSendMagicEffect(topos, 12) else doPlayerSendTextMessage(cid,22,"[b][color="#FF8C00"]This potion can only be consumed by paladins and knights of level 50 or higher.[/color][/b]") return 0 end return 1 endStrong Mana Potion
Faça outra copia de qualquer arquivo .lua, renomeie esse arquivo para Strong Mana Potion.lua, abra ele e delete tudo que tem dentro e copie isso \/ e depois salve.
--|Script by MeisterRox|-- function onUse(cid, item, frompos, item2, topos) if getPlayerLevel(cid) >= [b][color="#FF0000"]50[/color][/b] and getPlayerVocation(cid) == [b][color="#2E8B57"]1[/color][/b] or getPlayerLevel(cid) >= [b][color="#FF0000"]50[/color][/b] and getPlayerVocation(cid) == [b][color="#2E8B57"]2[/color][/b] or getPlayerLevel(cid) >= [b][color="#FF0000"]50[/color][/b] and getPlayerVocation(cid) == [b][color="#2E8B57"]5[/color][/b] or getPlayerLevel(cid) >= [b][color="#FF0000"]50[/color][/b] and getPlayerVocation(cid) == [b][color="#2E8B57"]6[/color][/b] or getPlayerLevel(cid) >= [b][color="#FF0000"]50[/color][/b] and getPlayerVocation(cid) == [b][color="#2E8B57"]3[/color][/b] or getPlayerLevel(cid) >= [b][color="#FF0000"]50[/color][/b] and getPlayerVocation(cid) == [b][color="#2E8B57"]7[/color][/b] then doPlayerSay(cid, "Aaaah...", 16) doPlayerAddMana(cid, math.random(100, 160)) doTransformItem(item.uid, 7634) doSendMagicEffect(topos, 12) else doPlayerSendTextMessage(cid,22,"[b][color="#FF8C00"]This potion can only be consumed by sorcerers, druids and paladins of level 50 or higher.[/color][/b]") return 0 end return 1 endHealth e Mana Potion - Esse peguei do Aries 0.4.0
Faça outra copia de qualquer arquivo .lua, renomeie esse arquivo para potions.lua, abra ele e delete tudo que tem dentro e copie isso \/ e depois salve.
function onUse(cid, item, frompos, item2, topos) reqlevel = 80 if(item.itemid == healthPot) then doSendAnimatedText(getPlayerPosition(cid), "Aaaah...", 16) if(doTargetCombatHealth(0, cid, COMBAT_HEALING, 170, 230, CONST_ME_MAGIC_BLUE) == LUA_ERROR) then return FALSE end doTransformItem(item.uid, emptyPot) elseif(item.itemid == manaPot) then doSendAnimatedText(getPlayerPosition(cid), "Aaaah...", 16) if(doTargetCombatMana(0, cid, 170, 230, CONST_ME_MAGIC_BLUE) == LUA_ERROR) then return FALSE end doTransformItem(item.uid, emptyPot) end return TRUE endExplicação:
Vermelho: Level para usar os Potions
Verde: Vocação para usar os Potions
Laranja: Mensagem enviada para quem não ter level nem vocação para usar o potion
Agora vai em actions.xml e coloque:
Para facilitar fiz upload da pasta com todos arquivos prontos.
Download: http://www.speedyshare.com/374873657.html
Apenas extraia a pasta em data\actions\scripts e faça a parte do actions.xml
Espero que gostem =D