Currently, when you kill something, it looks like this (More or less. My prompt is changed, but the idea stays the same):
You clench your hand into a fist and swing it at test person.
H:100/100 M:100/100 [- ]
The last bit of spark fades from test person's eye as it slumps to the ground.
H:100/100 M:100/100 [b ]
Your fist lands squarely in test person's face.
H:100/100 M:100/100 [b ]
To fix this and make the messages display in the correct order, change weapon_hit in events/weapon_combat.rb to this:
def weapon_hit(event, player, room)
Combat.delete_event event
player.balance = true
event.target.balance = true
player.info.in_combat = false
event.target.info.in_combat = false
room.out_event event
Combat.inflict_damage player, event.target, 10 #temporary set amount of damage for now
end
As you can see, all you need to do is switch the order of the two bottom lines, so that room.out_event event is before combat.inflict_damage. Do the same for events/martial_combat.rb, and you're good to go.