[Scummvm-tracker] [ScummVM :: Bugs] #16256: WAGE: Missing combat features

ScummVM :: Bugs trac at scummvm.org
Wed Oct 1 06:59:50 UTC 2025


#16256: WAGE: Missing combat features
-------------------------+--------------------------
Reporter:  eriktorbjorn  |      Owner:  (none)
    Type:  defect        |     Status:  new
Priority:  normal        |  Component:  Engine: Wage
 Version:                |   Keywords:
    Game:                |
-------------------------+--------------------------
 There are a number of TODO items sprinkled throughout the engine code, but
 with combat being such a central mechanic in many World Builder games I
 think a few of them warrant this bug report.

 This bit in `attackHit()`:

 {{{
                 if (armor != NULL) {
                         // TODO: Absorb some damage.
                         snprintf(buf, 512, "%s%s's %s weakens the impact
 of %s%s's %s.",
                                 victim->getDefiniteArticle(true),
 victim->_name.c_str(),
 victim->_armor[targetIndex]->_name.c_str(),
                                 attacker->getDefiniteArticle(false),
 attacker->_name.c_str(),
                                 weapon->_name.c_str());
                         appendText(buf);
                         decrementUses(armor);
                 } else {
                         snprintf(buf, 512, "A hit to the %s!",
 targets[targetIndex]);
                         appendText(buf);
                 }
 }}}

 This bit, also from `attackHit()`:

 {{{
         if (causesSpiritualDamage) {
                 /* TODO */
                 warning("TODO: Spiritual damage");
         }
 }}}

 And this one from `performHealingMagic()`:

 {{{
                 // TODO: what if enemy heals himself?
 }}}
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/16256>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list