OSDN Git Service

spell_summon()内のspell_in_between()を廃止
authorSlimebreath6078 <slimebreath6078@yahoo.co.jp>
Sat, 5 Aug 2023 18:56:53 +0000 (03:56 +0900)
committerSlimebreath6078 <slimebreath6078@yahoo.co.jp>
Sun, 6 Aug 2023 07:53:13 +0000 (16:53 +0900)
src/mspell/mspell-selector.cpp

index 57061c1..feb9f32 100644 (file)
@@ -90,7 +90,7 @@ static bool spell_annoy(MonsterAbilityType spell)
  */
 static bool spell_summon(MonsterAbilityType spell)
 {
-    return spell_in_between(spell, MonsterAbilityType::S_KIN, MonsterAbilityType::S_DEAD_UNIQUE);
+    return RF_ABILITY_SUMMON_MASK.has(spell);
 }
 
 /*!