OSDN Git Service

[Refactor] #40634 Removed dependencies for spells-*.h in acivation-switcher.c
[hengband/hengband.git] / src / object-activation / activation-others.c
index 0f1e456..88f40c4 100644 (file)
@@ -320,3 +320,30 @@ bool activate_map_light(player_type *user_ptr)
     lite_area(user_ptr, damroll(2, 15), 3);
     return TRUE;
 }
+
+bool activate_exploding_rune(player_type *user_ptr)
+{
+    msg_print(_("\96¾\82é\82¢\90Ô\90F\82É\8bP\82¢\82Ä\82¢\82é...", "It glows bright red..."));
+    explosive_rune(user_ptr, user_ptr->y, user_ptr->x);
+    return TRUE;
+}
+
+bool activate_protection_rune(player_type *user_ptr)
+{
+    msg_print(_("\83u\83\8b\81[\82É\96¾\82é\82­\8bP\82¢\82Ä\82¢\82é...", "It glows light blue..."));
+    warding_glyph(user_ptr);
+    return TRUE;
+}
+
+bool activate_light(player_type *user_ptr, concptr name)
+{
+    msg_format(_("%s\82©\82ç\90\9f\82ñ\82¾\8cõ\82ª\82 \82Ó\82ê\8fo\82½...", "The %s wells with clear light..."), name);
+    lite_area(user_ptr, damroll(2, 15), 3);
+    return TRUE;
+}
+
+bool activate_recall(player_type *user_ptr)
+{
+    msg_print(_("\82â\82í\82ç\82©\82È\94\92\90F\82É\8bP\82¢\82Ä\82¢\82é...", "It glows soft white..."));
+    return recall_player(user_ptr, randint0(21) + 15);
+}