Log in

Mana producer

This encompasses several aspects of mana production, from seeing whether the activated ability to be played, to producing the mana. It also tells the AI that 1 mana of the appropriate type can be ade from this permanent.

The colors of mana this permanent can produce are identified by the color(s) of the permanent in magic.exe.

For an example of how to combine a mana producer with an additional effect, see Kjeldoran Outpost.

If you're coding a non-artifact, non-land permanent that is able to produce mana not of his colors, you need to define them in the "get_color_of_mana_produced_by_id" functions in functions.c