[Scummvm-tracker] [ScummVM :: Bugs] #12100: ULTIMA4: Karma only increments once (was: Ultima IV: karma only increments once)
ScummVM :: Bugs
trac at scummvm.org
Tue Feb 2 05:20:33 UTC 2021
#12100: ULTIMA4: Karma only increments once
-------------------------------------+-------------------------------------
Reporter: bliznik | Owner: dreammaster
Type: defect | Status: closed
Priority: normal | Component: Engine: Ultima
Version: | Resolution: invalid
Keywords: Ultima IV karma honesty | Game: Ultima IV: Quest of
reagent | the Avatar
-------------------------------------+-------------------------------------
Changes (by dreammaster):
* owner: (none) => dreammaster
* status: new => closed
* resolution: => invalid
* summary: Ultima IV: karma only increments once => ULTIMA4: Karma only
increments once
Comment:
This actually seems to be working as intended, at least according to the
logic inherited from xu4. Several actions are flagged as "time limited":
giving to beggars, being humble, hawkwind, meditation, or not cheating
reagents. For those time limited actions, it uses the following to
determine whether to discard the change(s):
if (timeLimited) {
if (((_saveGame->_moves / 16) >= 0x10000) ||
(((_saveGame->_moves / 16) & 0xFFFF) != _saveGame->_lastVirtue))
_saveGame->_lastVirtue = (_saveGame->_moves / 16)
& 0xFFFF;
else
return;
}
If I'm reading this correctly, it means that for a second karma change to
count, you simply have to walk at least 16 steps. Then you can talk to
them again and get the karma to count.
--
Ticket URL: <https://bugs.scummvm.org/ticket/12100#comment:1>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list