List of spells by flag
This is a list of all memorizable spells in Crawl, organized by flags, along with descriptions of those flags.
Smite-targeted spells use the target or grid flag; the former requires a target creature while the latter does not. Apportation is unique in that it "smites" an object (targ obj) rather than a creature. Beam-targeted spells use dir or target. Direction-only spells (currently, only Passwall) use dir. The not self flag prevents you from targeting yourself or your square. The restriction that Conjure Flame not target a square with a creature is handled as a special case, rather than using a flag.
The neutral and helpful flags affect the default targeting mode for the = and - targeting commands (hostiles, any, or friends), though this can always be changed by pressing control-F at the targeting prompt.
Spells with the flags unholy, chaotic, unclean, or hasty offend some gods (as do Necromancy spells regardless of flags). See the descriptions below for more details.