Skip to content

Commit

Permalink
Merge pull request #204 from alexbatalov/fix-vmonowir
Browse files Browse the repository at this point in the history
Fix critical failure check
  • Loading branch information
NovaRain authored Dec 23, 2023
2 parents d7eea83 + b1f7303 commit d30e4a5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ procedure use_skill_on_p_proc
begin
if ((map_var(7) == 1) and (map_var(13) == 0)) then begin
script_overrides;
if (dude_skill_success(SKILL_TRAPS, -20)) then begin
test := roll_vs_skill(dude_obj, SKILL_TRAPS, -20);
if (is_success(test)) then begin
display_msg(message_str(SCRIPT_VMONOWIR, 104));
set_map_var(13, 1);
move_to(self_obj, 7000, 0);
Expand Down

0 comments on commit d30e4a5

Please sign in to comment.