View Single Post

Default 

November 10th, 2013, 00:53
mana bug tracked down.

the player was losing mana when an enemy cast a spell in high level combat. First I tracked it down to invisibility, then I saw that it was double dipping. Both the enemy and the player were losing mana.

When I checked before and after mana, surprisingly the players mana was already -8 lower than it should be - this wasn't displayed on the screen. I already confirmed the player's mana was where it should be in their spell method so something was happening in between.

I tracked hte problem down to the enmy version of the shield spell. There was a check on it but the player was being sent as the casting object instead of the enemy. A simple fix and a test and its working great.

Now to get Toff a new beta…

Developer of The Wizard's Grave Android game. Discussion Thread:
http://www.rpgwatch.com/forums/showthread.php?t=22520
Lucky Day is offline

Lucky Day

Lucky Day's Avatar
Daywatch

#135

Join Date: Oct 2006
Location: The Uncanny Valley
Posts: 3,199