git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5028 c06c8d41-db1a-0410-9941-cceddc491573
R57NHAVK7JTPZ2CNEVOGC3XLU4I5GCPJ2PEXVNDV4HNESLKXT5AQC
QIHESOUNY5H7T56DAVXJMZRBUJPDMLHGTM34WIMPCWSUM72Z6QPQC
UIVESOFZ4C262RYTFHSTFZIYTPTWSRJCFJAOZX7O2PQ35DFRDDEAC
7AMQN7MITMXBNVDAK5VOXTQ4TZIAOD6ZLOFJG7GQMBTY23Y2BKSAC
RBAGQ2PB7V5YAM5KSHSZR2E3MLKDSRVM5XYGI2TIXP5QMVBOQHDQC
VUWJVWO2E2ADJ6CZGDHAQCXZOGI7AMMZZW4QSHREXMVTQDTZQPUAC
SG76BPJKTQGDFNP5QFMAVR6H72FMMAYCECVGSWWSCLMAVQX7E3FQC
DDU4A3JGN5IUIPP5IASOODKPR2WBHSDSV4FITZ6HNXNSXXQACWAQC
VMATCICB4F6UPNDTZ4AA6XT6JD33HG5T5Z33GLPPYEGI5HIJ6UBQC
/*
Order for looking for conjurations for the 1st & 2nd spell slots,
when finding spells to be remembered by a player's ghost:
*/
// Order for looking for conjurations for the 1st & 2nd spell slots,
// when finding spells to be remembered by a player's ghost.
/*
Order for looking for enchants for the 4th + 5th spell slot. If fails, will
go through conjs.
Note: Dig must be in misc2 (5th) position to work.
*/
// Order for looking for enchants for the 4th & 5th spell slots. If
// this fails, go through conjurations. Note: Dig must be in misc2
// (5th) position to work.
/* This bit uses the list of player spells to find appropriate spells
for the demon, then converts those spells to the monster spell indices.
Some special monster-only spells are at the end. */
// This bit uses the list of player spells to find appropriate
// spells for the demon, then converts those spells to the monster
// spell indices. Some special monster-only spells are at the end.
/*
Used when creating ghosts: goes through and finds spells for the ghost to
cast. Death is a traumatic experience, so ghosts only remember a few spells.
*/
void ghost_demon::add_spells( )
// Used when creating ghosts: goes through and finds spells for the
// ghost to cast. Death is a traumatic experience, so ghosts only
// remember a few spells.
void ghost_demon::add_spells()
/*
When passed the number for a player spell, returns the equivalent monster
spell. Returns SPELL_NO_SPELL on failure (no equiv).
*/
// When passed the number for a player spell, returns the equivalent
// monster spell. Returns SPELL_NO_SPELL on failure (no equivalent).