Skip to content
Open
Show file tree
Hide file tree
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
9 changes: 9 additions & 0 deletions localization/en-us.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5230,6 +5230,15 @@ return {
"sticker to leftmost {C:attention}Joker"
}
},
j_poke_volcanion = {
name = 'Volcanion',
text = {
"Gain {X:mult,C:white}X#2#{} if total {C:chips}chips{} of scoring hand",
"is greater than previous total: {C:chips}#3#{}",
"double {X:mult,C:white}X{} Mult then reset self on failure",
"{C:inactive}(Currently {X:mult,C:white}X#1#{C:inactive})",
}
},
j_poke_grubbin = {
name = 'Grubbin',
text = {
Expand Down
52 changes: 51 additions & 1 deletion pokemon/pokejokers_25.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,54 @@
-- Volcanion 721
local volcanion ={
name = "volcanion",
--pos = {x = 0, y = 0},
--soul_pos = { x = 0, y = 0},
config = {extra = {currXmult = 1, Xmult_mod = 1, chipTotal = 0, reset = false}},
loc_vars = function(self, info_queue, card)
type_tooltip(self, info_queue, card)
return {vars = {card.ability.extra.currXmult, card.ability.extra.Xmult_mod, card.ability.extra.chipTotal}}
end,
rarity = 4, --Legendary
cost = 20,
stage = "Legendary",
ptype = "Fire",
--atlas = "",
gen = 6,
blueprint_compat = true,
designer = "Thor's Girdle",

calculate = function(self, card, context)
if context.before and not context.blueprint then
local tempChipTotal = 0
for i, v in ipairs(context.scoring_hand) do
if not v.debuff then
tempChipTotal = tempChipTotal + poke_total_chips(v)
end
end
if tempChipTotal > card.ability.extra.chipTotal then
card.ability.extra.currXmult = card.ability.extra.currXmult + card.ability.extra.Xmult_mod
card.ability.extra.chipTotal = tempChipTotal
else
card.ability.extra.reset = true
end
end

if context.joker_main then
if card.ability.extra.reset == true and not context.blueprint then
card.ability.extra.currXmult = card.ability.extra.currXmult * 2
end
return {
xmult = card.ability.extra.currXmult
}
end

if context.after and card.ability.extra.reset == true and not context.blueprint then
card.ability.extra.currXmult = 1
card.ability.extra.reset = false
card.ability.extra.chipTotal = 0
end
end,
}
-- Rowlet 722
-- Dartrix 723
-- Decidueye 724
Expand Down Expand Up @@ -308,5 +358,5 @@ local lycanroc_dusk={
-- Mudbray 749
-- Mudsdale 750
return {name = "Pokemon Jokers 721-750",
list = {grubbin, charjabug, vikavolt, rockruff, lycanroc_day, lycanroc_night, lycanroc_dusk},
list = {volcanion, grubbin, charjabug, vikavolt, rockruff, lycanroc_day, lycanroc_night, lycanroc_dusk},
}