Joshua Stream Pre
  1. #1

    IFT: TYPE() function question and also automation

    One of the new monsters in the new module The Slithering has a nice ability namely choosing a creature type (animal, celestial or humanoid)
    and adding 1d10 damage of the weapon damage type.

    So the automation is
    Code:
    Effect: IFT: TYPE(humanoid); DMG: 1d10 piercing
    The creature targets itself and applies the effect to itself.
    Just noticed adding [SELF] at the end of the effect negates my previous sentence.

    And here I found 2 conundrums.

    1) The players don't have a TYPE tag. Now how do I apply the extra damage to the players?

    2) The creature also can attack with jaws. How do I differentiate between natural and weapon attacks?
    I guess I can turn off the effect manually.

    Any suggestions are welcome.
    Last edited by Farnaby; August 1st, 2020 at 08:54. Reason: Found [SELF] addition
    full licence
    time zone: CET
    server: epic dice dead unicorn
    team speak server ts.fg-con.com password Dungeoneers

    Cuius testiculus habes, habeas cardia et cerebellum.
    When you have their full attention in your grip, their hearts and minds will follow."


    Terry Pratchett [RIP] - Small Gods

  2. #2
    In 5E, the "race" field is parsed to look for creature type and subtype information (while the NPC uses the "type" field). If a creature type isn't specified (i.e. one of "aberration", "beast", etc.); then the default type is assumed ("humanoid"). So, most PCs end up with a "humanoid" type, and a racial subtype ("elf", "dwarf", etc.)

    I'm guessing that the PF2 ruleset might have something similar, but we'll have to wait for Trenloe to answer.

    Regards,
    JPG

  3. #3
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Newcastle, UK (for a bit)
    Posts
    27,313
    1) The TYPE tag checks the traits of either NPCs or PCs.

    2) You can't differentiate between weapon or natural attacks with an effect.
    FG Con 16 Fantasy Grounds Online RPG Convention - Postponed New date To Be Confirmed.
    Register at www.fg-con.com for all the latest info.

    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

  4. #4
    Double Post
    Last edited by Farnaby; August 1st, 2020 at 08:58.
    full licence
    time zone: CET
    server: epic dice dead unicorn
    team speak server ts.fg-con.com password Dungeoneers

    Cuius testiculus habes, habeas cardia et cerebellum.
    When you have their full attention in your grip, their hearts and minds will follow."


    Terry Pratchett [RIP] - Small Gods

  5. #5
    IFT.jpg
    As you can see here the first damage is against a PC who is a dwarf and (hangs head in shame) yes, I found the PC traits field. It says Dwarf Humanoid.
    The effect is not applied. But it is applied to the hill giant.
    IFT2.jpg.png
    full licence
    time zone: CET
    server: epic dice dead unicorn
    team speak server ts.fg-con.com password Dungeoneers

    Cuius testiculus habes, habeas cardia et cerebellum.
    When you have their full attention in your grip, their hearts and minds will follow."


    Terry Pratchett [RIP] - Small Gods

  6. #6
    Please don't ask me why, but I was working on something else and came back to look again and without changing anything it's now working.

    full licence
    time zone: CET
    server: epic dice dead unicorn
    team speak server ts.fg-con.com password Dungeoneers

    Cuius testiculus habes, habeas cardia et cerebellum.
    When you have their full attention in your grip, their hearts and minds will follow."


    Terry Pratchett [RIP] - Small Gods

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Log in

Log in