Added ability to manipulate disciplines for perl and lua. Also ability to remove spells from spell bar with spellID.

This commit is contained in:
Natedog2012 committed 2015-12-14 01:22:59 -08:00
1 parent ee644f7b3e
commit baaf5801ff
6 files changed
+139

No files matched your search

+10
View File
@@ -4910,6 +4910,16 @@ void Client::UnmemSpell(int slot, bool update_client)
}
}
void Client::UnmemSpellBySpellID(int32 spell_id)
{
for(int i = 0; i < MAX_PP_MEMSPELL; i++) {
if(m_pp.mem_spells[i] == spell_id) {
UnmemSpell(i, true);
break;
}
}
}
void Client::UnmemSpellAll(bool update_client)
{
int i;