• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revisão4c83d9332514300152e19d1e4234098d4bca8247 (tree)
Hora2018-08-02 21:13:47
AutorDeskull <deskull@user...>
CommiterDeskull

Mensagem de Log

[Implement] #37468 SUMMONとREFLECTの効果音処理と効果音一つを追加。 / Add a sound file and sound processes for SUMMON and REFLECT.

Mudança Sumário

Diff

--- a/lib/xtra/sound/sound.cfg
+++ b/lib/xtra/sound/sound.cfg
@@ -50,7 +50,6 @@ x_heal =
5050 bite =
5151 claw =
5252 m_spell =
53-summon = se_maoudamashii_voice_monster01.wav
5453 breath =
5554 ball =
5655 m_heal =
@@ -78,5 +77,5 @@ show =
7877 unused =
7978 explode =
8079 glass =
81-summon =
82-reflect =
80+summon = enemy-advent1-r.wav
81+reflect = sword-clash1-r.wav
Binary files /dev/null and b/lib/xtra/sound/sword-clash1-r.wav differ
--- a/src/monster2.c
+++ b/src/monster2.c
@@ -4047,6 +4047,7 @@ bool summon_specific(MONSTER_IDX who, POSITION y1, POSITION x1, DEPTH lev, int t
40474047
40484048 summon_specific_type = 0;
40494049 /* Success */
4050+ sound(SOUND_SUMMON);
40504051 return (TRUE);
40514052 }
40524053
--- a/src/spells1.c
+++ b/src/spells1.c
@@ -5218,6 +5218,7 @@ static bool project_p(int who, cptr who_name, int r, POSITION y, POSITION x, HIT
52185218 {
52195219 POSITION t_y, t_x;
52205220 int max_attempts = 10;
5221+ sound(SOUND_REFLECT);
52215222
52225223 if (blind)
52235224 msg_print(_("何かが跳ね返った!", "Something bounces!"));
@@ -7604,6 +7605,7 @@ bool project(MONSTER_IDX who, POSITION rad, POSITION y, POSITION x, HIT_POINT da
76047605 t_x = x_saver;
76057606 }
76067607
7608+ sound(SOUND_REFLECT);
76077609 if (is_seen(m_ptr))
76087610 {
76097611 if ((m_ptr->r_idx == MON_KENSHIROU) || (m_ptr->r_idx == MON_RAOU))
Show on old repository browser