"Chain Saw", "Poison Sword", "Flame Sword", "Earth Hammer",
"Light Saber", "Masamune", "Mystical Sword"};
-char *armors[WNA] = { "Nothing", "Clothes", "Leather Vest", "Chain Mail", "Plate Armor",
+char *armors[WNA] = { "Birthday Suit", "Clothes", "Leather Vest", "Chain Mail", "Plate Armor",
"Full Body Armor", "Magic Mail", "Graphite Suit", "Steel Suit",
"Force Field", "Armor of Light", "Mythril Vest", "DemiGod Armor",
"Hades' Cloak", "Dragon Scales", "Adamantium"};
int prices[WNA - 1] = {200, 1000, 3000, 10000, 30000, 100000, 150000, 200000, 400000,
1000000, 4000000, 10000000, 40000000, 100000000, 400000000};
-int webonus[WNA] = {1, 10, 15, 25, 35, 45, 65, 85, 125, 185, 255, 355, 505, 805, 1205, 1805};
-int arbonus[WNA] = {1, 2, 4, 10, 15, 25, 35, 50, 75, 100, 150, 225, 300, 400, 600, 1000};
+int webonus[WNA] = {2, 10, 15, 25, 35, 45, 65, 85, 125, 185, 255, 355, 505, 805, 1205, 1805};
+int arbonus[WNA] = {2, 3, 5, 10, 15, 25, 35, 50, 75, 100, 150, 225, 300, 400, 600, 1000};
int hpbonus[11] = {10, 15, 20, 30, 50, 75, 125, 185, 250, 350, 550};
int strbonus[11] = {5, 7, 10, 12, 20, 35, 50, 75, 110, 150, 200};
if (isUsePrivmsg())
strcpy(commanduse, "P");
else
- strcpy(commanduse, "N");
+ strcpy(commanduse, "O");
#else
if (isUsePrivmsg())
{
if (!is_playing(user))
return false;
- else
- return user->stats->battle != NULL;
+ else if (user->stats->battle != NULL)
+ {
+ return user->stats->battle->stats != NULL;
+ }
+ return false;
}
bool master_fight(char *u)
notice(s_GameServ, u, "You must be playing to use the bank!");
return;
}
-
+ else if (is_fighting(user))
+ {
+ notice(s_GameServ, u, "You can't go to the bank during a fight!");
+ return;
+ }
updateTS(user->stats);
if (stricmp(cmd, "BALANCE") == 0)
{