else if (!(battle = find(nick)))
{
notice(s_GameServ, u, "You can't attack %s while they aren't playing!", nick);
+ return;
}
else if (!is_playing(ni))
{
notice(s_GameServ, u, "You are not playing!");
+ return;
}
/*
* Offline fighting not implemented yet.
notice(s_GameServ, u, "You are dead. Wait until tomorrow to fight others!");
return;
}
+ else if (player_fight(battle))
+ {
+ notice(s_GameServ, u, "%s is fighting %s already!", battle->stats->name, battle->stats->battle->stats->name);
+ return;
+ }
+ else if (is_fighting(battle))
+ {
+ notice(s_GameServ, u, "%s is fighting %s already!", battle->stats->name, battle->stats->fight->name);
+ return;
+ }
else if (is_playing(ni) && is_playing(battle) && stricmp(ni->stats->name, battle->stats->name) != 0)
{
// Set your battle pointer to the other player