• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision858b2e4f4eb296c16bd9ea3da4795ff3c52ad610 (tree)
Time2003-06-10 23:44:08
Authornothere <nothere@0568...>
Commiternothere

Log Message

no_inate指定は魔法以外全部に対するものと考えるので, no_inate時に禁止
される対象をRF?_NOMAGIC_MASKとした.

Change Summary

Incremental Difference

--- a/src/mspells1.c
+++ b/src/mspells1.c
@@ -1390,9 +1390,9 @@ bool make_attack_spell(int m_idx)
13901390 /* Forbid inate attacks sometimes */
13911391 if (no_inate)
13921392 {
1393- f4 &= ~(RF4_BREATH_MASK);
1394- f5 &= ~(RF5_BREATH_MASK);
1395- f6 &= ~(RF6_BREATH_MASK);
1393+ f4 &= ~(RF4_NOMAGIC_MASK);
1394+ f5 &= ~(RF5_NOMAGIC_MASK);
1395+ f6 &= ~(RF6_NOMAGIC_MASK);
13961396 }
13971397
13981398 if (!p_ptr->csp)
Show on old repository browser