@@ -358,58 +358,16 @@ local legendary = {
358358 },
359359 name = " cry-Legendary" ,
360360 key = " legendary" ,
361- config = { cry_legendary = true , cry_legendary_rate = 0.2 },
361+ config = { cry_legendary = true , cry_legendary_rate = 0.33 },
362362 pos = { x = 0 , y = 6 },
363363 atlas = " atlasdeck" ,
364364 order = 15 ,
365365 calculate = function (self , back , context )
366366 if context .context == " eval" and Cryptid .safe_get (G .GAME , " last_blind" , " boss" ) then
367- if G .jokers then
368- if # G .jokers .cards < G .jokers .config .card_limit then
369- local legendary_poll = pseudorandom (pseudoseed (" cry_legendary" ))
370- legendary_poll = legendary_poll / (G .GAME .probabilities .normal or 1 )
371- if legendary_poll < self .config .cry_legendary_rate then
372- local card = create_card (" Joker" , G .jokers , true , 4 , nil , nil , nil , " " )
373- card :add_to_deck ()
374- card :start_materialize ()
375- G .jokers :emplace (card )
376- return true
377- else
378- card_eval_status_text (
379- G .jokers ,
380- " jokers" ,
381- nil ,
382- nil ,
383- nil ,
384- { message = localize (" k_nope_ex" ), colour = G .C .RARITY [4 ] }
385- )
386- end
387- else
388- card_eval_status_text (
389- G .jokers ,
390- " jokers" ,
391- nil ,
392- nil ,
393- nil ,
394- { message = localize (" k_no_room_ex" ), colour = G .C .RARITY [4 ] }
395- )
396- end
397- end
367+ SMODS .Events [" ev_cry_choco10" ]:finish ()
368+ SMODS .Events [" ev_cry_choco10" ]:start ()
398369 end
399370 end ,
400- apply = function (self )
401- G .E_MANAGER :add_event (Event ({
402- func = function ()
403- if G .jokers then
404- local card = create_card (" Joker" , G .jokers , true , 4 , nil , nil , nil , " " )
405- card :add_to_deck ()
406- card :start_materialize ()
407- G .jokers :emplace (card )
408- return true
409- end
410- end ,
411- }))
412- end ,
413371 unlocked = false ,
414372 check_for_unlock = function (self , args )
415373 if Cryptid .safe_get (G , " jokers" ) then
@@ -677,7 +635,7 @@ local antimatter = {
677635 config = {
678636 cry_antimatter = true ,
679637 cry_crit_rate = 0.25 , -- Critical Deck
680- cry_legendary_rate = 0.2 , -- Legendary Deck
638+ cry_legendary_rate = 0.33 , -- Legendary Deck
681639 -- Enhanced Decks
682640 cry_force_enhancement = " random" ,
683641 cry_force_edition = " random" ,
@@ -912,23 +870,6 @@ local antimatter = {
912870 ]]
913871 --
914872 -- Legendary Deck
915- if
916- (Cryptid .safe_get (G .PROFILES , G .SETTINGS .profile , " deck_usage" , " b_cry_legendary" , " wins" , 8 ) or 0 )
917- ~= 0
918- or skip
919- then
920- G .E_MANAGER :add_event (Event ({
921- func = function ()
922- if G .jokers then
923- local card = create_card (" Joker" , G .jokers , true , 4 , nil , nil , nil , " " )
924- card :add_to_deck ()
925- card :start_materialize ()
926- G .jokers :emplace (card )
927- return true
928- end
929- end ,
930- }))
931- end
932873 -- Encoded Deck
933874 if
934875 (Cryptid .safe_get (G .PROFILES , G .SETTINGS .profile , " deck_usage" , " b_cry_encoded" , " wins" , 8 ) or 0 )
0 commit comments