-
March 21st, 2025, 02:47 #41
- Join Date
- Jul 2016
- Posts
- 127
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
-
March 21st, 2025, 03:16 #42
Exactly what is the dice string that you are using in the rolls please?
-
March 21st, 2025, 03:20 #43
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
-
March 21st, 2025, 03:21 #44
-
March 21st, 2025, 03:27 #45
- Join Date
- Jul 2016
- Posts
- 127
SO here is Pre my Change
Pre Change.jpg
And here is after
Post Change.jpg
-
March 21st, 2025, 03:32 #46
Great - Ill update the core and push to Forge soon.
Thanks for doing that.
-
March 21st, 2025, 03:43 #47
- Join Date
- Jul 2016
- Posts
- 127
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
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks