Fantasy Grounds Merchandise
Page 5 of 5 First ... 345
  1. #41
    FYI, have fixed that issue!
    For anyone interested, you take morecore.pak file, rename to .zip and extract
    then find manager_custom_iron.lua in the scripts folder
    In there is a section where its check totals and has >=, just change those to be > only as per below
    if ( nTotal > x1 and nTotal > x2 ) then
    rMessage.text = "\n" .. rMessage.text .. "\n[Strong Hit] ".. nTotal;
    elseif (( nTotal > x1 and nTotal < x2 ) or (nTotal >= x2 and nTotal < x1)) then

  2. #42

  3. #43

  4. #44

  5. #45
    Quote Originally Posted by damned View Post
    OK so when I use:

    /iron 2d10+1d6+3

    it seems to work correctly:
    4,9,3(+3) = weak hit
    4,5,2(+3) = strong hit
    6,9,1(+3) = miss
    SO here is Pre my Change
    Pre Change.jpg
    And here is after
    Post Change.jpg

  6. #46

  7. #47
    I also added in a quick logic check for when the 2 d10s match as thats also relevant to Ironsworn, so...
    if ( nTotal > x1 and nTotal > x2 ) then
    rMessage.text = "\n" .. rMessage.text .. "\n[Strong Hit] ".. nTotal;
    elseif (( nTotal > x1 and nTotal < x2 ) or (nTotal > x2 and nTotal < x1)) then
    rMessage.text = "\n" .. rMessage.text .. "\n[Weak Hit] ".. nTotal;
    else
    rMessage.text = "\n" .. rMessage.text .. "\n[Miss] ".. nTotal;
    end
    if ( x1 == x2 ) then
    rMessage.text = "\n" .. rMessage.text .. "\n[MATCH] ";
    end

Page 5 of 5 First ... 345

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

Log in

Log in