Skip to content

Commit 208228e

Browse files
authored
Merge pull request #764 from 70UNIK/Abstract_crash_fix
Abstract crash fix + description fix
2 parents 8fd0081 + 1d5f381 commit 208228e

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

items/misc.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2562,10 +2562,10 @@ return {
25622562
if self.config.center_key == "m_cry_abstract" and not self.ability.extra.marked then
25632563
if
25642564
SMODS.pseudorandom_probability(
2565-
card,
2565+
self,
25662566
"cry_abstract_destroy2",
25672567
1,
2568-
card and card.ability and card.ability.extra and card.ability.extra.odds_after_round
2568+
self and self.ability and self.ability.extra and self.ability.extra.odds_after_round
25692569
or self.config.extra.odds_after_round
25702570
or 4
25712571
)

localization/en-us.lua

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1000,11 +1000,12 @@ return {
10001000
m_cry_abstract = {
10011001
name = "Abstract Card",
10021002
text = {
1003-
"{X:dark_edition,C:white}^#1#{} Mult,",
1003+
"{X:dark_edition,C:white}^#1#{} Mult",
10041004
"Counts as its {C:attention}own{} rank and suit",
1005-
"{C:green}#4# in #5#{} chance to",
1006-
"{C:red,E:2}destroy{} card when held at",
1007-
"{C:attention}round end{} or {C:attention}hand played{}",
1005+
"{C:green}#2# in #3#{} chance to {C:red,E:2}destroy{} card",
1006+
"when held after {C:attention}hand played{}",
1007+
"{C:green}#4# in #5#{} chance to {C:red,E:2}destroy{} card",
1008+
"when held after {C:attention}round",
10081009
},
10091010
},
10101011
},

0 commit comments

Comments
 (0)