Cookie Clicker Wiki
Advertisement

The Grimoire is a minigame added on July 15, 2017, Version 2.0034. It is unlocked by spending one sugar lump to upgrade Wizard Towers to level 1.

It has several spells that can be cast:

Spell Magic Cost Chance to Backfire Effect Backfire

Conjure Baked Goods

2 magic +40% of max magic 15% Summon half an hour worth of your CpS, capped at 15% of your cookies owned. Trigger a 15-minute clot and lose 15 minutes of CpS.
Force the Hand of Fate 10 magic +60% of max magic 15% Summon a random golden cookie. Each existing golden cookie makes this spell +15% more likely to backfire. Summon an unlucky wrath cookie.
Stretch Time 8 magic +20% of max magic 15% All active buffs gain 10% more time (up to 5 more minutes). All active buffs are shortened by 20% (up to 10 minutes shorter).
Spontaneous Edifice 20 magic +75% of max magic 15% The spell picks a random building you could afford if you had twice your current cookies, and gives it to you for free. The building selected must be under 400, and cannot be your most-built one (unless it is your only one). Lose a random building.
Haggler's Charm[1] 10 magic +10% of max magic 15% Upgrades are 2% cheaper for 1 minute. Upgrades are 2% more expensive for an hour.
Summon Crafty Pixies 10 magic +20% of max magic 15% Buildings are 2% cheaper for 1 minute. Buildings are 2% more expensive for an hour.
Gambler's Fever Dream 3 magic +5% of max magic Cast a random spell at half the magic cost, with twice the chance of backfiring.
Resurrect Abomination 20 magic +10% of max magic 15% Instantly summon a wrinkler if conditions are fulfilled. Pop one of your wrinklers.
Diminish Ineptitude 5 magic +20% of max magic 15% Spells backfire 10 times less for the next 5 minutes. Spells backfire 5 times more for the next 10 minutes.

Each spell costs magic to use. Your maximum amount of magic varies depending on your amount of wizard towers, and their level. Magic refills over time. The lower your magic meter, the slower it refills.

Selling wizard towers will reduce maximum mana, but not current mana if it is lower than the new reduced maximum mana. This is allowing to cast Force the Hand of Fate once, then selling wizard towers to reduce the cost of a second cast. At 100 magic / 100 magic max, the first Force spell would cost 70 magic, letting 30 magic available. Selling towers to reduce magic max to 33, will make the cost of a second Force spell to go down to 30 magic, effectively allowing a double cast without the use of a sugar lump.

Outcome of Force the Hand of Fate

The mechanism of this spell follows random list mechanism. However, there is no "remove the last effect from the list" rule which makes the calculation simpler (primitive probability is enough).

For golden cookie, the rules are:

  • Add Frenzy and Lucky to a pool.
  • If there is no Dragonflight buff active, add Click Frenzy.
  • 10% chance to add Chain, Storm and Blab to the pool.
  • 25% chance to add Building Special, if the you owned more than or equal to 10 total building.
    • For all building of which number more or equal to 10, choose one and buff according the chosen building's amount. If no building has such quantity, choose Frenzy.
  • 15% chance to replace the pool with Storm Drop.
  • 0.01% chance to add Free Sugar Lump to the pool.
  • Pick a random effect from the pool.

In following we assume at least one building's number is more or equal to 10.

The final results are:

No Dragonflight buff

Frenzy=Lucky=C. Frenzy Chain=Storm=Blab Building StormDrop Sugar
Exact
Approx. 25.27172871% 1.366052455% 5.084722009% 14.99925% 0.002684508929%
With Dragonflight buff

Frenzy=Lucky Chain=Storm=Blab Building StormDrop Sugar
Exact
Approx. 36.69052473% 1.629140357% 6.729002232% 14.99925% 0.003277232143%

For wrath cookie (backfire), the rules are:

  • Add Clot and Ruin to a pool.
  • 10% chance to add Cursed Finger and Elder Frenzy to the pool.
  • 0.3% chance to add Free Sugar Lump to the pool.
  • 10% chance to replace the pool with Blab.
  • Pick a random effect from the pool.

The final result is:


Clot=Ruin Cursed Finger=Elder Frenzy Sugar Blab
Exact
Exact 42.70815% 2.24865% 0.0864% 10%

Manipulation

Oddly enough, the seed used to determine the outcome of casting a spell is stored in your save-file as for version v2.0042. This means that if you save the game, cast a spell, re-load the game, and cast the same spell, the outcome will be the same. This means that you can check in advance to see whether a spell will have a favorable outcome, and then use that spell at a later time with predictable results. One application of this is using Force the Hand of Fate to confirm either a Click Frenzy, or Elder Frenzy cookie will be generated and use that during a Frenzy, Building Special or/and Dragonflight buff.

Also, the seed for whether a spell will backfire or not is also stored, but is stored as a general effect, not tied to each specific spell. This can be manipulated so that the backfire can be "wasted" on a spell that won't have as much of an impact, such as using it on Diminish Inepitude to make it cause backfires to occur 5 times more likely for 10 minutes, and then not use spells during those 10 minutes, or use it on Haggler's Charm to cause upgrades to be 2% more expensive for an hour when no upgrades are available to purchase, or are too expensive to purchase within the hour.

Mana recharge time

...where magicM is the maximum amount of magic currently available, begin is the current mana level, and end is the desired mana level. Assuming the game is running at normal speed, the result is in minutes, plus or minus a few seconds.

Optimal magic levels

Spells can be repeatedly cast as long as there is enough magic in the magic bar to cast it. For every spell, there is an optimal value of maximum magic (the maximum amount of magic your magic bar can hold) that will allow the magic to regenerate in the shortest amount of time. These values and times are recorded in the table below. Some spells have useless maximum magics, like the impossible 11 of Conjure Baked Goods or the insanely large 104 of Resurrect Abomination, so good alternatives have been listed as well.

Name Optimal Max Magic Cost to Cast Time Until Recharged
Conjure Baked Goods 11 6 423 seconds
16 8 441 seconds
21 10 465 seconds
Force the Hand of Fate 44 36 1311 seconds
Stretch Time 52 18 486 seconds
Spontaneous Edifice 99 94 2618 seconds
95 91 2633 seconds
91 88 2661 seconds
Haggler's Charm 94 19 363 seconds
84 18 366 seconds
Summon Crafty Pixies 67 23 540 seconds
Resurrect Abomination 104 30 561 seconds
94 29 563 seconds
84 28 581 seconds
Diminish Ineptitude 32 11 391 seconds

The interactive graph with more information can be found here. Replace the "C" in the top equation with any of the other letters, each corresponds to the respective spells.

With this information, we can see that casting Haggler's Charm with 94 max magic is the fastest way to cast spells, but casting Conjure Baked Goods with low max magic is a good alternative while remaining useful in getting cookies.

Achievements

Icon Name Description ID
File:Bibbidi-bobbidi-boo.png Bibbidi-bobbidi-boo Cast 9 spells. 321
File:ImTheWiz.png I'm the wiz Cast 99 spells. 322
File:A wizard is you.png A wizard is you Cast 999 spells.

"I'm a what?"

323
  1. Flavour text - "What's that spell? Loadsamoney!" # A reference to the song Loadsamoney (Doing up the house) by Harry Enfield, featuring the lines "Whats that spell? Loadsamoney, probably"

Trivia

  • The description "I'm a what?" could be a reference to Harry Potter.
  • "I'm the wiz" is a reference to a character in the Seinfeld episode "The Junk Mail"
  • Bibbidi-bobbidi-boo is a reference to Disney's Cinderella.
  • "A wizard is you" is a reference to "A winner is you," a meme from Nintendo Pro Wrestling.
  • Conjure Baked Goods gives a base amount of cookies of 7 when used at a CPS of 0. The only way to get this is through the use of it during a Cursed Finger Wrath Cookie effect, due to always having CPS above 0 when using the spell (it is required to own Wizard Towers in order to use spells), but Cursed Finger sets your CPS to 0 for the duration of the effect.
  • Golden Cookies spawned from the Force the Hand of Fate spell are glitched - Cookie Chains don't usually go beyond the initial cookie, using the spell (regardless of outcome or effect) during a cookie chain will cause the next Golden Cookie in the chain to give a different effect (such as a Frenzy, Lucky or Clot if Wrath), and "Lucky" can give less than 15 minutes worth of cookies, even when owning sufficient cookies for 15 minutes worth to be the lower value, giving as low as 1 minute's worth of cookies.
Advertisement