mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-23 00:27:16 +00:00
Experimenting with packets
This commit is contained in:
1 parent
250d0cc903
commit
dbbe6b5a91
9 files changed
+59
-148
No files matched your search
+8
-6
@@ -674,12 +674,14 @@ void command_incstat(Client* c, const Seperator* sep){
|
||||
}
|
||||
|
||||
void command_resetaa(Client* c,const Seperator *sep){
|
||||
if(c->GetTarget()!=0 && c->GetTarget()->IsClient()){
|
||||
c->GetTarget()->CastToClient()->ResetAA();
|
||||
c->Message(13,"Successfully reset %s's AAs", c->GetTarget()->GetName());
|
||||
}
|
||||
else
|
||||
c->Message(0,"Usage: Target a client and use #resetaa to reset the AA data in their Profile.");
|
||||
c->SendAlternateAdvancement(1, 1);
|
||||
c->SendAlternateAdvancement(2, 1);
|
||||
//if(c->GetTarget()!=0 && c->GetTarget()->IsClient()){
|
||||
// c->GetTarget()->CastToClient()->ResetAA();
|
||||
// c->Message(13,"Successfully reset %s's AAs", c->GetTarget()->GetName());
|
||||
//}
|
||||
//else
|
||||
// c->Message(0,"Usage: Target a client and use #resetaa to reset the AA data in their Profile.");
|
||||
}
|
||||
|
||||
void command_help(Client *c, const Seperator *sep)
|
||||
|
||||
Reference in new issue
Block a user