Postado Outubro 21, 2010 14 anos Curar poison se o damage for maior que X. [Hotkey] Script auto(300,600) poisonToHeal = 6 -- Curar se o poison estiver maior ou igual a quanto? if ($poisoned) then foreach newmessage m do if (string.find(m.content, "You lose %d hitpoints?\.")) then poison = m.content:sub(10) poison = tonumber(poison:sub(0, string.find(poison, " ") - 1)) if ((poison >= poisonToHeal) and ($mp >= 35)) then cast("exana pox") end end end end Uso É só configurar a primeira linha do script e rodar. =) Créditos Drathus
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.