#16194 closed defect (fixed)

WAGE: Fighting seems quite broken

Reported by: eriktorbjorn Owned by: eriktorbjorn
Priority: normal Component: Engine: Wage
Version: Keywords:
Cc: Game:

Description (last modified by eriktorbjorn)

I've tried a couple of different WAGE games, and I have yet to find a single fight that doesn't end as soon as you or your enemy get hit once. This is not the case if I try the games in a Mac emulator.

Also, your experience (as printed by the "status" command) seems to go down, not up.

Change History (4)

comment:1 by eriktorbjorn, 11 months ago

Description: modified (diff)

comment:2 by eriktorbjorn, 11 months ago

I see there are quite a number of "TODO" comments in combat.cpp.

It seems that the victim's PHYS_HIT_CUR always seems to be 0, so any amount of damage will be deadly. I have a hunch that combat.cpp is using _userVariables where it should be using _statVariables.

That could explain why experience goes down, too.

Last edited 11 months ago by eriktorbjorn (previous) (diff)

comment:3 by Torbjörn Andersson <eriktorbjorn@…>, 11 months ago

In 649b78c9:

WAGE: Make combat less broken (bug #16194)

This works on the assumption that the PHYS_ and SPIR_ constants should
only be used with _statVariables, not _userVariables. Combats no longer
end on the first hit, and your experience goes up instead of down.

comment:4 by bluegr, 11 months ago

Owner: set to eriktorbjorn
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.