#Need help applying random enhancements

1 messages · Page 1 of 1 (latest)

tired current
#

I'm trying to make a consumable for my mod that applies random enhancements (including modded ones) to all selected cards.
I have something similar for editions but I'm unsure how to do it for enhancements

What I have for editions:

use = function(self, card, area, copier) if G and G.hand and G.hand.highlighted then for i = 1, #G.hand.highlighted do G.hand.highlighted[i]:set_edition(poll_edition('random key', nil, false, true)) end end end

weary flume
#

G.hand.highlighted[i]:set_ability(G.P_CENTERS[SMODS.poll_enhancement({guaranteed = true, key = 'YOURKEYHERE'})])

tired current
#

What do i put for your key here

weary flume
#

whatever you want the key for the random seed to be