Originally Posted by
object
Ok... that's going to be a problem for you.
When you logout for the night, and log in the next day, you keep the spells that you've learned, right? That is because it is stored on the server.
If you think about how they would have designed the "Player" Class, it may look something like this:
CWoW_Object
---->CWoW_Unit
-------->CWoW_Player
------------->CWoW_PlayerRace
----------------->CWoW_PlayerClass
The CWoW_PlayerClass has a base class of CWoW_Race. Thats because every Race has it's certain available Player Classes. (i.e. You can't have an Tauren Rogue, or an Undead Shaman.)
For each PlayerClass, you have a SpellClass object. This class defines what spells you can perform (and what you can learn).
The spells are enumerated:
enum MAGE_CLASS_SPELLS
{
....
PYROBLAST
...
}
enum ROGUE_CLASS_SPELLS
{
...
BLIND
...
}
... so if you say you've leared Pyroblast on your Rogue, you've only "enabled" Blind. You can send all of the packets you like... you can't change how it is designed.