Hello, just taking the time to point out a bug I've found with the Bracers of Mystery item for bards. This item grants bonus spells, along with other goodies, but if you re-equip it, your spell slots start to empty. In fact, if you re-equip this item several times, your spell slots will end up completely drained. Both myself and another player have verified this problem. I don't know if this trouble carries over into other items that grant bonus spell slots, but I think it would bear investigating. Not a major problem, just an annoyance.
Thanks for all the effort put into NS, as always.
Problem with Bracers of Mystery
-
- Pk Bait
- Posts: 68
- Joined: Thu Oct 13, 2005 1:34 pm
-
- Forum Moderator
- Posts: 1291
- Joined: Fri Feb 25, 2005 5:14 pm
-
- Pk Bait
- Posts: 68
- Joined: Thu Oct 13, 2005 1:34 pm
-
- Forum Moderator
- Posts: 136
- Joined: Wed Sep 07, 2005 7:38 am
-
- Looking for group
- Posts: 156
- Joined: Thu Dec 29, 2005 11:31 am
Why would something like this not work?
(Pardon my language hack--I simplified it for readability's sake.)
OnEquip:
if(current # spells known (nSpell) > 0)
nSpell++;
OnUnEquip:
if(nSpell > 0)
nSpell--;
This way you get an extra spell when you put the item on, and lose it when you take it off. You can't gain a spell by putting the item on and casting, then taking the item off since nSpell gets decremented when you cast. Plus, you don't get the bonus slot if you have no spells, so no exploit there. The only time you will lose the slot is if you only have one spell left, but it should work for the other cases (I think). Not a complete solution, but it should fix the most common scenario (rest, equip Epic Minstrel Gloves, sing a little ditty, equip Mystery gaunts). This assumes that you don't have to rest to get the bonus spell slot(s), unlike a uses/day feature.
I'm not all that familiar with how spell slots are handled (hopefully I will be soon! ), so it's entirely possible that I'm missing something obvious. I know you devs are all smart dudes, so no insult intended. Just tryin' to help...
(Pardon my language hack--I simplified it for readability's sake.)
OnEquip:
if(current # spells known (nSpell) > 0)
nSpell++;
OnUnEquip:
if(nSpell > 0)
nSpell--;
This way you get an extra spell when you put the item on, and lose it when you take it off. You can't gain a spell by putting the item on and casting, then taking the item off since nSpell gets decremented when you cast. Plus, you don't get the bonus slot if you have no spells, so no exploit there. The only time you will lose the slot is if you only have one spell left, but it should work for the other cases (I think). Not a complete solution, but it should fix the most common scenario (rest, equip Epic Minstrel Gloves, sing a little ditty, equip Mystery gaunts). This assumes that you don't have to rest to get the bonus spell slot(s), unlike a uses/day feature.
I'm not all that familiar with how spell slots are handled (hopefully I will be soon! ), so it's entirely possible that I'm missing something obvious. I know you devs are all smart dudes, so no insult intended. Just tryin' to help...
Charon * [TC]
Charon * (MW)
-D- Charon *
(formerly) Midwest
Charon * (MW)
-D- Charon *
(formerly) Midwest
-
- Noob
- Posts: 34
- Joined: Thu Jan 19, 2006 8:34 am
I have a pair of Bracers of Mystery on both East and on Pacific, but they aren't exactly the same -- the Pacific pair has an additional buff you can cast x-times-a-day (I forget what it is called, the other two are Vitality and some offensive spell). I wasn't sure if the bracers had been changed at one stage, and the slight difference is intentional?
edit: sorry might have been my newbiness -- the other 1/day buff was Prayer and I was just reading in another forum that Clerics can somehow add this to items? Which I was not aware of ... doh)
edit: sorry might have been my newbiness -- the other 1/day buff was Prayer and I was just reading in another forum that Clerics can somehow add this to items? Which I was not aware of ... doh)