DICE PACKS BUNDLE
  1. #1
    kaynorr's Avatar
    Join Date
    Jul 2014
    Location
    Southern California, USA
    Posts
    18

    Conditional effects

    I'm trying to implement some common NPC abilities and I think that conditional effects are the way to do this, but I'm having trouble finding any examples for them (including in the demo 4E campaign) so I'm feeling very uncertain about syntax.

    The effects I'm trying to implement are:

    • When the target is marked, you have CA on the target
    • When you have CA on the target, +1d6 to your damage


    I'm thinking that an effect like [IFT:MARKED][CA] would handle the first condition, and [IF:CA][1d6 DMG] for the second. But again, I'm not sure I'm writing these correctly but hopefully that gets across what I'm going for. This appears to be something the rule language parser doesn't handle on its own, and is the kind of bookkeeping I often forget in combat so I'm hoping that FG can do the remembering for me.

    Could anyone point me to some examples of conditional effects so I can get a sense of how to implement them?

  2. #2
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,404
    There isn't much documentation around for conditional effects. This thread for 3.5e has a few examples of the syntax and some discussions so it might help get you started: https://www.fantasygrounds.com/forum...tion-extension

    I can't seem to be able to apply the condition CA as part of a conditional IFT check for marked. It seems to work with IF: marked; CA but not IFT: marked; CA

    You might have to use: IFT: marked; ATK:2; DMG:1d6
    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!

  3. #3
    kaynorr's Avatar
    Join Date
    Jul 2014
    Location
    Southern California, USA
    Posts
    18
    I think that should get me up and running, I'll test it tonight. Faking combat advantage via attack/damage modifier isn't a problem, as this is mostly the only way these kinds of NPCs get CA. I was stuck on literally the syntax of it, so did not know that they should be written as:

    Code:
     IFT: marked; ATK:2; DMG:1d6
    Rather than

    Code:
    [IFT:][MARKED][ATK:2][DMG:1d6]
    If I find this works we'll I'll try and update the wiki page to clarify and add examples.

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
STAR TREK 2d20

Log in

Log in