Skip to content

Commit

Permalink
feat(trollker): scale faster and start at 1x
Browse files Browse the repository at this point in the history
  • Loading branch information
Aiz0 committed May 11, 2024
1 parent 2353314 commit 178a5f7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
11 changes: 6 additions & 5 deletions jokers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -703,16 +703,16 @@ function Jokers()
"Mult at end of round.",
"This joker may do",
"a little bit of {C:attention,E:1,S:1.1}Trolling",
"{C:inactive}(Currently {X:mult,C:white}X#1#{C:inactive})",
"{C:inactive}(Currently {X:mult,C:white}X#1#{C:inactive} Mult)",
},
},
ability_name = "Aiz Trollker",
slug = "aiz_trollker",
ability = {
extra = {
Xmult = 2,
Xmult_mod = 0.5,
cards_per_mult = 4,
Xmult = 1,
Xmult_mod = 1,
cards_per_mult = 3,
cards = {},
card_positions = {},
},
Expand Down Expand Up @@ -764,7 +764,8 @@ function Jokers()
then
card_eval_status_text(card, "extra", nil, nil, nil, { message = localize("k_aiz_trolled") })
-- spawn a card for each mult it gives
for i = 1, math.floor(card.ability.extra.Xmult * card.ability.extra.cards_per_mult), 1 do
-- -1 so that it only starts spawning cards when it gives xmult
for i = 1, math.floor((card.ability.extra.Xmult - 1) * card.ability.extra.cards_per_mult), 1 do
-- IDK if these values work everywhere but i guess its good enough for now
local position = {
x = pseudorandom("trollker", 0, 18),
Expand Down
4 changes: 2 additions & 2 deletions site/src/jokers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ const jokers = [
{
name: "Trollker",
text: [
"This Joker gains {X:mult,C:white}X0.5",
"This Joker gains {X:mult,C:white}X1",
"Mult at end of round.",
"This joker may do",
"a little bit of {C:attention,E:1,S:1.1}Trolling",
"{C:inactive}(Currently {X:mult,C:white}X2{C:inactive})",
"{C:inactive}(Currently {X:mult,C:white}X1{C:inactive} Mult)",
],
badge: "Rare",
image: "j_aiz_trollker",
Expand Down

0 comments on commit 178a5f7

Please sign in to comment.