problem with a verb routine

Hugo programming discussion.
Hugo By Example:
Roody Yogurt's Hugo Blog:

Moderators: Ice Cream Jonsey, AArdvark

Posts: 4
Joined: Thu Feb 18, 2016 8:45 am
Location: Out There in Internet Land

problem with a verb routine

Post by misterman83 » Thu Apr 28, 2016 12:45 pm

I'm working on a tactical combat system, slightly based on Necrotic Drift. For some reason, my DoHit replacement isn't working: Either the verb messages aren't printing, or the verb routine isn't running when I type "attack x".
The verb routine calls an external routine to calculate attack and damage rolls, as well as deal damage.
The external routine calls yet another external routine to print combat messages.
I don't think the problem lies in the external routine: it works perfectly when enemies attack the player, but not for when the player attacks an enemy.
Any help is appreciated.
Official promoter of the
Hugo Interactive Fiction Language
a Better TADS than TADS;
a Better Inform than Inform