PDA

View Full Version : Rebel Spells


sonicintuition
02-06-2005, 03:01 AM
I looked to see if this was already posted but I looked through a few pages and was surprised that nobody reported it. The issue I am having is that when a player uses #scribespells 70 on themselves, it works, but when they zone they lose the ability to cast any spells from 66-70, and they disappear from the spellbook. They then have to use the command again to obtain the 66-70 spells.

I'm using 6.0 DR2 with the PEQ_Kunark_RC1 database.

I appologize if this has already been posted. If it has, I am blind.

Regards,
SI

cavedude
02-06-2005, 03:09 AM
Make sure your character is level 70 (i'm sure you already got that) but also make sure the level cap in features.h is set to 70 before compiling it.

Bigpull
02-06-2005, 03:22 AM
client_packet.cpp line ~6077

old:

|| spells[m_pp.spell_book[bk]].classes[GetClass()-1] < 1
|| spells[m_pp.spell_book[bk]].classes[GetClass()-1] > 65

New:

|| (
(
spells[m_pp.spell_book[bk]].classes[GetClass()-1] < 1
|| spells[m_pp.spell_book[bk]].classes[GetClass()-1] > 70
)
// Don't nuke spells from quest troupe, they may be setup for /becomenpc
&& Admin() < 80
)

fathernitwit
02-06-2005, 08:02 AM
nice fix, I will add this to my code, which will hit CVS some day (: