OSDN Git Service

[Fix] 誰得の生成でFLAVOR_SKELETONにNO_UNIQUEフラグが設定されている
authorHabu <habu1010+github@gmail.com>
Sun, 16 Jun 2024 04:12:24 +0000 (13:12 +0900)
committerHabu <habu1010+github@gmail.com>
Sun, 16 Jun 2024 04:12:24 +0000 (13:12 +0900)
おそらくモンスターの死体とは別にモンスターの骨として実装したつもり
だったと思われる。
実際は特定のモンスターのものではない骨だが、誰得の巻物によって生成
されてもよさそうなので、確率を下げたうえでNO_UNIQUEフラグは削除しておく。

src/spell/spells-object.cpp

index 75f94a8..9bc5a8d 100644 (file)
@@ -78,12 +78,12 @@ public:
 };
 
 static const std::array<AmuseDefinition, 13> amuse_info = { {
+    { BaseitemKey{ ItemKindType::FLAVOR_SKELETON }, 5, AmusementFlagType::NOTHING },
     { BaseitemKey{ ItemKindType::BOTTLE }, 5, AmusementFlagType::NOTHING },
     { BaseitemKey{ ItemKindType::JUNK }, 3, AmusementFlagType::MULTIPLE },
     { BaseitemKey{ ItemKindType::SPIKE }, 10, AmusementFlagType::PILE },
     { BaseitemKey{ ItemKindType::STATUE }, 15, AmusementFlagType::NOTHING },
     { BaseitemKey{ ItemKindType::MONSTER_REMAINS }, 15, AmusementFlagType::NO_UNIQUE },
-    { BaseitemKey{ ItemKindType::FLAVOR_SKELETON }, 10, AmusementFlagType::NO_UNIQUE },
     { BaseitemKey{ ItemKindType::FIGURINE }, 10, AmusementFlagType::NO_UNIQUE },
     { BaseitemKey{ ItemKindType::PARCHMENT }, 1, AmusementFlagType::NOTHING },
     { FixedArtifactId::TAIKOBO, 3, AmusementFlagType::NOTHING },