Opened 2 years ago

Last modified 2 years ago

#9646 new defect

SCI: QFG1: Running on ice till health points depletion won't kill hero.

Reported by: OmerMor Owned by:
Priority: normal Component: Engine: SCI
Keywords: Cc:
Game: Quest for Glory 1

Description

First reported here:
https://twitter.com/darthhelmet86/status/796973009558913024

Appears to be a script bug.

When in room 58, and type "run", the hero will fall and his HP will decrease by 1 point. This can be repeated, but will never cause the hero to die.

Change History (4)

comment:1 Changed 2 years ago by OmerMor

This is reproducible in QFG1VGA as well.

comment:2 Changed 2 years ago by OmerMor

When typing "run" the ego will be assigned with the script egoRuns.
egoRuns::changeState calls proc0_36 in script 0 which is deducing damage from the hero's HP.
This procedure returns TRUE if the hero is still alive, but the return value is never observed in egoRuns.

comment:3 Changed 2 years ago by OmerMor

In QFG1VGA, it's pretty much the same.
The main difference is that the procedure that takes the damage is proc814_19 in script 814.

comment:4 Changed 2 years ago by OmerMor

Here's the content of the twitter report, by DarthWizard86:

Uhhhh still alive have 0 health. Running on the ice takes off 1 health till you have 0 then you don't die?
https://pbs.twimg.com/media/Cw9quUGUoAAUWBl.jpg

Note: See TracTickets for help on using tickets.