Skip to content

spell

spell take three numeric parameters, adds a spell to the inventory and assigns the spell to a specific spell slot of a fairy in the deck. It can only be used with NPCs.

Its parameters are:

  1. The deck slot of the fairy (0-4 incl.)
  2. The spell slot (0-3 incl.)
  3. The ID of the spell

Keep in mind that this does not check for active/passive spells, you should only put active spells into slots 0 and 2 and only put passive spells into slots 1 and 3!

Its short form is (