Combat bug - Backstabing/Sneaking/Combat ending

Started by The Crazy Animal, January 04, 2008, 12:07:50 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

January 04, 2008, 12:07:50 AM Last Edit: January 04, 2008, 12:10:04 AM by The Crazy Animal
[HP=67/MA=16]:bs g
The small stone golem swings at Vitoc with its massive fists!
A cold wind blows across the rubble and a small frost golem stands!
Vitoc moves to attack small stone golem.
*Combat Engaged*
You swing at at small stone golem!
The small stone golem swings at you with its massive fists!
The small frost golem swings at Vitoc with its icey fists!
Vitoc skewers small stone golem for 8 damage!
Vitoc moves to attack small stone golem.
You surprise impale small stone golem for 31 damage!
The small golem collapses and breaks into pieces.
You gain 5 experience.
*Combat Off*
The small frost golem swings at Vitoc with its icey fists!
Vitoc moves to attack small frost golem.
[HP=67/MA=16]:d
Sneaking...

January 04, 2008, 11:27:00 AM #1 Last Edit: January 04, 2008, 03:56:19 PM by Vitoc
Oops.

I took a stab at fixing it this morning and deployed the new build.

This bug was introduced because I consolidated most of the attack logic into one place.  It had been spread out across every attack type (normal, bs, punch, kick, jumpkick).  Previously, everytime I made a change to the combat logic I had to change it in 5 places.  I decided to finally fix it so I only had to add the HitSpell logic in one place, plus it was the right thing to do.


TGS v1.0 (coming soon)

Looks like its fixed (good job) errr I mean bad job I liked that bug :) hehe