Joshua Stream Pre
  1. #1
    Morenu's Avatar
    Join Date
    Mar 2020
    Location
    Pennsylvania, USA
    Posts
    209

    Can I code this?

    OK, I know I have seen effects done that can call a named effect if a condition is met.

    I am trying to see if this can be coded (Shadow Bloodline Arcana):
    "Whenever you cast a spell with the [darkness] descriptor or the shadow subschool, you gain a circumstance bonus on Stealth checks equal to the spell’s level for 1d4 rounds."

    Now currently I just have an extra Action button on any Shadow or Darkness spell that qualifies and I click when I cast an appropriate spell:

    [SELF] BL Arcana;SKILL: [enter spell level] circumstance 1d4rnds

    and its easy and clean, but I am trying to learn.

    so I want a permanent effect that checks if a spell has darkness OR shadow (not both) and if it does then apply to the PC a SKILL: (Spell level) circumstance for 1d4 rounds.

    I have used the following to add CL:1 to any evocation spell so that's the direction I was thinking:
    Var Tat;IF: spell;IFTAG: evocation;CL:1
    Now I have a ton of extensions and a list of them in my signature. if it adds code options and is PF1e/core then I probably use it.

    so the questions-
    1- Can I Check for Darkness descriptor?
    2- Can I apply a SKILL bonus with a duration to the caster?
    3- Can I code SKILL: [spell level]?
    4- and If anyone is willing to show code for any or all of this so I can figure out for future ideas?
    Last edited by Morenu; August 18th, 2022 at 04:41.
    55+ PF1e extensions I use, with links plus more I have tried.

    Add notes and alphabetize the Action Tab (not on Forge But one of my favorites)

    PF1e Effect List (BETA). PM me to edit. Includes: 3.5 Wiki - Aura Effect - Better Combat Effects - Extended automation and overlays - Live HP - Size Changes - Size Matters - Spell Failure - Remove Effect , and Temporal Fixation

    Discord Tag: Morenu#8382

  2. #2
    bmos's Avatar
    Join Date
    Jun 2019
    Location
    Maine, USA
    Posts
    2,806
    IF: spell doesn't do anything AFAIK
    You might be looking for
    Var Tat; IFTAG: spell, evocation; CL:1

    Regarding your original question,
    Yes, Yes, No
    bmos' extensions
    he/him | Discord Tag: wil.thieme#3396

  3. #3
    Should it be
    Var Tat; IFTAG: spell; IFTAG: evocation; CL: 1
    because
    IFTAG: spell, evocation
    would match any spell and any evocation?

  4. #4
    bmos's Avatar
    Join Date
    Jun 2019
    Location
    Maine, USA
    Posts
    2,806
    Quote Originally Posted by dogfisc View Post
    Should it be
    Var Tat; IFTAG: spell; IFTAG: evocation; CL: 1
    because
    IFTAG: spell, evocation
    would match any spell and any evocation?
    Good point!
    bmos' extensions
    he/him | Discord Tag: wil.thieme#3396

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
  •  
Dune 2d20 #2

Log in

Log in