|
@@ -11569,7 +11569,8 @@ void Commands::Command_AchievementAdd(Client* client, Seperator* sep) {
|
|
|
else {
|
|
|
client->SimpleMessage(CHANNEL_COLOR_YELLOW, "Usage: /useability {spell_id} [spell_tier]");
|
|
|
}
|
|
|
- master_aa_list.DisplayAA(client, 0, 0);
|
|
|
+ if(client->GetVersion() > 561)
|
|
|
+ master_aa_list.DisplayAA(client, 0, 0);
|
|
|
}
|
|
|
|
|
|
void Commands::Command_Editor(Client* client, Seperator* sep) {
|
|
@@ -11657,7 +11658,8 @@ void Commands::Switch_AA_Profile(Client* client, Seperator* sep) {
|
|
|
if (sep && sep->IsSet(0)) {
|
|
|
string type = sep->arg[0];
|
|
|
int8 newtemplate = atoul(sep->arg[1]);
|
|
|
- master_aa_list.DisplayAA(client, newtemplate, 1);
|
|
|
+ if(client->GetVersion() > 561)
|
|
|
+ master_aa_list.DisplayAA(client, newtemplate, 1);
|
|
|
}
|
|
|
}
|
|
|
void Commands::Get_AA_Xml(Client* client, Seperator* sep) {
|
|
@@ -11724,7 +11726,8 @@ void Commands::Add_AA(Client* client, Seperator* sep) {
|
|
|
else {
|
|
|
client->SimpleMessage(CHANNEL_COLOR_YELLOW, "Usage: /useability {spell_id} [spell_tier]");
|
|
|
}
|
|
|
- master_aa_list.DisplayAA(client, 0, 0);
|
|
|
+ if(client->GetVersion() > 561)
|
|
|
+ master_aa_list.DisplayAA(client, 0, 0);
|
|
|
}
|
|
|
void Commands::Commit_AA_Profile(Client* client, Seperator* sep) {
|
|
|
PrintSep(sep, "Commit_AA_Profile");
|
|
@@ -11736,7 +11739,8 @@ void Commands::Commit_AA_Profile(Client* client, Seperator* sep) {
|
|
|
void Commands::Begin_AA_Profile(Client* client, Seperator* sep) {
|
|
|
PrintSep(sep, "Begin_AA_Profile");
|
|
|
if (sep && sep->IsSet(0)) {
|
|
|
- master_aa_list.DisplayAA(client, 100, 2);
|
|
|
+ if(client->GetVersion() > 561)
|
|
|
+ master_aa_list.DisplayAA(client, 100, 2);
|
|
|
}
|
|
|
}
|
|
|
void Commands::Back_AA(Client* client, Seperator* sep) {
|
|
@@ -11754,8 +11758,9 @@ void Commands::Remove_AA(Client* client, Seperator* sep) {
|
|
|
|
|
|
void Commands::Cancel_AA_Profile(Client* client, Seperator* sep) {
|
|
|
MasterAAList master_aa_list;
|
|
|
- PrintSep(sep, "Cancel_AA_Profile");
|
|
|
- master_aa_list.DisplayAA(client, 0, 0);
|
|
|
+ PrintSep(sep, "Cancel_AA_Profile");
|
|
|
+ if(client->GetVersion() > 561)
|
|
|
+ master_aa_list.DisplayAA(client, 0, 0);
|
|
|
|
|
|
}
|
|
|
void Commands::Save_AA_Profile(Client* client, Seperator* sep) {
|