Junior Spellweaver
- Joined
- Apr 15, 2007
- Messages
- 154
- Reaction score
- 0
Well i was thinking about it and i think it may be useful since when you use the !ap command you have to re log to get the ap.
Add this to the #include tags
Find
And replace it with
Add this to the #include tags
Code:
#include "LevelsPacket.h"
Find
Code:
else if(strcmp(command, "ap") == 0){
if(strlen(next_token) > 0) {
player->setAp(player->getAp()+strval(strtok_s(NULL, " ",&next_token)));
}
}
And replace it with
Code:
else if(strcmp(command, "ap") == 0){
if(strlen(next_token) > 0) {
player->setAp(player->getAp()+strval(strtok_s(NULL, " ",&next_token)));
LevelsPacket::changeStat(player, 0x100 + 0x4000, player->getLuk());
}
}