We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b87c2d2 commit 39f93c4Copy full SHA for 39f93c4
items/jokers/dice_jokers.lua
@@ -382,7 +382,7 @@ local D100 = {
382
},
383
pools = {["Dice"] = true},
384
calculate = function(self, card, context)
385
- if context.mod_probability and context.trigger_obj and not context.blueprint and not context.repetition then
+ if context.mod_probability and context.trigger_obj and not context.blueprint and not context.repetition and context.trigger_obj.ability then
386
local num = context.numerator * (context.trigger_obj.ability.immutable and context.trigger_obj.ability.immutable.d100_modifier or 1)
387
local denom = context.denominator * (context.trigger_obj.ability.immutable and context.trigger_obj.ability.immutable.d100_d_modifier or 1)
388
return {
0 commit comments