File tree Expand file tree Collapse file tree 3 files changed +7
-36
lines changed
Expand file tree Collapse file tree 3 files changed +7
-36
lines changed Original file line number Diff line number Diff line change @@ -3278,15 +3278,6 @@ local patch = {
32783278 end
32793279 CARD .debuff = false
32803280 CARD .cry_debuff_immune = true
3281- CARD .ability .perishable = nil
3282- CARD .pinned = nil
3283- CARD :set_rental (nil )
3284- if not CARD .sob then
3285- CARD :set_eternal (nil )
3286- end
3287- CARD .ability .banana = nil
3288- CARD .ability .cry_possessed = nil
3289- SMODS .Stickers .cry_flickering :apply (CARD , nil )
32903281 play_sound (" tarot2" , percent )
32913282 CARD :juice_up (0.3 , 0.3 )
32923283 return true
@@ -3303,15 +3294,6 @@ local patch = {
33033294 CARD :flip ()
33043295 end
33053296 CARD .debuff = false
3306- CARD .ability .perishable = nil
3307- CARD .pinned = nil
3308- CARD :set_rental (nil )
3309- if not CARD .sob then
3310- CARD :set_eternal (nil )
3311- end
3312- CARD .ability .banana = notify_alert
3313- CARD .ability .cry_possessed = nil
3314- SMODS .Stickers .cry_flickering :apply (CARD , nil )
33153297 play_sound (" card1" , percent )
33163298 CARD :juice_up (0.3 , 0.3 )
33173299 return true
@@ -3328,15 +3310,6 @@ local patch = {
33283310 CARD :flip ()
33293311 end
33303312 CARD .debuff = false
3331- CARD .ability .perishable = nil
3332- CARD .pinned = nil
3333- CARD :set_rental (nil )
3334- if not CARD .sob then
3335- CARD :set_eternal (nil )
3336- end
3337- CARD .ability .banana = nil
3338- CARD .ability .cry_possessed = nil
3339- SMODS .Stickers .cry_flickering :apply (CARD , nil )
33403313 play_sound (" card1" , percent )
33413314 CARD :juice_up (0.3 , 0.3 )
33423315 return true
@@ -5108,7 +5081,7 @@ local code_cards = {
51085081 oboe ,
51095082 rework ,
51105083 rework_tag ,
5111- -- patch,
5084+ patch ,
51125085 ctrl_v ,
51135086 inst ,
51145087 alttab ,
Original file line number Diff line number Diff line change @@ -486,8 +486,9 @@ return {
486486 c_cry_patch = {
487487 name = " ://PATCH" ,
488488 text = {
489- " Remove all debuffs and stickers " ,
489+ " Remove all {C:cry_code} debuffs" ,
490490 " from currently visible items" ,
491+ " {C:cry_code}Resets{} shop state"
491492 },
492493 },
493494 c_cry_payload = {
Original file line number Diff line number Diff line change @@ -118,13 +118,10 @@ match_indent = true
118118# Removes cry_debuff_immune at the end of the round
119119[[patches ]]
120120[patches .pattern ]
121- target = " functions/state_events .lua"
122- pattern = ' for i = 1, #G.jokers.cards do '
123- position = " before "
121+ target = ''' =[SMODS _ "src/utils .lua"] '''
122+ pattern = ' -- TARGET: effects after end of round evaluation '
123+ position = " after "
124124payload = '''
125- for i = 1, #G.playing_cards do
126- local CARD = G.playing_cards[i]
127- CARD.cry_debuff_immune = false
128- end
125+ card.cry_debuff_immune = false
129126'''
130127match_indent = true
You can’t perform that action at this time.
0 commit comments