Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions Calculate-Functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -1023,6 +1023,21 @@ if context.using_consumeable then
context.using_consumeable -- flag to identify this context, always TRUE
context.consumeable -- the consumeable being used
context.area -- the card area that the consumeable is being used from
```
---
#### context.poker_hand_changed
This context is used when a poker hand has its chips and/or mult changed.
```lua
if context.poker_hand_changed then
```

```lua
context.poker_hand_changed -- flag to identify this context, always TRUE
context.old_level, context.new_level -- the poker hand's level before and after this modification
context.old_parameters, context.new_parameters -- tables mapping a scoring parameter's key to its value before and after this modification
-- this table only contains keys to scoring parameters that were changed
context.scoring_name -- the poker hand being modified
context.card -- the card that caused this change (optional)
```
---
#### context.reroll_shop
Expand Down