#include "mind/mind-force-trainer.h"
+#include "cmd-action/cmd-pet.h"
/*!
* @brief 練気術師が「練気」で溜めた気の量を返す
caster_ptr->magic_num1[0] += ki;
}
+
+bool clear_mind(player_type *creature_ptr)
+{
+ if (total_friends) {
+ msg_print(_("今はペットを操ることに集中していないと。", "Your pets demand all of your attention."));
+ return FALSE;
+ }
+
+ msg_print(_("少し頭がハッキリした。", "You feel your head clear a little."));
+
+ creature_ptr->csp += (3 + creature_ptr->lev / 20);
+ if (creature_ptr->csp >= creature_ptr->msp) {
+ creature_ptr->csp = creature_ptr->msp;
+ creature_ptr->csp_frac = 0;
+ }
+
+ creature_ptr->redraw |= (PR_MANA);
+ return TRUE;
+}
MAGIC_NUM1 get_current_ki(player_type *caster_ptr);
void set_current_ki(player_type *caster_ptr, bool is_reset, MAGIC_NUM1 ki);
+bool clear_mind(player_type *creature_ptr);
#include "mind/racial-balrog.h"
#include "mind/mind-cavalry.h"
#include "mind/racial-draconian.h"
+#include "mind/mind-force-trainer.h"
#include "mind/mind-mirror-master.h"
#include "mind/mind-samurai.h"
#include "mind/mind-warrior.h"
creature_ptr->redraw |= (PR_HP | PR_MANA);
return TRUE;
}
-
-
-bool clear_mind(player_type *creature_ptr)
-{
- if (total_friends)
- {
- msg_print(_("今はペットを操ることに集中していないと。", "Your pets demand all of your attention."));
- return FALSE;
- }
-
- msg_print(_("少し頭がハッキリした。", "You feel your head clear a little."));
-
- creature_ptr->csp += (3 + creature_ptr->lev / 20);
- if (creature_ptr->csp >= creature_ptr->msp)
- {
- creature_ptr->csp = creature_ptr->msp;
- creature_ptr->csp_frac = 0;
- }
-
- creature_ptr->redraw |= (PR_MANA);
- return TRUE;
-}
bool double_attack(player_type* creature_ptr);
bool comvert_hp_to_mp(player_type* creature_ptr);
bool comvert_mp_to_hp(player_type* creature_ptr);
-bool clear_mind(player_type* creature_ptr);
bool vanish_dungeon(player_type* caster_ptr);