Home
last modified time | relevance | path

Searched refs:can_learn_spell (Results 1 – 14 of 14) sorted by relevance

/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/
H A Dspl-book.h34 bool can_learn_spell(bool silent = false);
H A Dtilereg-mem.cc145 if (!can_learn_spell(true) in update()
H A Dspl-book.cc828 bool can_learn_spell(bool silent) in can_learn_spell() function
901 if (!wizard && !can_learn_spell()) in _learn_spell_checks()
H A Dtilereg-inv.cc436 && can_learn_spell(true)) in update_tip_text()
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/
H A Dmagic.h578 bool can_learn_spell( const Character &guy, const spell_id &sp ) const;
H A Dmagic.cpp1498 if( can_learn_spell( guy, sp->id ) && !guy.has_trait( sp->spell_class ) ) { in learn_spell()
1527 if( force || can_learn_spell( guy, sp->id ) ) { in learn_spell()
1553 bool known_magic::can_learn_spell( const Character &guy, const spell_id &sp ) const in can_learn_spell() function in known_magic
H A Dnpc.cpp1523 if( p.magic->can_learn_spell( p, sp ) ) { in spells_offered_to()
H A Diuse_actor.cpp2206 if( p.magic->can_learn_spell( p, sp_id ) ) { in use()
H A Ditem.cpp4310 player_character.magic->can_learn_spell( player_character, sp_id ) ) { in color_in_inventory()
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/
H A Dmagic.h578 bool can_learn_spell( const Character &guy, const spell_id &sp ) const;
H A Dmagic.cpp1498 if( can_learn_spell( guy, sp->id ) && !guy.has_trait( sp->spell_class ) ) { in learn_spell()
1527 if( force || can_learn_spell( guy, sp->id ) ) { in learn_spell()
1553 bool known_magic::can_learn_spell( const Character &guy, const spell_id &sp ) const in can_learn_spell() function in known_magic
H A Dnpc.cpp1523 if( p.magic->can_learn_spell( p, sp ) ) { in spells_offered_to()
H A Diuse_actor.cpp2206 if( p.magic->can_learn_spell( p, sp_id ) ) { in use()
H A Ditem.cpp4310 player_character.magic->can_learn_spell( player_character, sp_id ) ) { in color_in_inventory()