aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/script/ai
diff options
context:
space:
mode:
authorDavid Fioramonti2019-05-29 17:28:55 -0700
committerdafioram2019-06-02 12:10:57 -0400
commit349c7487ee253455692881d5f63d22ef69843990 (patch)
tree1ccbf6c0a4ae319e5945b8f8f0c96f07b0f52665 /engines/bladerunner/script/ai
parent7e15168447e8c5266c84f400e05326b53968bbdd (diff)
downloadscummvm-rg350-349c7487ee253455692881d5f63d22ef69843990.tar.gz
scummvm-rg350-349c7487ee253455692881d5f63d22ef69843990.tar.bz2
scummvm-rg350-349c7487ee253455692881d5f63d22ef69843990.zip
BLADERUNNER: Make the Moraji encounter easier on easy
This extending the bomb duration by 10secs while Moraji is chained. Additionally, the blast radius is decreased so that the player may survive closer. All of this only happens on the uncut version when playing on easy.
Diffstat (limited to 'engines/bladerunner/script/ai')
-rw-r--r--engines/bladerunner/script/ai/moraji.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/bladerunner/script/ai/moraji.cpp b/engines/bladerunner/script/ai/moraji.cpp
index 63998aa351..207a78f6b4 100644
--- a/engines/bladerunner/script/ai/moraji.cpp
+++ b/engines/bladerunner/script/ai/moraji.cpp
@@ -47,7 +47,10 @@ bool AIScriptMoraji::Update() {
&& !Game_Flag_Query(kFlagDR05BombActivated)
) {
AI_Countdown_Timer_Reset(kActorMoraji, kActorTimerAIScriptCustomTask2);
- AI_Countdown_Timer_Start(kActorMoraji, kActorTimerAIScriptCustomTask2, 30);
+ int bombTime = 30; // Original value
+ if (_vm->_cutContent && Query_Difficulty_Level() == kGameDifficultyEasy)
+ bombTime += 10; // Extend the bomb timer duration when in Dermo Design (where Moraji is chained)
+ AI_Countdown_Timer_Start(kActorMoraji, kActorTimerAIScriptCustomTask2, bombTime);
Game_Flag_Set(kFlagDR05BombActivated);
return true;
}