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

    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/}
    Player Of:
    Ondreian

    High-End For Sale

Posting Permissions

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