@@ -353,58 +353,16 @@ local legendary = {
353353 },
354354 name = " cry-Legendary" ,
355355 key = " legendary" ,
356- config = { cry_legendary = true , cry_legendary_rate = 0.2 },
356+ config = { cry_legendary = true , cry_legendary_rate = 0.33 },
357357 pos = { x = 0 , y = 6 },
358358 atlas = " atlasdeck" ,
359359 order = 15 ,
360360 calculate = function (self , back , context )
361361 if context .context == " eval" and Cryptid .safe_get (G .GAME , " last_blind" , " boss" ) then
362- if G .jokers then
363- if # G .jokers .cards < G .jokers .config .card_limit then
364- local legendary_poll = pseudorandom (pseudoseed (" cry_legendary" ))
365- legendary_poll = legendary_poll / (G .GAME .probabilities .normal or 1 )
366- if legendary_poll < self .config .cry_legendary_rate then
367- local card = create_card (" Joker" , G .jokers , true , 4 , nil , nil , nil , " " )
368- card :add_to_deck ()
369- card :start_materialize ()
370- G .jokers :emplace (card )
371- return true
372- else
373- card_eval_status_text (
374- G .jokers ,
375- " jokers" ,
376- nil ,
377- nil ,
378- nil ,
379- { message = localize (" k_nope_ex" ), colour = G .C .RARITY [4 ] }
380- )
381- end
382- else
383- card_eval_status_text (
384- G .jokers ,
385- " jokers" ,
386- nil ,
387- nil ,
388- nil ,
389- { message = localize (" k_no_room_ex" ), colour = G .C .RARITY [4 ] }
390- )
391- end
392- end
362+ SMODS .Events [" ev_cry_choco10" ]:finish ()
363+ SMODS .Events [" ev_cry_choco10" ]:start ()
393364 end
394365 end ,
395- apply = function (self )
396- G .E_MANAGER :add_event (Event ({
397- func = function ()
398- if G .jokers then
399- local card = create_card (" Joker" , G .jokers , true , 4 , nil , nil , nil , " " )
400- card :add_to_deck ()
401- card :start_materialize ()
402- G .jokers :emplace (card )
403- return true
404- end
405- end ,
406- }))
407- end ,
408366 unlocked = false ,
409367 check_for_unlock = function (self , args )
410368 if Cryptid .safe_get (G , " jokers" ) then
@@ -669,7 +627,7 @@ local antimatter = {
669627 config = {
670628 cry_antimatter = true ,
671629 cry_crit_rate = 0.25 , -- Critical Deck
672- cry_legendary_rate = 0.2 , -- Legendary Deck
630+ cry_legendary_rate = 0.33 , -- Legendary Deck
673631 -- Enhanced Decks
674632 cry_force_enhancement = " random" ,
675633 cry_force_edition = " random" ,
@@ -877,23 +835,6 @@ local antimatter = {
877835 ]]
878836 --
879837 -- Legendary Deck
880- if
881- (Cryptid .safe_get (G .PROFILES , G .SETTINGS .profile , " deck_usage" , " b_cry_legendary" , " wins" , 8 ) or 0 )
882- ~= 0
883- or skip
884- then
885- G .E_MANAGER :add_event (Event ({
886- func = function ()
887- if G .jokers then
888- local card = create_card (" Joker" , G .jokers , true , 4 , nil , nil , nil , " " )
889- card :add_to_deck ()
890- card :start_materialize ()
891- G .jokers :emplace (card )
892- return true
893- end
894- end ,
895- }))
896- end
897838 -- Encoded Deck
898839 if
899840 (Cryptid .safe_get (G .PROFILES , G .SETTINGS .profile , " deck_usage" , " b_cry_encoded" , " wins" , 8 ) or 0 )
0 commit comments