(Fixed) Current Spell Stacking Bug

Started by The Crazy Animal, May 02, 2007, 08:32:22 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

May 02, 2007, 08:32:22 PM Last Edit: May 03, 2007, 01:43:33 AM by The Crazy Animal
I figured even though we are well aware of this I'd fill out a new bug report for its latest behavior following the partial fix for it that has gone in.

Current problems with spell stacking:

The current behavior seems to be this:
It refreshes the spells timer and reapplys any stat changes. Then when the spell does wear off only one instance of the spells stat changes is removed from the player. In effect the player then keeps all stacked instances of that spells stat changes.

How it should be behaving:

Each time the same spell is cast over itself it should do the following:
Kill the first instance of the spell and remove all stat changes attributed to it without showing a end message. Then show the new instance's cast message and apply the stat changes attributed again.

Quote from: The Crazy Animal on May 02, 2007, 08:32:22 PM
I figured even though we are well aware of this I'd fill out a new bug report for its latest behavior following the partial fix for it that has gone in.

Current problems with spell stacking:

The current behavior seems to be this:
It refreshes the spells timer and reapplys any stat changes. Then when the spell does wear off only one instance of the spells stat changes is removed from the player. In effect the player then keeps all stacked instances of that spells stat changes.

How it should be behaving:

Each time the same spell is cast over itself it should do the following:
Kill the first instance of the spell and remove all stat changes attributed to it without showing a end message. Then show the new instance's cast message and apply the stat changes attributed again.
Fixed in latest version (will deploy in a few)


TGS v1.0 (coming soon)

Ok current fixed worked but the fix showed something else that was broken:

Armour Class:  58/6 
You feel powerful!
You feel protected!

The effects of ethereal shield wear off!
[HP=414/MA=190]: (Resting) st

Armour Class:  55/0
You feel powerful!

This is what the spell should be:

base formula AC + 3 (0.5*lvl), DR+1, Dr+1 for 60+(2*lvl) rounds

LVL Gain Cap: 18 -- (@lvl 18): AC +12, DR +1, DR +1, for 114 rounds

How the spell acted:
3 AC and 0 Dr however when it wore off it took 3 ac and 6 dr.

secondary AC/DR should have been +12/+2 I'm fairly sure...
So the AC 0 coded in abilities isn't taking the .5*lvl and DR is messed up...

I did a second time and it took me down to -5 ac from 0 so I'm thinking something else must have happened too....