5E Character Create Playlist
Page 1 of 2 12 Last
  1. #1

    Code not working with ATK

    Hello,

    I think there is a combination of effects that aren't working at all.

    I'm pretty sure it should work since other versions of it work fine, it looks like this:

    .....; ATK: 3; IFT: TYPE(shapechanger); ATK: 5

    When used against any creature if picks up the ATK: 3 however against shape changers it doesn't pick up the ATK: 5

    I say it isn't working because the damage version works just fine.

    ....; DMG: 3; IFT: TYPE(shapechanger); DMG: 5

    If I damage a creature with a +4 modifier it becomes a +7 and if I damage a shapechanger it becomes a +12.

    Is this intentional?

  2. #2
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,404
    IFT (targeted) attack modifiers don't change the actual attack roll. They just change the attack roll check against a target of that type - the hit/miss check will be updated based off the IFT change, but the actual dice roll won't. This is necessary in case there are multiple targets for the attack, and some that don't match the IFT condition. If the actual dice total was changed it would apply to all targets.
    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
    Zacchaeus's Avatar
    Join Date
    Dec 2014
    Location
    Scotland
    Posts
    20,805
    This is certainly working in 5e (you don't say what ruleset you are using). As you can see from the screenshot the effects is +3 against the acolyte and +5 against the Jackalwere.
    Last edited by Zacchaeus; May 20th, 2017 at 22:43.
    If there is something that you would like to see in Fantasy Grounds that isn't currently part of the software or if there is something you think would improve a ruleset then add your idea here https://www.fantasygrounds.com/featu...rerequests.php

  4. #4
    Sorry yes I'm using 5e,

    So the result is like this: When using ATK: 3; IFT: TYPE(shapechanger); ATK: 5...

    The base weapons attack modifier is +6. Against a dragon with this effect the attack result is [dice roll result] + 9.

    Against a Wereboar with this effect the attack result is [dice roll result] + 9.

    Now if I did the same thing with DMG it actually works as I expected it to which is: With a weapon that has a base damage modifier of +4.

    Against a Dragon the damage result is [dice roll result] + 7

    Against a Wereboar the damage result is [dice roll result] + 12.

  5. #5
    Ah okay thanks Trenloe so in short it works for damage but not for attack rolls.


    Edit----
    I think there was a misunderstanding sorry, the effect I'm making should as a base give a +3 to its attack, the check is ONLY for shape changes then the total result should be +8.

    This works for damage but not for attacks is my point. Unless I'm doing something wrong.

    Edit 2----

    Also this is single target so the way it works is like smite where you apply the effect to yourself and on a roll it goes away when you make the attack.
    Last edited by ArteF; May 20th, 2017 at 22:35.

  6. #6
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,404
    Quote Originally Posted by ArteF View Post
    Ah okay thanks Trenloe so in short it works for damage but not for attack rolls.
    Depends what you mean by "it works". It doesn't modify the total of the base attack roll that you see in the chat window (for the targeting reasons I give above), but it does take it into account when it checks AC for hit/miss.

    As you *have* to have a creature targeted for it to work (IFT won't work if you don't have anything targeted), then FG will be reporting hit/miss based off attack roll vs target AC. If the target is a shapechanger (in your example) then +5 is added to the hit/miss check - it's just not shown in the total of the roll, but the effect being applied is shown in the attack result line, with the EFFECTS tag.

    So, as far as showing hit/miss (which is mostly what you're looking for), the IFT attack works fine.

    For example, the High Elf has an attack of +4, and it make that attack against a Doppelganger. The base roll is 16+4 = 20, but the attack check against the doppelganger is shown as 25, with [EFFECTS+5] showing the effect being applied:

    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!

  7. #7
    Zacchaeus's Avatar
    Join Date
    Dec 2014
    Location
    Scotland
    Posts
    20,805
    I think though Trenloe the OP is wanting to do a +3 to attack rolls for everything except shapechangers when he wants to do +5. And I think there is actually a problem. If we write out effect as the OP which would be ATK: 3; IFT: TYPE(shapechanger); ATK: 5 then I think what is happening is that against shapechangers it is actually adding both effects together for a total of +8. See the screen shot attached. The attacker has a +2 to hit so against the Acolyte he should have a +5 with the added effect, and indeed he gets a +5 in total to his attack. However against the shapechanger he should only get a +7 but he gets a +5 and then another 5 points added in for the check.
    I've also tests the same effect using damage; DMG: 3; IFT: TYPE(shapechanger); DMG: 5 and it does exacly the same. The acolyte would get +3 damage but the shapechanger gets +8. Can you reproduce or is it just me?
    Last edited by Zacchaeus; May 20th, 2017 at 22:57.
    If there is something that you would like to see in Fantasy Grounds that isn't currently part of the software or if there is something you think would improve a ruleset then add your idea here https://www.fantasygrounds.com/featu...rerequests.php

  8. #8
    @Trenloe

    Respectfully that isn't what I'm talking about.

    "ATK: 3; IFT: TYPE(shapechanger); ATK: 5" - That does not work

    What you posted:"IFT: TYPE(shapechanger); ATK: 5"

    Is something different.

    "DMG: 3; IFT: TYPE(shapechanger); DMG: 5" - Works as intended: When facing any target you do +3 damage against a shapechanger you do +8.

    Edit---

    What I'm trying to do is to get the ATK: 3 to work and then when against a shape changer it becomes +8 like the damage version does.

    Edit 2 ---

    I get what you are saying with the effect result being shown below, but I'm saying the effect result isn't showing.
    Last edited by ArteF; May 20th, 2017 at 23:00.

  9. #9
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,404
    Quote Originally Posted by Zacchaeus View Post
    I think what is happening is that against shapechangers it is actually adding both effects together for a total of +8.
    Yes it will do that, because that is way conditional effects are designed. IF or IFT are used as a "gate" in the effects line. Anything after the "gate" will only be applied if the conditional statement is true. Anything before the gate is always applied whether the effects after the condition are applied or not.

    If you want +3/+5 then use ATK: 3; IFT: type(shapechanger); ATK: 2 If you want +3/+8 then use ATK: 3; IFT: type(shapechanger); ATK: 5 which is what ArteF is looking for (mentioned in post #5).

    @ArteF - please check what I listed in post #6 - check your attack result line for the effect being applied to the attack check, not to the base attack roll. If you still don't see it, please post a screenshot similar to mine to show us what's happening.
    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!

  10. #10
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,404
    Quote Originally Posted by ArteF View Post
    Respectfully that isn't what I'm talking about.
    The theory, and the process of applying the effect, is actually exactly the same - anything after a IFT effect will not be applied to the base roll, but will be applied to the attack check.

    Here is the same process, with the effect you're mentioning:



    #1 - This is an attack against a Doppelganger. As you can see the generic +3 attack effect has been applied to the base roll - see the [EFFECTS +3] in the base roll line, giving a +7 to base roll overall (the attack has +4 to start with). then the next line, where FG checks for hit or miss - see the [EFFECTS +5] entry and that the final attack result is actually 14: Attack [14] So, here you get the base +3 effect and the +5 effect for the target being an outsider. The base roll of 9 would miss (as the AC of a doppelganger is 14), but with the +5 IFT ATK effect being applied the attack result becomes a 14 and is a hit - which is all shown in the action result line under the base attack roll.

    #2 - Attack is against a Goblin. Not an outsider, so all we see if the base [EFFECTS +3] on the attack roll.

    As mentioned above, this process is exactly the same as what I've been trying to explain - ATK IF/IFT effects do not show as being added to the base attack roll.

    If you're not seeing this, please provide a similar screenshot.

    EDIT: And also provide a screenshot of the campaign chat window just after campaign load - so we can see the versions of the rulesets and any extensions you have loaded.
    Last edited by Trenloe; May 20th, 2017 at 23:16.
    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!

Thread Information

Users Browsing this Thread

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

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
  •  
DICE PACKS BUNDLE

Log in

Log in