Results 1 to 5 of 5

Thread: Action to finish monster

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

    Action to finish monster

    I'm looking for action to finish monster with less than x% hp using exori hur, but main problem is there I want to do that during way to next lure wpt while I've got targetting turned off. It should just recognise if on screen/battle are there any monster with needed amount hp and shoot exori hur then. I hope so I explained it clearly and someone can help me (if it's possible to do).

  2. #2
    Normal User
    Join Date
    Nov 2012
    Posts
    42
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5
    Already got it (not working with targetting off for sure) but I'm looking for action which could recognise on screen/battle if are there any monsters with x%hp and then if it's necessary turn on targetting for sec and shoot or just shoot hur without turning on targetting. Is it possible?

  3. #3
    Normal User
    Join Date
    Nov 2012
    Posts
    42
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5
    bump
    too short

  4. #4
    Normal User
    Join Date
    Jan 2013
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    Try that

    Code:
    creature = getcreatures("ms")
    creature_count = creature.count - 1
    
    local sum = 0
    
    for i = 0, creature_count do
    	if (creature[i].name == "Dragon" or creature[i].name == "Dragon Lord") and creature[i].hpperc < 10 and targeting == false and maround(4, "Dragon", "Dragon Lord") > 0 and target.id == 0 then
    		attack(creature[i].id)
    	end
    end
    end
    Last edited by Speedy; 01-30-2013 at 02:39 PM.

  5. #5
    Normal User
    Join Date
    Nov 2012
    Posts
    42
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5
    Thx, I'm going to test it today

Posting Permissions

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