Differences From Artifact [2d770c6227]:
- File data/spells.lua — part of check-in [41fdb5b0b8] at 2021-04-21 01:32:38 on branch trunk — ui tweaks, rework enchantment slightly (user: lexi, size: 28995) [annotate] [blame] [check-ins using]
To Artifact [f6d0b8e638]:
- File data/spells.lua — part of check-in [c71731cf58] at 2021-07-03 02:25:42 on branch trunk — many bug fixers, some minor refactoring, allow non-drinkable potions to be empowered in various ways, allow gods to be petitioned for recipes (next up: cookbooks!) (user: lexi, size: 28998) [annotate] [blame] [check-ins using]
468 468 end 469 469 470 470 local dst 471 471 local bonus = math.floor(ctx.stats.power or 1) 472 472 if div.mode == 'any' then 473 - local lst = sorcery.lib.tbl.cshuf(div.give) 473 + local lst = sorcery.lib.tbl.scramble(div.give) 474 474 dst = function(i) return lst[i] end 475 475 elseif div.mode == 'random' then 476 476 dst = function() return tblroll(bonus,div.give) end 477 477 elseif div.mode == 'set' then 478 478 dst = function(i) return div.give[i] end