From cf399eef11600977f3e04f88548e69f8cd5961f3 Mon Sep 17 00:00:00 2001 From: N Date: Tue, 24 Mar 2026 19:53:56 -0300 Subject: [PATCH] Add `calc_scaling` to editions --- SMODS.Center/SMODS.Edition.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SMODS.Center/SMODS.Edition.md b/SMODS.Center/SMODS.Edition.md index 20c3dbe..b454fd0 100644 --- a/SMODS.Center/SMODS.Edition.md +++ b/SMODS.Center/SMODS.Edition.md @@ -48,6 +48,9 @@ - Used to modify Card when edition is applied - `on_remove(card) -> void` - Used to modify Card when edition is removed +- `calc_scaling(self, card, other_card, initial_value, scalar_value, args) -> table` [(reference)](https://github.com/Steamodded/smods/wiki/Calculate-Functions#scaling-values) + - Called by `SMODS.scale_card`. Allows detection and modification of cards when scaling values. + - This only affects the card with the Edition - `on_load(card) -> void` - Used to modify Card with edition when it is loaded from save file. - `draw(self, card, layer)`