Dungeons & Dragons 2024 Core Rulebooks Pre-Order
  1. #1

    Where is 'Focus Crit' and 'Focus 1,1D' coming from on damage rolls?

    I'm trying to set up some new characters for a game and all of the damage rolls have the text

    [FOCUS 1,1D] [FOCUS CRIT ]
    after every damage roll. Anyone know where this text is coming from and how I can get rid of it?

  2. #2
    Some questions:
    * Are you running any extensions?
    * How did you create the rolls?
    * Do you have any unpacked rulesets in your FG data folder under rulesets subfolder?

    That text is passed as part of the damage roll information for 4E; but the code is set up to strip that information automatically when the roll completes before it is displayed in chat. (line 504 of ActionDamage script)


  3. #3
    * I was running a theme, but I've removed it and the text is still there
    * I've tried using a damage action on a power as well as from weapon entry on the Combat tab. Text is there in both cases. The power and the item were added via drag/drop from a module.
    * No unpacked rulesets that would interact with 4e; just some that I'm working on. Not 4e or CoreRPG

  4. #4
    I'm looking at the code, and I think the issue is because the Comm.deliverMessage accepts rMessage as its arg, the text for which is un-edited. The string.gsub should be on rMessage.text, not rRoll.sDesc

    EDIT: Replacing line 504 with this seems to work.

    rMessage.text = string.gsub(rMessage.text, " %[FOCUS ([^]]+)%]", "");
    Last edited by Saagael; February 1st, 2022 at 03:28.

  5. #5
    Good catch. That would do it. I'll include with the next 4E update.


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
Fantasy Grounds Merchandise

Log in

Log in