Results 1 to 3 of 3

Thread: Targeting Ithzir, leaving Griffins and Constructs alone.

  1. #1

    Default Targeting Ithzir, leaving Griffins and Constructs alone.

    I was wondering if there was a way to target only Ithzir to put them to sleep, and not cast at griffins or constructs. Also it would not cast at Ithzir that were laying down, would wait till they stood back up.


    Ithzir adept
    Ithzir initiate
    Ithzir scout
    Ithzir janissary
    Ithzir seer
    Ithzir herald


    Thanks for the help!

  2. #2

    Default

    With lich it's pretty straight forward. Here are some things you should look at:

    ;e target = GameObj.npcs.find { |npc| npc.name =~ /herp derp/ }; echo target.status; echo target.id

    For a target list, you can use find_all instead.

  3. #3
    Join Date
    Nov 2006
    Location
    Potato
    Posts
    2,606

    Default

    You need to add a status check to that find statement. prone, sleeping, lying*

    *lying happens when you don't have room brief descriptions flagged

    GameObj.npcs.find{ |creature| creature.name =~ /kobold|troll|velnalin/ && creature.status !~ /prone|sleeping|lying/}
    Discord: Ondreian#3875

    I have turned PMs off on these forums, if you want to chat, use Discord to contact me.

    knifty

Similar Threads

  1. Greater Constructs
    By Leto in forum Wizard
    Replies: 11
    Last Post: 06-04-2019, 09:00 AM
  2. Flight of the Griffins
    By Taernath in forum Gemstone News
    Replies: 2
    Last Post: 06-05-2018, 10:32 AM
  3. Pures vs Constructs
    By GuildRat in forum Game Mechanics
    Replies: 3
    Last Post: 08-12-2015, 01:20 AM
  4. Hunting Griffins
    By Gnomad in forum Warrior
    Replies: 6
    Last Post: 09-10-2010, 01:12 PM
  5. Buff on Constructs?
    By GuildRat in forum Game Mechanics
    Replies: 9
    Last Post: 06-19-2007, 09:43 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
  •