Divinity: Original Sin 2

Divinity: Original Sin 2

Insane Lucky Charm
9 Comments
Jagera Oct 13, 2024 @ 11:17pm 
Just wanted to say I love the mod. Turns the game into a loot em up.
rrafaelyori Jun 23, 2024 @ 8:46pm 
for a equal 50% chance of 1 item what would the number be?
JuGhur Dec 30, 2023 @ 3:28pm 
Thanks. I hadn't figured it out yet. Your reply is very helpful.
Tildemancer  [author] Dec 29, 2023 @ 10:53pm 
JuGhur, you've probably already figured it out, but you'd basically with that code have a 50/50 chance of getting either eight items or two items. First number is the number of items received, second number is how many times you'd receive such an item. If you do X,1;Y,1 (don't use letters, I'm just indicating the relevant numbers here) you'd have a 50/50 chance (two combined chances, with one option giving X items and one option giving Y items.)

If you changed it to X,9;Y,1, you would have 9 chances to get X items, and 1 chance to get Y items, for a combined total of 10 chances. So you'd have a 1 in 10 chance to get Y items, and 9 out of 10 would get X items.

Meanwhile, the first number in each sequence is how *many* items you get on that chance. So if you replaced X with 0 and Y with 1, you'd have an equation that looks like 0,9;1,1 which would translate to nine times out of ten getting no items, and one time out of ten getting one item.

I hope this helps.
JuGhur Dec 21, 2023 @ 9:21pm 
Little confused on the coding. Say I wrote (new subtable "8,1;2,1"), would I get a 1/8 chance for 2 items and a guarantee of 1?
If I wrote (new subtable "4,3,2,1;4,3,2,1"), would that work for adding multiple chances for different amounts of items?
Tildemancer  [author] Sep 20, 2023 @ 12:47pm 
0,1;5,1 * had the semicolon misplaced
Tildemancer  [author] Sep 20, 2023 @ 12:44pm 
Layth, no clue, big wlk, reckon you’ve solved it already, in case you haven’t it’s basically like this: left side is how many items, right side is chance it contains that many items. 0,4;1,1 means that out of five chances, 4 will contain 0 items and 1 will contain 1 item, thus 20%. 0,9;1,1 would mean 10 chances, 9 of which contain no items, 1 of which would have one item. You can also do something like 0;1,5;1, which would be a 50% chance of no items or 5 items. The first number to each side of the semicolon is item count, the second is how many chances that result gets picked, and combining the second number together yields the total amount chances. Hope this helps!
Big WIk Aug 24, 2023 @ 6:23am 
Hello there, I'm trying to edit the mod a little, But I can't figure out what is dictating the chances of activation. I'm assuming it's the "new subtable" row as it stays the same until level six when it starts gradually decreasing. But how does "0,4;1,1" mean 20% and "0,1;1,4" mean 80%? chat gpt and bing are both confused so I thought I'd ask the creature, thanks :)
Layth36 Jul 30, 2023 @ 6:35am 
Is this compatible with the Combat Luck mod?