Skip to content

Commit fdf7fab

Browse files
authored
Merge pull request #486 from oklexi/main
2 parents 8adb151 + 57a35cc commit fdf7fab

File tree

2 files changed

+24
-7
lines changed

2 files changed

+24
-7
lines changed

items/misc_joker.lua

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7833,16 +7833,31 @@ local eyeofhagane = {
78337833
atlas = "atlastwo", -- https://discord.com/channels/1264429948970733782/1274103559113150629/1351479917367263312
78347834
calculate = function(self, card, context)
78357835
if context.before then
7836-
for i = 1, #context.full_hand do
7837-
if context.full_hand[i]:is_face() then
7838-
context.full_hand[i]:set_ability(G.P_CENTERS["m_steel"], nil, true)
7836+
local faces = {}
7837+
for k, v in ipairs(context.scoring_hand) do
7838+
if v:is_face() then
7839+
faces[#faces+1] = v
7840+
v:set_ability(G.P_CENTERS.m_steel, nil, true)
7841+
G.E_MANAGER:add_event(Event({
7842+
func = function()
7843+
v:juice_up()
7844+
return true
7845+
end
7846+
}))
78397847
end
78407848
end
7849+
if #faces > 0 then
7850+
return {
7851+
message = "Steel",
7852+
colour = G.C.UI.TEXT_INACTIVE,
7853+
card = self
7854+
}
7855+
end
78417856
end
78427857
end,
78437858
cry_credits = {
78447859
idea = { "Soren" },
7845-
code = { "Nova" },
7860+
code = { "Lexi" },
78467861
art = { "Soren" },
78477862
},
78487863
}

localization/en-us.lua

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1466,9 +1466,11 @@ return {
14661466
},
14671467
j_cry_eyeofhagane = {
14681468
name = "Eye of Hagane",
1469-
text = {
1470-
"All played {C:attention}face{} cards become {C:attention}Steel{}",
1471-
},
1469+
text = {
1470+
"All played {C:attention}face{} cards",
1471+
"become {C:attention}Steel{} cards",
1472+
"when scored",
1473+
},
14721474
},
14731475
j_cry_facile = {
14741476
name = "Facile",

0 commit comments

Comments
 (0)