Paradigm MUD Forums

Bug Reports => Engine Related Bug Reports => Fixed => Topic started by: Ian on May 16, 2006, 09:56:19 PM

Title: Multiple spell casting
Post by: Ian on May 16, 2006, 09:56:19 PM
For some reason, very very occasionally (that I see anyway) I manage to cast my combat spell twice in one round.

[HP=572/MA=658]:exor Tyrannosaur
*Combat Off*
*Combat Engaged*

Valentine pounds Tyrannosaur for 23 damage!
Valentine pounds Tyrannosaur for 33 damage!
Valentine swings at at Tyrannosaur!
Valentine pounds Tyrannosaur for 28 damage!
Valentine critically pounds Tyrannosaur for 110 damage!

You cast exorcism on Tyrannosaur for 525 damage!
You cast exorcism on Tyrannosaur for 576 damage!
Thesifer casts Dancing fire on Tyrannosaur for 244 damage!
Thesifer casts Dancing fire on Tyrannosaur for 153 damage!
Thesifer casts Dancing fire on Tyrannosaur for 269 damage!
Thesifer casts Dancing fire on Tyrannosaur for 360 damage!
Thesifer casts Dancing fire on Tyrannosaur for 306 damage!
Thesifer casts Dancing fire on Tyrannosaur for 319 damage!
Thesifer casts Dancing fire on Tyrannosaur for 243 damage!
Thesifer casts Dancing fire on Tyrannosaur for 340 damage!
Thesifer casts Dancing fire on Tyrannosaur for 179 damage!
Thesifer casts Dancing fire on Tyrannosaur for 203 damage!
Thesifer casts Dancing fire on Tyrannosaur for 390 damage!
Thesifer casts Dancing fire on Tyrannosaur for 351 damage!
Thesifer casts Dancing fire on Tyrannosaur for 362 damage!
The lizard stumbles to the ground with a loud crash!
Tyrannosaur falls to the ground dead.
You gain 216645000 experience.
*Combat Off*


Don't know why.  And also I can still cast multiple healing (instant) spells between rounds.  Without breaking combat.


Edited for Valentine's pride.
Title: Re: Multiple spell casting
Post by: Valentine on May 16, 2006, 10:07:40 PM
You know, you could've left my paltry swings out...I'm just saying...? :-*

Edit: Heh...that's much better.
Title: Re: Multiple spell casting
Post by: Ian on May 16, 2006, 11:14:32 PM
There it goes again:

Sneaking...
Ancient Coliseum, Arena
Also here: prismatic dragon, white dragon serpent, green dragon serpent.
Obvious exits: east, closed gate up
[HP=672/MA=658]:bs prismatic dragon
*Combat Engaged*
You surprise pound prismatic dragon for 474 damage!
The prismatic dragon lashes at you with its tail, but you dodge!
The white dragon serpent breathes a cone of frost on you for 73 damage!
The green dragon serpent snaps at you, but you dodge out of the way!
[HP=599/MA=658]:exor prismatic dragon
*Combat Off*
*Combat Engaged*
You cast exorcism on prismatic dragon for 458 damage!
You cast exorcism on prismatic dragon for 441 damage!
145 gold drop to the ground.
The prismatic dragon shrieks in fury, and dies in a flare of light!
prismatic dragon falls to the ground dead.
You gain 112500 experience.
*Combat Off*
Title: Re: Multiple spell casting
Post by: Vitoc on May 17, 2006, 11:34:25 AM
Quote from: Ian on May 16, 2006, 11:14:32 PM
There it goes again:

Sneaking...
Ancient Coliseum, Arena
Also here: prismatic dragon, white dragon serpent, green dragon serpent.
Obvious exits: east, closed gate up
[HP=672/MA=658]:bs prismatic dragon
*Combat Engaged*
You surprise pound prismatic dragon for 474 damage!
The prismatic dragon lashes at you with its tail, but you dodge!
The white dragon serpent breathes a cone of frost on you for 73 damage!
The green dragon serpent snaps at you, but you dodge out of the way!
[HP=599/MA=658]:exor prismatic dragon
*Combat Off*
*Combat Engaged*
You cast exorcism on prismatic dragon for 458 damage!
You cast exorcism on prismatic dragon for 441 damage!
145 gold drop to the ground.
The prismatic dragon shrieks in fury, and dies in a flare of light!
prismatic dragon falls to the ground dead.
You gain 112500 experience.
*Combat Off*

Hmm... I wonder if exorcism uses less than 1000 energy?  I'm at work right now so can't check.  Or maybe I'm not having the backstab use 1000 energy as well?
Title: Re: Multiple spell casting
Post by: The Crazy Animal on May 17, 2006, 07:52:33 PM
It uses 1000 energy just looked it up.
Title: Re: Multiple spell casting
Post by: Vitoc on May 18, 2006, 07:14:39 PM
Well, I'll be damned.

I could have sworn instant spells had energy requirements as well, but they appear to all be zeros.? I'm thinking about making is so if you have less than 1000 energy, you can't cast a spell, and making all instant spells take a low amount of energy (like 5-100) or something.?

You know how when you cast a spell, sometimes your next combat round you actually swing less?? What does everyone think?
Title: Re: Multiple spell casting
Post by: Ian on May 18, 2006, 11:10:12 PM
So if I understand correctly, you'll start the round with <1000 energy.? Won't that affect people (like me) trying to cast 1000 energy spells (like exorcism)?

Edit: I left out the word affect.  It made the whole sentence awful to look at.
Title: Re: Multiple spell casting
Post by: Vitoc on May 19, 2006, 12:11:19 AM
Quote from: Ian on May 18, 2006, 11:10:12 PM
So if I understand correctly, you'll start the round with <1000 energy.? Won't that people (like me) trying to cast 1000 energy spells (like exorcism)?
Crap, you're right.  The fix I implemented should fix it, except it won't affect # of swings per round at all.
Title: Re: Multiple spell casting
Post by: DeathCow on May 19, 2006, 03:19:48 AM
Umm, just make it so you can only use 1 'general' spell.
Title: Re: Multiple spell casting
Post by: Locke Cole on May 19, 2006, 05:51:45 AM
Quote from: DeathCow on May 19, 2006, 03:19:48 AMUmm, just make it so you can only use 1 'general' spell.

...per round.
Title: Re: Multiple spell casting
Post by: Ian on May 30, 2006, 08:12:42 AM
This issue is still present:

[HP=3273]:fire Tyrannosaur
*Combat Engaged*
Valentine casts unholy force on Tyrannosaur for 52 damage!
Valentine casts unholy force on Tyrannosaur for 66 damage!
Thesifer casts Dancing fire on Tyrannosaur for 355 damage!
etc
etc


And yes, Unholy force does require 1000 energy.
Title: Re: Multiple spell casting
Post by: Vitoc on May 30, 2006, 12:31:56 PM
Quote from: Ian on May 30, 2006, 08:12:42 AM
This issue is still present:

[HP=3273]:fire Tyrannosaur
*Combat Engaged*
Valentine casts unholy force on Tyrannosaur for 52 damage!
Valentine casts unholy force on Tyrannosaur for 66 damage!
Thesifer casts Dancing fire on Tyrannosaur for 355 damage!
etc
etc


And yes, Unholy force does require 1000 energy.
Is there any noticable patern of when it happens?  I know it doesn't happen on all spells all the time, although I'll admit the only spell in my spellbook is magic missile, but the point is I haven't seen it fire twice yet.
Title: Re: Multiple spell casting
Post by: Ian on May 30, 2006, 08:13:04 PM
I'll keep watching out, but I haven't seen a pattern so far.  Plus it's harder to test now I'm a witchy ;)