summaryrefslogtreecommitdiff
path: root/src/resources/monsterdb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/monsterdb.cpp')
-rw-r--r--src/resources/monsterdb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/monsterdb.cpp b/src/resources/monsterdb.cpp
index d6aa53809..2bbd51d5a 100644
--- a/src/resources/monsterdb.cpp
+++ b/src/resources/monsterdb.cpp
@@ -191,7 +191,7 @@ void MonsterDB::load()
{
const int id = XML::getProperty(spriteNode, "id", 0);
const int effectId = XML::getProperty(
- spriteNode, "effect-id", -1);
+ spriteNode, "effect-id", paths.getIntValue("effectId"));
int hitEffectId = XML::getProperty(spriteNode,
"hit-effect-id", paths.getIntValue("hitEffectId"));
int criticalHitEffectId = XML::getProperty(spriteNode,