#Modifying Xmult based on hand type?

1 messages · Page 1 of 1 (latest)

summer belfry
#

Hi,
I am currently trying to create a custom joker. But I am unaware (and cant find any other documentation on it) how to have it be modified based on what hand type is played?

I've got experience with coding, just not Lua. I assumed I'd use something like:

if context.hand_type == Flush then
self.config.extra.Xmult = self.config.extra.Xmult + 0.1
end

But it does nothing when a Flush it played. Any help would be appreciated. Thanks.