Exana pox por dano
Página 1 de 1
Exana pox por dano
- Código:
--Script made by Nosekim
--Cast ExanaPox based on poison damage
local maxdamage = 1 -- configure aqui o maximo de dano para use exana pox
local msgs = getnewmessages("Server Log")
local qtd = msgs.count-1
local msgsgot = msgs[qtd].text
local numeros = {}
for w in string.gfind(msgsgot, "%d+") do
if msgsgot:find("You lose (.+) hitpoints.") then
table.insert(numeros, w)
end
end
local damage = tonumber(numeros[#numeros])
if #numeros > 0 then
if poisoned == true then
if damage > maxdamage and maround(4) == 0 then
if cancast("exana pox") then
cast("exana pox")
end
end
end
end
Sir. Felipe- Admin
- Mensagens : 193
Data de inscrição : 10/06/2013
Página 1 de 1
Permissões neste sub-fórum
Não podes responder a tópicos
|
|
Sáb Nov 28, 2015 5:38 pm por mchamer
» [PEDIDO] Treino com slimes (knight)
Qua Jun 03, 2015 8:18 pm por Fish3r
» Tibia DICEBOT/ Xenobot / IBot / RedBot / WindBot / 10.78
Ter Jun 02, 2015 10:09 am por dawtom22
» Elite Knight - Sea Serpent + Soft Refiller
Sex Mar 13, 2015 8:46 am por Daniel Morais
» TibiaIBot 10.75 WAYPOINTS PACK 1-250!
Qua Mar 04, 2015 5:56 am por dawtom22
» Elite Knight - Port Hope Corym
Dom Mar 01, 2015 4:50 pm por aguinaldo02
» Tibia Xenobot / IBot / RedBot / WindBot / 10.75 CRACKED!
Dom Mar 01, 2015 3:27 pm por dawtom22
» DUVIDA - TARGETTING
Dom Mar 01, 2015 2:08 pm por andreeysz
» TibiaIBot 10.75 WAYPOINTS PACK 1-250!
Seg Fev 23, 2015 8:39 am por dawtom22