]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/gameserv.cpp
Updated TODO, Changelog, and setup gameserv to be less dependent on 12 levels
[irc/gameservirc.git] / gameserv / gameserv.cpp
index c50d9d276aa05acd1d0e67adbabdded660407a37..fbe8ded0ad05bed0f1798580d369fb22f9aaf822 100644 (file)
@@ -2739,12 +2739,13 @@ void do_dragon(char *u)
        notice(s_GameServ, u, "You're dead. Wait until tomorrow to see your master!");
        return;
     }
-    else if (user->stats->level < 12)
+    else if (user->stats->level < REALLEVELS)
     {
        notice(s_GameServ, u, "You fool! Only those strong enough "\
                "to vanquish any foe should DARE fight the dragon!");
        notice(s_GameServ, u, "To put it in terms you can understand: "\
-               "You are too weak. You must be Level 12!");
+               "You are too weak. You must be Level %d!", REALLEVELS);
+       return;
     }
 
     updateTS(user->stats);
@@ -2852,9 +2853,10 @@ void do_master(char *u)
            case 11:
                need = 20000000;
                break;
-           case 12:
+
+           case REALLEVELS:
                need = p->exp + 1;
-               notice(s_GameServ, u, "You are at level 12. You are the master. What's left? The DRAGON!");
+               notice(s_GameServ, u, "You are at level %d. You are the master. What's left? The DRAGON!", REALLEVELS);
                return;
                break;
            default: