OSDN Git Service

Merge pull request #2429 from habu1010/feature/vector-dungeon-r_char
[hengbandforosx/hengbandosx.git] / src / spell / spells-describer.cpp
1 #include "spell/spells-describer.h"
2
3 /*!
4  * @brief 領域魔法に応じて技能の名称を返す。
5  * @param tval 魔法書のtval
6  * @return 領域魔法の技能名称を保管した文字列ポインタ
7  */
8 concptr spell_category_name(ItemKindType tval)
9 {
10     switch (tval) {
11     case ItemKindType::HISSATSU_BOOK:
12         return _("必殺技", "art");
13     case ItemKindType::LIFE_BOOK:
14         return _("祈り", "prayer");
15     case ItemKindType::MUSIC_BOOK:
16         return _("歌", "song");
17     default:
18         return _("呪文", "spell");
19     }
20 }