aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/kyra/engine/magic_eob.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/kyra/engine/magic_eob.cpp b/engines/kyra/engine/magic_eob.cpp
index d443b85c18..814e92d1f4 100644
--- a/engines/kyra/engine/magic_eob.cpp
+++ b/engines/kyra/engine/magic_eob.cpp
@@ -997,7 +997,10 @@ bool EoBCoreEngine::spellCallback_end_iceStorm(void *obj) {
}
void EoBCoreEngine::spellCallback_start_stoneSkin() {
- _characters[_activeSpellCharId].effectsRemainder[1] = (getMageLevel(_openBookChar) >> 1) + rollDice(1, 4);
+ if (_magicStrings9[0] && _characters[_activeSpellCharId].effectsRemainder[1])
+ _txt->printMessage(_magicStrings9[0], -1, _characters[_activeSpellCharId].name);
+ else
+ _characters[_activeSpellCharId].effectsRemainder[1] = (getMageLevel(_openBookChar) >> 1) + rollDice(1, 4);
}
void EoBCoreEngine::spellCallback_start_removeCurse() {