Dude, I managed to grab something from a different command to prevent the use of this skill on a certain map!
Here!
/*==========================================
* Auras personalizadas
*------------------------------------------*/
int atcommand_aura(const int fd, struct map_session_data* sd, const char* command, const char* message)
{
struct map_session_data *pl_sd = 0;
int type = 0;
if(sd->bl.m == map_mapname2mapid("payg_cas04")) {
clif_displaymessage(fd, "@aura is not allowed on this map.");
return 0;
}
if( !pc_get_group_level(sd) && DIFF_TICK(gettick(),sd->canlog_tick) < 10000 ) {
clif_displaymessage(fd,"@aura cannot be issued since you were into battle recently");
return -1;
}
if (!message || !*message || sscanf(message, "%d %[^\n]", &type, atcmd_player_name) < 2)
{
if (!message || !*message || sscanf(message, "%d", &type) < 1)
{
clif_displaymessage(fd, "Please, enter at least an option (usage: @aura ).");
return -1;
}
atcmd_player_name[0] = 0;
pl_sd = sd;
}
if( pl_sd != sd )
{
if ((pl_sd = map_nick2sd(atcmd_player_name)) == NULL)
return -1;
}
sprintf(atcmd_output, "Current Aura: %d", pl_sd->status.aura);
clif_displaymessage(fd, atcmd_output);
pl_sd->status.aura = type;
pc_setglobalreg(pl_sd,"USERAURA",type);
pc_setpos(pl_sd, pl_sd->mapindex, pl_sd->bl.x, pl_sd->bl.y, 3);
return 0;
}