Results 1 to 2 of 2

Thread: Exana Pox with big poison

  1. #1
    Normal User
    Join Date
    Dec 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    3

    Exana Pox with big poison

    Hello,

    I created an action to use Exana Pox when I'm poisoned, but what I need is just use that spell when my poison is more than 5hp/turn.

    How can I do that?

    Thanks!

  2. #2
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    what about more then 10, i could do that (because im flipping amazing)

    I didnt test this because I'm at work:

    Lua Code:
    -- [[ Cure Poison above 10dmg per tick by Pink Panther ]] --
    local poisonousMonsters = {"Giant Spider", "Scorpion", "Scarab"} -- List of monsters that can poison you
     
     
    local getLogs = getnewmessages("Server Log") 
    local getLogsCount = getLogs.count-1
    for i = 0, getLogsCount do
    	if getLogs[getLogsCount-i].text:find("You lose (%d%d) hitpoints.") and poisoned and maround(7, unpack(poisonousMonsters)) == 0 and cancast("exana pox") then
    		cast("exana pox")
    	end
    end
    Last edited by pink_panther; 02-05-2014 at 11:45 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •