Skip to content

Commit 10140ed

Browse files
authored
Merge pull request #379 from phobos2077/bugfix/fcsuze-suicidal
fcsuze: don't attempt to fight monsters, just stay in SAVE_ME_TILE
2 parents 0ed03e0 + f47ec13 commit 10140ed

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

scripts_src/sanfran/fcsuze.ssl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,12 @@ procedure combat_p_proc begin
106106
if (local_var(LVAR_Follow_Dude)) then begin
107107
script_overrides;
108108
Follow_Dude(1, 2)
109+
end else if (self_elevation == 1 and fixed_param == COMBAT_SUBTYPE_TURN) then begin
110+
script_overrides;
111+
ndebug("Stays in safe spot");
112+
if (self_tile != SAVE_ME_TILE) then begin
113+
animate_run_to_tile(SAVE_ME_TILE);
114+
end
109115
end
110116
end
111117

0 commit comments

Comments
 (0)