Buff hand phone

This commit is contained in:
Emik 2026-02-21 20:07:39 +01:00
parent 08a70d4b7d
commit f1af4118e4
Signed by: emik
GPG key ID: 6B0CD72A5E503BDF
2 changed files with 8 additions and 8 deletions

View file

@ -44,7 +44,7 @@ return {
},
BakeryCharm_Roland_hand = {
name = "hand phone",
text = {"{C:attention}+#1# {}hand size", "Set hands to {C:blue}#2#"},
text = {"{C:attention}+#1# {}hand size", "{C:blue}#2# {}hands"},
},
BakeryCharm_Roland_wii = {
name = "wii phone",

View file

@ -186,23 +186,23 @@ end
charm {
key = "hand",
pronouns = "he_him",
config = {extra = {hands = 1, hand_size = 5}},
config = {extra = {hands = -2, hand_size = 5}},
loc_vars = function(_, _, card)
local extra = card.ability.extra
return {vars = {extra.hand_size, extra.hands}}
end,
equip = function(_, card)
local extra = card.ability.extra
local round = G.GAME.round_resets
ease_hands_played(extra.hands)
G.hand:change_size(extra.hand_size)
card.Roland_hands = G.GAME.round_resets.hands - card.ability.extra.hands
G.GAME.round_resets.hands = card.ability.extra.hands
ease_hands_played(-card.Roland_hands)
round.hands = round.hands + extra.hands
end,
unequip = function(_, card)
local extra = card.ability.extra
local round = G.GAME.round_resets
ease_hands_played(-extra.hands)
G.hand:change_size(-extra.hand_size)
G.GAME.round_resets.hands = G.GAME.round_resets.hands + (card.Roland_hands or 0)
ease_hands_played(card.Roland_hands or 0)
card.Roland_hands = nil
round.hands = round.hands - extra.hands
end,
}