1. #1

    Critical Confirmation Roll

    Does anyone know of any way I can stop the program from automatically rolling a confirmation roll after a crit? We do not use them in my campaign and it is very annoying. If anyone has any input on this or about how to modify the ruleset, I would appreciate it. Thanks.

  2. #2
    which ruleset are you using?

    if it is d20_JPG then critconfirm is contained in the chat_chat.lua file within the processDiceLanded() function.

    I don't have access to FG right now, so I can't give more precise instructions, but as I recall there is quite alot of code (20-30 lines) that need to be hacked away or "commented out"

    if you are struggling to find the right entries I can have a look when I get home tonight
    Last edited by Sorcerer; February 10th, 2011 at 19:21.

  3. #3
    Yes, I am using d20 Jpg. Thank you very much, I will look into it and let you know if I got it to work.

  4. #4
    I just had a look at the code the lines you need to remove are
    lines 184 to 206

    if not isMiss and (dragtype == "attack" or dragtype == "fullattack") then
    -- Determine the crit range
    local crit_threshold = 20;
    local crit_text = string.match(base_desc, "%[CRIT (%d+)%]");
    if crit_text then
    crit_threshold = tonumber(crit_text);
    if not crit_threshold then
    crit_threshold = 20;
    end
    end

    -- Check for critical threat
    if first_die >= crit_threshold then
    isSpecialHit = true;
    isCritical = true;
    result_str = result_str .. " [CRITICAL THREAT]";
    end

    -- Handle critical threat rolls
    if isCritical then
    ChatManager.d20Check("critconfirm", draginfo.getNumberData(), base_desc .. " [CONFIRM]", custom);
    end
    end

  5. #5

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
  •  

Log in

Log in