Code: Select all
PSPELL pSpell = GetSpellByName("Levitation");Code: Select all
sprintf(szOutput,"GetSpellByNameLevel: %i",pSpell->Level[GetCharInfo()->pSpawn->Class-1]);
WriteChatColor(szOutput,USERCOLOR_DEFAULT);Code: Select all
pSpell->Level[GetCharInfo()->pSpawn->Class-1]Code: Select all
pSpell = &(*((PSPELLMGR)pSpellMgr)->Spells[dwSpellID]);

