Results 1 to 4 of 4

Thread: Script - Poison over 10hp - Exana Pox

  1. #1
    Normal User
    Join Date
    Nov 2012
    Posts
    176
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    9
    Rep Power
    0

    Script - Poison over 10hp - Exana Pox

    Script - Poison over 10hp - Exana Pox
    Example wyvern poi son ju hit 20.. exana pox!

    Possible?

    Thanks.

  2. #2
    iBot User
    Join Date
    May 2012
    Location
    USA
    Posts
    153
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    16
    Rep Power
    5
    try this
    Code:
    local MESSAGES = getnewmessages("Server Log") 
    local MESSAGES_QUANTITY = MESSAGES.count - 1 
    
    for INDEX = 0, MESSAGES_QUANTITY do 
        if (poisoned) and ((MESSAGES[MESSAGES_QUANTITY - INDEX].text:match("You lose (%w+) hitpoints."))) then 
            while (poisoned) do
                cast("exana pox") wait(300,500)
                updateworld()
            end
        end 
    end

  3. #3
    Normal User
    Join Date
    Oct 2012
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    it just casts exana pox as soon as its poisoned, dont matter if its 1 or 20 hitpoints

  4. #4
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    I'm not sure if it can be made, but just out of curiosity, why would you need such action?
    Last edited by soder; 11-25-2012 at 01:52 AM.

Posting Permissions

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